Owner's Manual
omconfig storage Commands 209
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
omconfig Delete Virtual Disk
Use the following omconfig command syntax to delete a virtual disk.
CAUTION: Deleting a virtual disk destroys all information including file systems
and volumes residing on the virtual disk. You may receive a warning message if
you attempt to delete the system or boot partition. However, this warning message
is not generated always. Ensure that you do not delete the system or boot partition
or other vital data when using this command.
Complete Syntax
omconfig storage vdisk action=deletevdisk
controller=id vdisk=id
where id is the controller ID and virtual disk ID as reported by the omreport
command. To obtain these values, type omreport storage controller to display
the controller IDs and then type omreport storage vdisk controller=ID to
display the IDs for the virtual disks attached to the controller.