CLI Guide
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
Omcong reconguring virtual disks
Table 145. omcong reconguring virtual disks
Description Recongure 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.
NOTE: If you want to recongure with an extra physical disk, the physical disk must be of
the supported bus protocol, media type, sector size, T10 Protection Information capability,
and encryption capability.
Syntax
omconfig storage vdisk action=reconfigure controller=id vdisk=id
raid=<c| r0| r1| r1c| r5| r6| r10> pdisk=<PDISK> [size=<size>
vdcapacityexpansion=yes sizeinpercent=<1 to 100>], where id is the controller ID
and virtual disk ID as reported by the omreport command.
NOTE: When you perform the virtual disk reconguration operation using the
sizeinpercent/vdcapacityexpansion argument, Storage Management does not
allow addition of physical disks to the existing recongured disk group. On successful
operation, the virtual disk capacity is expanded, but the additional physical disk is not
considered.
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.
Example to Recongure virtual disk 4 to a size of 800 MB, use RAID-5 and physical disks 0 through 3 on
connector 0 of controller 1. On a SAS controller, the physical disks reside in enclosure 2.
Example for SCSI, SATA,
and ATA controllers
omconfig storage vdisk action=reconfigure controller=1 vdisk=4 raid=r5
size=800m pdisk=0:0:0,0:1:1,0:2:0,0:3:2
Example for SAS
controllers
omconfig storage vdisk action=reconfigure controller=1 vdisk=4 raid=r5
pdisk=0:2:0,0:2:1,0:2:2,0:2:3
Example to Increase the size of the virtual disk by 20 percent using the available free space, use RAID-5 and
physical disks 0 through 3 on connector 0 of controller 1. On a SAS controller, the physical disks
reside in enclosure 2.
141