User's Manual

Using the Storage Management Service 193
Example for SAS Controllers:
To bring the array disk described in this example back online, enter:
omconfig storage adisk action=online controller=1 adisk=0:2:3
omconfig Assign Global Hot Spare
Use the following omconfig command syntax to assign an array disk as a global hot spare.
Complete Syntax
omconfig storage adisk action=assignglobalhotspare controller=id
adisk=<ADISKID> assign=yes
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 assign 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 assign the array disk described in this example as a global hot spare, enter:
omconfig storage adisk action=assignglobalhotspare controller=1
adisk=0:3 assign=yes
Example for SAS Controllers:
To assign 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=yes
omconfig Unassign Global Hot Spare
Use the following omconfig command syntax to unassign an array disk as a global hot spare.
Complete Syntax
omconfig storage adisk action=assignglobalhotspare controller=id
adisk=<ADISKID> assign=no
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.