Labeling luns (cvlabel), Labeling luns ( cvlabel ) – Apple Xsan 1.0 User Manual
Page 90
90
Appendix B
Using the Command Line
Labeling LUNs (cvlabel)
You can use the
cvlabel
command to initialize LUNs so they can be added to storage
pools.
To list available LUNs:
$ cvlabel -l [-s] [-v]
To prepare label template file:
$ cvlabel -c
To label a LUN:
$ cvlabel [-v] [-f] [labelfile]
To remove the existing label from a LUN:
$ cvlabel -u lun
Parameter
Description
-l
List available LUNs.
-s
Display device serial numbers.
-v
Show progress display.
-c
Create a label template file.
-f
Relabels LUNs that are already labeled.
labelfile
An optional file containing information for each label. You can use
the -c option to create this file, or use this file as a template:
/Library/Filesystems/Xsan/examples
/cvlabels.example
lun
The LUN identified by disk name, for example /dev/disk4.
-u
Unlabel the specified volume.
LL0192.book Page 90 Thursday, July 29, 2004 5:20 PM