CLI Guide
Table 333. Creating Virtual Disks
Mandatory Options
and Arguments
Optional Parameters Valid Parameters
Arguments
Description
-ctrl -ac=cvd -
c=id -ad=
ch:targ,ch:targ,
... [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.
NOTE: Create a bootable virtual disk only
from the disk drives of slot 0-3 of the system.
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 or e
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.
For SAS controllers, the value of enclosure can be
non-zero, in which case you must specify values
for channel, target, and enclosure.
-r or -raid
0, 1, 5, 6, 10, 50, 60
Sets the RAID type or level for the virtual disk.
NOTE: If this option is not specified for any
RAID controller, RAID 0 is taken as the
default.
The valid arguments are:
● 0 — RAID 0 uses data striping, which is
writing data in equal-sized segments across
the array disks. RAID 0 does not provide data
redundancy.
RAIDCFG 171