Apple Xsan 2 User Manual Page 150

  • Download
  • Add to my manuals
  • Print
  • Page
    / 165
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 149
15 0 Appendix C Use command-line tools
Option Description
-l
Copy the targets of symbolic links, not the links.
-n
Do not apply the command to subfolders.
-p prefix
Only copy les with names that start with the
specied prex.
prefix – characters to match with the
beginning of the le name
-s
Allocate on storage pool block boundaries.
-t
Specify the number of copy threads.
-v
Report all information about the le copied.
-x
Retain original le permissions in the copy.
-y
Retain ownership and group information in
the copy. This works only if the root user is
performing the copy.
-z
Retain original modication times in the copy.
Examples
Copy the le 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 les as they are copied:
$ cvcp -vxy data1 /datasets/data1
Perform a similar copy as above, but only copy les with names that begin “jul”:
$ cvcp -vxy -p jul data1 /datasets/data1/july
Check or repair a volume (cvfsck)
Use the cvfsck command to check or repair an Xsan volume.
$ sudo cvfsck [options] volume
Parameter Description
options
See cvfsck command options below.
volume
The name of the volume to check or repair.
Page view 149
1 2 ... 145 146 147 148 149 150 151 152 153 154 155 ... 164 165

Comments to this Manuals

No comments