CLI Guide

Option Valid Arguments Short Description Mandatory or Optional
-envc or
envcommand
<string>
Sets a user-dened environmental
variable (<string>) to the value returned
from a function call.
See Setting Environment
Variables for specic usage
information.
-envn or
envname
<string>
Sets the environment variable (<string>)
that equates to the value returned from a
function call.
See Setting Environment
Variables for specic usage
information.
-fd or
failoverdrive
ch:targ, ch:targ, ...
or ch:targ:lun,...
or ch:targ:enc
channel:target, or
channel:target:lun,
or
channel:target:enclosure
Species the location of the failover drive
in an array.
For SCSI controllers, the value of LUN
should always be 0.
For SAS controllers, the value of
enclosure can be non-zero, in which case
you must specify values for
channel,
target, and enclosure.
NOTE: From DTK 2.4 onwards, the
-fd option creates dedicated hot
spares instead of global hot
spares. To set global hot spares,
see Assigning, Unassigning, And
Listing Global Hot Spares.
Optional.
See Creating Virtual Disks for
specic usage information.
-i <filename>
Reads the RAID conguration information
from the given .ini lename and creates
the RAID congurations on the specied
controllers.
Mandatory.
See Miscellaneous Options
for specic usage
information.
-l or logfile
<filename>
Logs command line output to a le.
Optional.
See Miscellaneous Options
for specic usage
information.
-o <filename>
Reads the RAID congurations from all
available controllers and write these
congurations in the given .ini lename.
Mandatory.
See RAID Replication
Options for specic usage
information.
-r or raid <valid RAID level
number>
Sets the RAID level for the array.
Valid RAID values are 0, 1, 5, 10,
50.
If no value is specied for RAID, 0is taken
as the default level.
Optional.
See Creating Virtual Disks for
specic usage information.
-rp or
readpolicy
ra, ara, nra, rc, nrc
Sets the read policy for the virtual disk.
Optional.
See Creating Virtual Disks for
specic usage information.
-se or
setenvironmen
t
NA
Sets a user-dened environment variable
to the value returned from the function
call. The function calls are:
getcontrollerslots,
getfirmware,
getcontrollertype,
getadisks, getadiskcount,
getfreeadisks,
getfreeadiskcount,
getfreeadisksize, and
gethotspares.
Mandatory.
See Setting Environment
Variables for specic usage
information.
153