Apple Xsan Bedienungsanleitung Seite 117

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 129
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 116
Appendix B Using the Command Line 11 7
To list available LUNs:
$ sudo cvlabel -l [-s] [-v]
To list current LUN and label information you can paste into a label le:
$ sudo cvlabel -c
To label a LUN:
$ sudo cvlabel [-v] [-f] [labelfile]
To remove the label from a LUN:
$ sudo cvlabel -u lun
Parameter Description
-l
List available LUNs.
-s
Display device serial numbers.
-v
Show progress display.
-c
Create a label template le.
-f
Relabels LUNs that are labeled.
labelfile
An optional le containing information for each
label. You can use the -c option to create this le.
lun
The LUN identied by disk name—for example:
/dev/disk4.
-u
Unlabel the specied LUN.
Creating a Folder and Assigning an Anity (cvmkdir)
Use the cvmkdir command to create a folder (directory) and assign it an anity tag so
that its contents are stored on storage pools with the same anity tag.
$ cvmkdir -k affinity folder
Parameter Description
-k affinity
Species the anity tag to be associated with the
folder.
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.
You can use
-k "" to remove the folder’s anity
tag.
folder
The path to and name of the folder.
Seitenansicht 116
1 2 ... 112 113 114 115 116 117 118 119 120 121 122 ... 128 129

Kommentare zu diesen Handbüchern

Keine Kommentare