Command Line Interface Guide

Example
omconfig storage vdisk action=cancelbginitialize controller=1
vdisk=4
Omconfig Assign Dedicated Hot Spare
Description Assigns one or more physical disks to a virtual disk as a dedicated hot spare.
Syntax
omconfig storage vdisk action=assigndedicatedhotspare
controller=id vdisk=id pdisk=<PDISKID> assign=yes, where id is the
controller ID and virtual disk ID as reported by the omreport command. The
<PDISK>variable specifies the physical disk.
NOTE: 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 and physical disks attached to the controller.
Example to Assign 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
omconfig storage vdisk action=assigndedicatedhotspare
controller=1 vdisk=4 pdisk=0:3 assign=yes
Example for SAS
controllers
omconfig storage vdisk action=assigndedicatedhotspare
controller=1 vdisk=4 pdisk=0:2:3 assign=yes
Omconfig Delete Virtual Disk
Description Deletes 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.
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.
NOTE: 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.
NOTE: In some circumstances, you may receive a warning message if this command
deletes the system or boot partition. You can override this warning by using the
force=yes parameter. In this case, the syntax is as follows:
omconfig storage vdisk action=deletevdisk controller=id
vdisk=id force=yes
Example to Delete virtual disk 4 on controller 1
Example
omconfig storage vdisk action=deletevdisk controller=1
vdisk=4
153