Apple Xsan User Manual Page 118

  • Download
  • Add to my manuals
  • Print
  • Page
    / 129
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 117
11 8 Appendix B Using the Command Line
Creating and Preallocating a File (cvmkle)
Use the cvmkfile command to allocate space for a le on an Xsan volume.
$ cvmkfile [-k affinity] [-p] [-s] [-w] [-z] size(k|m|g) filename
Parameter Description
-k affinity
Allocate space for the le on one of the storage
pools with the specied anity tag.
affinity – the anity tag thats assigned to
the storage pools where you want the folder’s
contents to be stored
You can use the
show long command of the
cvadmin tool to see a storage pool’s anity tag.
-p
Force future extensions of the le to be aligned
on block boundaries.
-s
Force the le allocation to align with block
boundaries.
-w
Set le size as indicated by size.
-z
Set the contents of the le to zeros.
size(k|m|g)
A number specifying the amount of space to
allocate to the le.
size – a number
k – kilobytes
m – megabytes
g – gigabytes
filename
The path to and name of the le to allocate.
Example
Allocate 2 GB of space for the le data1” on the storage pool datasets”:
$ cvmkfile -k datasets 2g data1
Page view 117
1 2 ... 113 114 115 116 117 118 119 120 121 122 123 ... 128 129

Comments to this Manuals

No comments