User's Manual
194 Using the Storage Management Service
Example Syntax
In this example, you want to unassign array disk 3 on connector 0 of controller 1 as a global hot spare. On
a SAS controller, the array disk resides in enclosure 2.
Example for SCSI, SATA, and ATA Controllers:
To unassign the array disk described in this example as a global hot spare, enter:
omconfig storage adisk action=assignglobalhotspare controller=1
adisk=0:3 assign=no
Example for SAS Controllers:
To unassign the array disk described in this example as a global hot spare, enter:
omconfig storage adisk action=assignglobalhotspare controller=1
adisk=0:2:3 assign=no
omconfig Rebuild Array Disk
Use the following omconfig command syntax to rebuild a failed array disk. Rebuilding a disk may take
several hours. If you need to cancel the rebuild, use the Cancel Rebuild task. For more information, see
the online help.
Complete Syntax
omconfig storage adisk action=rebuild controller=id adisk=<ADISKID>
where id is the controller ID. The <ADISK> variable specifies the array disk.
To obtain these values, enter omreport storage controller to display the controller IDs and then enter
omreport storage adisk controller=ID to display the IDs for the array disks attached to the controller.
Example Syntax
In this example, you want to rebuild array disk 3 on connector 0 of controller 1. On a SAS controller, the
array disk resides in enclosure 2.
Example for SCSI, SATA, and ATA Controllers:
To rebuild the array disk described in this example, enter:
omconfig storage adisk action=rebuild controller=1 adisk=0:3
Example for SAS Controllers:
To rebuild the array disk described in this example, enter:
omconfig storage adisk action=rebuild controller=1 adisk=0:2:3