Command Line Interface Guide

omconfig storage Commands 235
Example for SAS Controllers
In this example, type:
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 Syntax to resize
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.
In this example, type:
omconfig storage vdisk action=reconfigure
controller=1 vdisk=4 raid=r5 pdisk=
0:2:0,0:2:1,0:2:2,0:2:3 vdcapacityexpansion=yes
sizeinpercent=20
NOTE: vdcapacityexpansion parameter is supported only on PERC H700 and PERC
H800 controllers. If you set vdcapacityexpansion=yes, specify sizeinpercent. If you
do not set vdcapacityexpansion, specify size.
omconfig Secure Virtual Disk
Use the following omconfig command syntax to encrypt a virtual disk.
Complete Syntax
omconfig storage vdisk action=securevd 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.
Example Syntax
To encrypt virtual disk 4 on controller 1, type:
omconfig storage vdisk action=securevd controller=
1 vdisk=4