ADIC 601356 Manuale Utente

Pagina di 192
Command Reference
601356 Rev A
Introduction
1-3
Intr
oduction
Options 
Common to 
all 
Commands
Seven options are available on every command that is supported 
from the command line. These parameters are:
Parameter
Description
-I
Indicates command line options are to be read 
from 
stdin
. The
 
-I
 
option provides the 
capability for the client to enter command 
options on the command line, in a text file, or a 
combination of both. When the -I option is 
specified, command options are first read from 
the command line. VolServ then reads any 
options from 
stdin
Example: cat 
optionfile
 > vsmount -I -u 
-p 
drvpool2 
instructs VolServ to first read 
the -u and -p options entered on the 
command line and then to read the options 
from 
stdin
 (the contents of 
optionfile
). If 
optionfile
 contains “-c 
class1
”, the 
command, as processed by VolServ, will look 
like “vsmount -u -p 
drvpool2
 -c 
class1
-h
Requests help for the entered command. The 
Help option returns the usage for the entered 
command, a copyright notice, and the version 
number of the CLI software. The Help option 
takes precedence over any other option 
entered on a command. When the Help option 
is specified, no command line processing is 
performed. An exit code of 0 is returned to the 
client when the Help option is specified.
-H 
hostname
Host name of the VolServ server. The default 
host name is the host name of the computer 
where the CLI command is issued.