Remove a Spare Disk or a RAID Volume

The remove spare subcommand removes disks global spares or as dedicated spares on a RAID volume.

  1. Do one of the following:
    • To remove two disks as global spares, type:

      # raidconfig remove spare -d disk,disk

      For example:

      # raidconfig remove spare -d c1d0,c1d1

    • To remove two disks as dedicated spares on a RAID volume, type:

      # raidconfig remove spare -d disk,disk -r raidvolume

      For example:

      # raidconfig remove spare -d c1d0,c1d1 -r c1r0

      This subcommand requires the options shown in the following table.

      Short Option Long Option Description

      -d

      --disks

      Specifies disks to remove. Disk ID numbers are separated by commas. If the -r option is not defined, the disks are removed as global spares.

      -r

      --raid

      If a RAID volume ID is specified, the disks should be removed as dedicated spares from this RAID volume.