User's Manual

Using the Storage Management Service 183
Example Syntax
For example, to unmirror virtual disk 4 on controller 1, enter:
omconfig storage vdisk action=unmirror controller=1 vdisk=4
omconfig Assign Dedicated Hot Spare
Use the following omconfig command syntax to assign one or more array disks to a virtual disk as a
dedicated hot spare.
NOTE: The PERC 2/SC, 2/DC, and CERC SATA 1.5/2s controllers do not support dedicated hot spares.
Complete Syntax
omconfig storage vdisk action=assigndedicatedhotspare controller=id
vdisk=id adisk=<ADISKID> assign=yes
where id is the controller ID and virtual disk ID. The <ADISK> variable specifies the array disk.
To obtain the values for the controller, virtual disk, and array disk, enter omreport storage controller to
display the controller IDs and then enter omreport storage vdisk controller=ID and omreport storage
adisk controller=ID to display the IDs for the virtual disks and array disks attached to the controller.
Example Syntax
In this example, you are assigning array disk 3 on connector 0 of controller 1 as a dedicated hot spare to
virtual disk 4. On a Serial Attached SCSI (SAS) controller, the array disk resides in enclosure 2.
Example for SCSI, SATA, and ATA Controllers:
To assign the dedicated hot spare described in this example, enter:
omconfig storage vdisk action=assigndedicatedhotspare controller=1
vdisk=4 adisk=0:3 assign=yes
Example for SAS Controllers:
To assign the dedicated hot spare described in this example, enter:
omconfig storage vdisk action=assigndedicatedhotspare controller=1
vdisk=4 adisk=0:2:3 assign=yes
omconfig Unassign Dedicated Hot Spare
Use the following omconfig command syntax to unassign one or more array disks that were previously
assigned as a hot spare to a virtual disk.