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

Exit Print View

Updated: November 2015
 
 

Adding or Removing a Partial Disk

The raidconfig add and raidconfig remove features are supported for partial disks. If a disk contains multiple RAID volumes, they can be added and removed. For information on using the raidconfig add and remove commands, see Adding and Removing Disks and RAID Volumes.


Note -  When the disk supports multiple RAID volumes, only use the first RAID volume in the add and remove commands.

An example of removing a disk is shown below:

raidconfig remove disk -r=c0r4 -d=c0d0

Removing the following disk(s) from RAID c0r4:
Disk c0d0 (controller 0 slot 0)  [y/n]? y
Successfully removed disk from RAID 
raidconfig list all
CONTROLLER c0
=============
Manufacturer   Model     F/W Version    RAID Volumes   Disks
------------------------------------------------------------
LSI Logic      0x0079    2.130.353-1803 6              7

RAID Volumes
============
ID     Name            Device            Status    Num Disks Level   Size (GiB)
---------------------------------------------------------------------------------
c0r0   0               c3t0d0p0          OK        1         0       558
c0r1                   c3t1d0p0          OK        1         0       278
c0r2                   c3t2d0p0          OK        1         0       136
c0r3                   c3t3d0p0          OK        1         0       70
c0r4                   c3t4d0p0          DEGRADED  2         1       50
c0r5                   c3t5d0p0          DEGRADED  2         1       100

DISKS In Use
============
ID      Chassis   Slot   RAID ID   Status    Type   Media Spare      Size (GiB)
---------------------------------------------------------------------------------
c0d1    0         1      c0r4      OK        sas    HDD    -          50
c0d1    0         1      c0r5      OK        sas    HDD    -          100
c0d3    0         3      c0r0      OK        sas    HDD    -          558
c0d4    0         4      c0r1      OK        sas    HDD    -          278
c0d5    0         6      c0r3      OK        sas    HDD    -          70
c0d6    0         7      c0r2      OK        sas    HDD    -          136

DISKS Available
===============
ID      Chassis   Slot   RAID ID   Status    Type   Media Spare      Size (GiB)
---------------------------------------------------------------------------------
c0d0    0         0      -         OK        sas    HDD   -          279
c0d2    0         2      -         OK        sas    HDD   -          279

The following is an example of adding a disk:

raidconfig add disk -r=c0r4 -d=c0d2
Adding the following disk(s) to RAID c0r4:
Disk c0d2 (controller 0 slot 2)  [y/n]? y
Successfully added disk to RAID
raidconfig list all

CONTROLLER c0
=============
Manufacturer   Model     F/W Version    RAID Volumes   Disks
------------------------------------------------------------
LSI Logic      0x0079    2.130.353-1803 6              7

RAID Volumes
============
ID     Name            Device            Status    Num Disks Level   Size (GiB)
---------------------------------------------------------------------------------
c0r0   0               c3t0d0p0          OK        1    0            558
c0r1                   c3t1d0p0          OK        1    0            278
c0r2                   c3t2d0p0          OK        1    0            136
c0r3                   c3t3d0p0          OK        1    0            70
c0r4                   c3t4d0p0          DEGRADED  2    1            50
c0r5                   c3t5d0p0          DEGRADED  2    1            100

DISKS In Use
============
ID      Chassis   Slot   RAID ID   Status    Type   Media Spare      Size (GiB)
---------------------------------------------------------------------------------
c0d1    0         1      c0r4      OK        sas    HDD   -          50
c0d1    0         1      c0r5      OK        sas    HDD   -          100
c0d2    0         2      c0r4      INIT      sas    HDD   -          50
c0d2    0         2      c0r5      INIT      sas    HDD   -          100
c0d3    0         3      c0r0      OK        sas    HDD   -          558
c0d4    0         4      c0r1      OK        sas    HDD   -          278
c0d5    0         6      c0r3      OK        sas    HDD   -          70
c0d6    0         7      c0r2      OK        sas    HDD   -          136

DISKS Available
===============
ID      Chassis   Slot   RAID ID   Status    Type   Media Spare      Size (GiB)
---------------------------------------------------------------------------------
c0d0    0         0      -         OK        sas    HDD   -          279