Command Line Interface Guide

omconfig storage Commands 233
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.
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 Syntax
To delete virtual disk 4 on controller 1, type:
omconfig storage vdisk action=deletevdisk
controller=1 vdisk=4
omconfig Format Virtual Disk
Use the following omconfig command syntax to format a virtual disk.
Complete Syntax
omconfig storage vdisk action=format controller=id
vdisk=id