Apple Xsan 1.1 User Manual
Page 109

Appendix B
Using the Command Line
109
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.
For help, see the
cvadmin
man page or type
$ sudo cvadmin -e help
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 [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.