User's Manual
Using the Storage Management Service 161
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
omconfig Unassign Dedicated Hot Spare
Use the following omconfig command syntax to unassign one or more physical disks that were previously
assigned as a hot spare to a virtual disk.
Complete Syntax
omconfig storage vdisk action=assigndedicatedhotspare controller=id
vdisk=id pdisk=<PDISKID> assign=no
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 unassigning physical disk 3 on connector 0 of controller 1 as a dedicated hot
spare to virtual disk 4. On a SAS controller, the physical disk resides in enclosure 2.
Example for SCSI, SATA, and ATA Controllers:
To unassign the dedicated hot spare described in this example, enter:
omconfig storage vdisk action=assigndedicatedhotspare controller=1
vdisk=4 pdisk=0:3 assign=no