Quick Reference Guide
188 RAIDCFG
Quick Reference to RAIDCFG Commands
Table 4-15 lists the basic RAIDCFG commands.
Table 4-15. Basic RAIDCFG Commands
Purpose Command Description
To list all the RAID
controllers in a system
raidcfg -ctrl Lists all the RAID controllers in
the system.
Note the slot ID of the controllers.
You will need it for all the other
commands.
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.
Note the drive location of the
disks. You will need this
information later.
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 5GB 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 5GB size
for type RAID 1.
The slot ID in <-c=slotid> and
the array disks in <-ad=...> are
obtained from the first two
commands.