CLI Guide
Creating Virtual Disks
The following table lists the RAIDCFG options, parameters, and predened arguments for creating virtual disks.
NOTE: If you create a virtual disk on Windows PE, reboot the system.
Table 336. 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.
190 RAIDCFG