Apple Xsan 1.4 User Manual
Page 165
Appendix B
Using the Command Line
165
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 [cmdparam...“]
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>. If you include parameters
(cmdparam) with the command, enclose the command and its
parameters in a pair of quotes. Available commands are listed
under “cvadmin Commands,” below.
cmdparam
Values required by the command.