User's Manual
Using the Storage Management Service 171
omconfig Unassign Global Hot Spare
Use the following omconfig command syntax to unassign a physical disk as a global hot spare.
Complete Syntax
omconfig storage pdisk action=assignglobalhotspare controller=id
pdisk=<PDISKID> assign=no
where id is the controller ID. The <PDISK> variable specifies the physical disk.
To obtain these values, enter omreport storage controller to display the controller IDs and then enter
omreport storage pdisk controller=ID to display the IDs for the physical disks attached to the controller.
Example Syntax
In this example, you want to unassign physical disk 3 on connector 0 of controller 1 as a global hot spare.
On a SAS controller, the physical disk resides in enclosure 2.
Example for SCSI, SATA, and ATA Controllers:
To unassign the physical disk described in this example as a global hot spare, enter:
omconfig storage pdisk action=assignglobalhotspare controller=1
pdisk=0:3 assign=no
Example for SAS Controllers:
To unassign the physical disk described in this example as a global hot spare, enter:
omconfig storage pdisk action=assignglobalhotspare controller=1
pdisk=0:2:3 assign=no
omconfig Rebuild Physical Disk
Use the following omconfig command syntax to rebuild a failed physical 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 pdisk action=rebuild controller=id pdisk=<PDISKID>
where id is the controller ID. The <PDISK> variable specifies the physical disk.
To obtain these values, enter omreport storage controller to display the controller IDs and then enter
omreport storage pdisk controller=ID to display the IDs for the physical disks attached to the controller.
Example Syntax
In this example, you want to rebuild physical disk 3 on connector 0 of controller 1. On a SAS controller,
the physical disk resides in enclosure 2.