Command Line Interface Guide

232 omconfig storage Commands
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.
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, type
omreport storage controller to display the controller IDs and then type
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, type:
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, type:
omconfig storage vdisk action=
assigndedicatedhotspare controller=1 vdisk=4
pdisk=0:2:3 assign=yes