CLI Guide
Table 330. RAIDCFG Short and Long Format Options (continued)
Option Valid Arguments Short Description Mandatory or Optional
-cp or
cachepolicy
d or e
Specifies the cache policy for reads on
a specified virtual disk or disk cache
policy.
Optional.
See Creating Virtual Disks
for specific usage
information.
-ctrl or
controller
NA Displays a list of the supported RAID
controllers in the system, along with
select property information.
Mandatory, must be typed
in the correct order.
See Enumerating RAID
Controllers for specific
usage information.
-envc or
envcommand
<string>
Sets a user-defined environmental
variable (<string>) to the value returned
from a function call.
See Setting Environment
Variables for specific 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 specific 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
Specifies 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 specific usage
information.
-i <filename>
Reads the RAID configuration
information from the given .ini filename
and creates the RAID configurations on
the specified controllers.
Mandatory.
See Miscellaneous Options
for specific usage
information.
-l or logfile
<filename>
Logs command line output to a file.
Optional.
See Miscellaneous Options
for specific usage
information.
-o <filename>
Reads the RAID configurations from all
available controllers and write these
configurations in the given .ini
filename.
Mandatory.
See RAID Replication
Options for specific 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 specified for RAID, 0is
taken as the default level.
Optional.
See Creating Virtual Disks
for specific usage
information.
166 RAIDCFG