Quick Reference Guide

Table 58. Creating Virtual Disks
Mandatory Options
and Arguments
Optional Parameters Valid Parameters
Arguments
Description
-ctrl -ac=cvd -
c=id -ad=
ch:targ,ch:tar
g
,
... [or
ch:targ:encl,.
..]
or
controller
action=
createvdisk
controllerid=
id
adisk=
channel:target
: lun,...
channel:target
: lun,...
[or
channel:target
:
enclosure,...]
NA NA
Creates a virtual disk comprising the
properties supplied. This option combination is
mandatory.
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.
Example:
A:>raidcfg -ctrl -ac=cvd
-c=2
-ad=1:4,1:8 -r=1 -ssz=32
-cp=d -rp=nra
-wp=wt -fd=1:1
RAIDCFG Command successful!
-cp or
cachepolicy
d, c or d, e
Sets the cache policy or disk cache policy.
The valid arguments for cache policy are:.
d — (Direct I/O) Reads are not
buffered in cache memory.
c — (Cache I/O) All reads are
buffered in cache memory.
NOTE: Cache policy is not supported on
controllers that do not have a battery.
Valid arguments for disk cache policy are:
d — Disable
e — Enable
The -cp option is optional and can be added
to the command line in any order after the
mandatory option combination.
-fd or
failoverdrive
ch:targ, ch:targ, ... or
ch:targ:lun,... or
ch:targ:enc
channel:target, or
channel:target:l un, or
channel:target:
enclosure
Sets the failover drive for the virtual disk. The
-fd option is optional and can be added to
the command line in any order after the
mandatory option combination.
NOTE: From DTK 2.4 onwards, the -fd
option creates dedicated hot spares
instead of global hot spares. For
information about setting global hot
spares, see Assigning, Unassigning, And
Listing Global Hot Spares.
For SCSI controllers, the value of LUN should
always be 0.
118