Using the Storage Management Service 173
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 assign 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 assign the physical disk described in this example as a global hot spare, enter:
omconfig storage pdisk action=assignglobalhotspare controller=1
pdisk=0:3 assign=yes
Example for SAS Controllers:
To assign 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=yes
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