Go to main content

Oracle® Server CLI Tools for Oracle Solaris 11.3 User's Guide

Exit Print View

Updated: April 2018
 
 

Add a Disk to a RAID Configuration

The add disk subcommand adds a specified disk to a RAID configuration.

Only certain RAID levels, such as RAID 5 or 6, allow disks to be added to their configuration when in a non-degraded (healthy) state. Only RAID levels that support redundancy allow disks to be added.

  • To add a specific disk to a RAID volume, type:

    # raidconfig add disk -d disk -r raidvolume

    For example:

    # raidconfig add disk -d c0d2 -r c0r1


    Note -  If you list the disk's properties after adding a disk, the RAID ID is not updated to reflect that it has been added to a RAID volume until the add process is complete.

    The add disk subcommand requires the options shown in the following table.

    Short Option
    Long Option
    Description
    –d
    –-disks
    Specifies the list of disks that you want to add to the RAID volume.
    –r
    –-raid
    Specifies the RAID volume ID number to which you want to add the disk.