Apple Xsan 1.0 User Manual
Page 85

Appendix B
Using the Command Line
85
Viewing or Changing Volume and Storage Pool Settings
(cvadmin)
You can use the
cvadmin
tool to perform a variety of information and setup tasks
related to Xsan volumes.
To enter interactive mode:
$ sudo cvadmin
To execute commands from a file:
$ sudo cvadmin [-H host] [-F volume] -f cmdfile
To execute a single command and return to the shell prompt:
$ sudo cvadmin [-H host] [-F volume] -e command
Commands available in the
cvadmin
tool are listed in the following table.
Parameter
Description
-H host
The metadata controller that is hosting the volume. If not provided,
the local computer is assumed.
host
– the IP address or DNS name of a metadata controller other
than the one on which you are logged in.
-F volume
The volume to be the active (“selected”) volume in cvadmin.
volume
– the name of an Xsan volume
-f cmdfile
Read commands from the specified file.
cmdfile
– the name of a text file containing cvadmin commands
-e command
Execute the specified command and return to the shell prompt.
Otherwise, cvadmin continues to run in interactive mode with the
prompt Xsanadmin>. Available commands are listed under
“cvadmin Commands,” below.
LL0192.book Page 85 Thursday, July 29, 2004 5:20 PM