Copying Files or Folders (cvcp)
command to copy files or folders to or from an Xsan volume.
$ cvcp [options] source destination
See “cvcp Command Options” below.
The file or folder (directory) to be copied.
Where the copy is created.
cvcp Command Options
Turn off preallocation.
Set the number of I/O buffers to use.
– the number of buffers to use for the
Set the copy buffer size.
– the buffer size (bytes)
Copy the targets of symbolic links, not the links.
Do not apply command to subfolders.
Only copy files with names that start with the
– characters to match with the
beginning of the file name
Allocate on storage pool block boundaries.
Specify the number of copy threads.
Report all information about file copied.
Retain original file permissions in the copy.
Retain ownership and group information in
the copy. This works only if the root user is
performing the copy.
Retain original modification times in the copy.
Copy the file friday to /datasets/data1/july/:
$ cvcp friday /datasets/data1/july
Copy the folder /data1/ and all subfolders to /datasets/data1/, retaining all permissions
and ownerships and displaying files as they are copied:
Using the Command Line
$ cvcp -vxy data1 /datasets/data1
Perform a similar copy as above, but only copy files with names that begin “jul”:
$ cvcp -vxy -p jul data1 /datasets/data1/july