CLI Guide

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
Omcong Delete Virtual Disk
Table 144. omcong Delete Virtual Disk
Description Deletes a virtual disk.
CAUTION: Deleting a virtual disk destroys all information including le 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
Omcong reconguring virtual disks
Table 145.
omcong reconguring virtual disks
Description Recongure a virtual disk to change the virtual disk’s RAID level or increase its size by either adding
physical disks or using the available free space. On some controllers, you can also remove physical disks.
162 Omcong storage commands