CLI Guide

Table 367. Quick Reference To RAIDCFG Commands (continued)
Purpose Command Description
To list all the disks attached
to a particular controller
raidcfg adisk -
c=slotid
Lists all the disks attached to the controller. The slot ID is
obtained from the first command.
Record the drive location of the disks for later reference.
To create a virtual disk with
all the default settings
raidcfg -ctrl -ac=cvd
-c=slotid -ad=
x:y,x:y,...
Creates a virtual disk of maximum available size for type RAID
0. RAID 0 is the default.
The slot ID in <-c=slotid> and the array disks in <-
ad=...> are obtained from the first two commands.
To create a virtual disk of a
certain size with all the
default settings
raidcfg -ctrl -ac=cvd
-c=slotid -ad=
x:y,x:y,... -sz=5GB
Creates a virtual disk of 5 GB size for type RAID 0. RAID 0 is
the default.
The slot ID in <-c=slotid> and the array disks in <-
ad=...> are obtained from the first two commands.
To create a virtual disk of a
certain size and make it RAID
1
raidcfg -ctrl -ac=cvd
-c=slotid -ad=
x:y,x:y -sz=5GB -r=1
Creates a virtual disk of 5 GB size for type RAID 1.
The slot ID in <-c=slotid> and the array disks in <-
ad=...> are obtained from the first two commands.
To create a virtual disk of a
certain size and make it RAID
5
raidcfg -ctrl -ac=cvd
-c=slotid -ad=
x:y,x:y,x:y,... -
sz=5GB -r=5
Creates a virtual disk of 5 GB size for type RAID 5.
The slot ID in <-c=slotid> and the array disks in <-
ad=...> are obtained from the first two commands.
To create a virtual disk of a
certain size and make it RAID
1 with a hot spare
raidcfg -ctrl -ac=cvd
-c=slotid -ad=
x:y,x:y -sz=5GB -r=1
-fd=x:y
Creates a virtual disk of 5 GB size for type RAID 1.
The slot ID in <-c=slotid> and the array disks in <-
ad=...> are obtained from the first two commands.
The option <-fd> stands for failover drive and requires the
drive location of the drive you want the dedicated hot spare to
be in. The drive location is obtained from the second
command.
To create a virtual disk of
RAID 10
raidcfg -ctrl -ac=cvd
-c=slotid -ad=
x:y,x:y,x:y,x:y -r=10
Creates a virtual disk of max size for type RAID 10.
The slot ID in <-c=slotid> and the array disks in <-
ad=...> are obtained from the first two commands. The
drive location is obtained from the second command.
To create a virtual disk of
RAID 50
raidcfg -ctrl -ac=cvd
-c=slotid -ad=
x:y,x:y,x:y,x:y ,x:y,
x:y -r=50 -sp=x
Creates a virtual disk of maximum size for type RAID 50.
The slot ID in <-c=slotid> and the array disks in <-
ad=...> are obtained from the first two commands. The
drive location is obtained from the second command.
To create a virtual disk of
RAID 6
raidcfg -ctrl -ac=cvd
-c=slotid -ad=
x:y,x:y,x:y,x:y ,x:y,
x:y -r=6 -sp=x
Creates a virtual disk of maximum size for type RAID 6.
The slot ID in <-c=slotid> and the array disks in <-
ad=...> are obtained from the first two commands. The
drive location is obtained from the second command.
NOTE: The minimum number of drives required to create a
virtual disk of RAID 6 is 4.
To create a virtual disk of
RAID 60
raidcfg -ctrl -ac=cvd
-c=slotid -ad=
x:y,x:y,x:y,x:y ,x:y,
x:y -r=60 -sp=x
Creates a virtual disk of maximum size for type RAID 60.
The slot ID in <-c=slotid> and the array disks in <-
ad=...> are obtained from the first two commands. The
drive location is obtained from the second command.
RAIDCFG 199