Command Line Interface Guide

242 omconfig storage Commands
Example Syntax
To reconfigure virtual disk 4 to a size of 800 MB, use RAID-5 and physical
disks 0 through 3 on connector 0 of controller 1:
For SCSI, SATA, and ATA controllers:
omconfig storage vdisk action=reconfigure
controller=1 vdisk=4 raid=r5 size=800m pdisk=
0:0,0:1,0:2,0:3
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
NOTE: On a SAS controller, the physical disk resides in enclosure 2.
Example Syntax
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:
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 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.
NOTE: On a SAS controller, the physical disk resides in enclosure 2.