Go to main content
Oracle® Server CLI Tools User's Guide

Exit Print View

Updated: August 2016
 
 

Add Spare Disks

The add spare subcommand adds global or dedicated spare disks.

  1. To create two global spares using the specified disks, type:

    raidconfig add spare -d disk,disk

    For example:

    raidconfig add spare -d c1d0,c1d1

  2. To create two dedicated spares on a RAID volume using the specified disks, type:

    raidconfig add spare -d disk,disk -r raidvolume

    For example:

    raidconfig add spare -d c1d0,c1d1 -r c1r0

    The 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.