CLI Guide
Option Valid Arguments Short Description Mandatory or Optional
-envc or
envcommand
<string>
Sets a user-dened environmental
variable (<string>) to the value returned
from a function call.
See Setting Environment
Variables for specic 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 specic 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
Species 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
specic usage information.
-i <filename>
Reads the RAID conguration information
from the given .ini lename and creates
the RAID congurations on the specied
controllers.
Mandatory.
See Miscellaneous Options
for specic usage
information.
-l or logfile
<filename>
Logs command line output to a le.
Optional.
See Miscellaneous Options
for specic usage
information.
-o <filename>
Reads the RAID congurations from all
available controllers and write these
congurations in the given .ini lename.
Mandatory.
See RAID Replication
Options for specic 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 specied for RAID, 0is taken
as the default level.
Optional.
See Creating Virtual Disks for
specic usage information.
-rp or
readpolicy
ra, ara, nra, rc, nrc
Sets the read policy for the virtual disk.
Optional.
See Creating Virtual Disks for
specic usage information.
-se or
setenvironmen
t
NA
Sets a user-dened 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 specic usage
information.
153