Command Line Interface Guide

234 omconfig storage Commands
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 format virtual disk 4 on controller 1, type:
omconfig storage vdisk action=format controller=1
vdisk=4
omconfig Reconfiguring Virtual Disks
You can reconfigure 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.
Complete 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>]
Example Syntax to reconfigure
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. On a SAS controller, the
physical disks reside in enclosure 2.
Example for SCSI, SATA, and ATA Controllers
In this example, type:
omconfig storage vdisk action=reconfigure
controller=1 vdisk=4 raid=r5 size=800m pdisk=
0:0,0:1,0:2,0:3