Using the Storage Management Service 163
Complete Syntax
omconfig storage vdisk action=unmirror controller=id vdisk=id
where id is the controller ID and virtual disk ID as reported by the omreport command. To obtain these
values, enter omreport storage controller to display the controller IDs and then enter omreport storage
vdisk controller=ID to display the IDs for the virtual disks attached to the controller.
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 physical 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 pdisk=<PDISKID> assign=yes
where id is the controller ID and virtual disk ID. The <PDISK> variable specifies the physical disk.
To obtain the values for the controller, virtual disk, and physical disk, enter omreport storage controller
to display the controller IDs and then enter omreport storage vdisk controller=ID and omreport storage
pdisk controller=ID to display the IDs for the virtual disks and physical disks attached to the controller.
Example Syntax
In this example, you are assigning physical 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 physical 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 pdisk=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 pdisk=0:2:3 assign=yes