Command Reference

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 -Ioption 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 -Ioption is

 

specified, command options are first read from

 

the command line. VolServ then reads any

 

options from stdin.

 

Example: cat optionfile > vsmount -I -u

 

-pdrvpool2 instructs VolServ to first read

 

the -uand -poptions entered on the

 

command line and then to read the options

 

from stdin (the contents of optionfile). If

 

optionfile contains -cclass1”, 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.

 

 

-Hhostname

Host name of the VolServ server. The default

 

host name is the host name of the computer

 

where the CLI command is issued.

 

 

Introduction

601356 Rev A

Introduction

1-3

Page 15
Image 15
ADIC 601356 manual Options Common to all Commands, Parameter Description, Example cat optionfile vsmount -I -u