- Oracle Hardware Management Pack 2.4 Server CLI Tools User's Guide
- Using raidconfig to Configure RAID
- Adding and Removing Disks and RAID Volumes
- Add Spare Disks
Add Spare Disks
The add spare subcommand adds global or dedicated spare disks.
-
To create two global spares using the specified disks, type:
#raidconfig add spare -d disk,diskFor example:
#raidconfig add spare -d c1d0,c1d1 -
To create two dedicated spares on a RAID volume using the specified disks, type:
#raidconfig add spare -d disk,disk -r raidvolumeFor example:
#raidconfig add spare -d c1d0,c1d1 -r c1r0The
add sparesubcommand requires one of the options shown in the following table.Short Option Long Option Description -d--disksThis mandatory option specifies a list of disk ID numbers, separated by commas. If the
-roption is not used, the disks are added as global spares.-r--raidOnly used when working with dedicated spares. If a RAID Volume ID is specified, the spares should be added as dedicated spares for this RAID Volume. Note that some controllers do not support dedicated spares and the command might fail.
Parent topic: Adding and Removing Disks and RAID Volumes