- Oracle Server CLI Tools for Oracle Solaris 11.4 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 spare
subcommand requires one of the options shown in the following table.Short Option Long Option Description -d
--disks
This mandatory option specifies a list of disk ID numbers, separated by commas. If the
-r
option is not used, the disks are added as global spares.-r
--raid
Only 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