CLI Guide

Table 370. Quick Reference To RAIDCFG Commands
Purpose Command Description
To list all the RAID controllers in
a system
raidcfg -ctrl
Lists all the RAID controllers in the system.
Record the slot ID of the controllers for later reference.
Example:
A:>raidcfg -ctrl -ac=sghs -c=2 -ad=0:1
RAIDCFG Command successful!
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 rst 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 rst 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 rst 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 rst 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 rst 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 rst 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 rst 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 rst two commands. The drive location is
obtained from the second command.
218 RAIDCFG