User's Manual
Using the Storage Management Service 187
omconfig Reconfiguring Virtual Disks
You can reconfigure a virtual disk in order to change the virtual disk’s RAID level or increase its size by
adding array disks. On some controllers, you can also remove array disks.
Complete Syntax
omconfig storage vdisk action=reconfigure controller=id vdisk=id
raid=<c| r0| r1| r1c| r5| r10> size=<size> adisk=<ADISK>
Example Syntax
For example, to reconfigure virtual disk 4 to a size of 800 MB, use RAID 5 and array disks 0 through 3 on
connector 0 of controller 1. On a SAS controller, the array disks reside in enclosure 2.
Example for SCSI, SATA, and ATA Controllers:
In this example, enter:
omconfig storage vdisk action=reconfigure controller=1 vdisk=4 raid=
r5 size=800m adisk=0:0,0:1,0:2,0:3
Example for SAS Controllers:
In this example, enter:
omconfig storage vdisk action=reconfigure controller=1 vdisk=4 raid=
r5 adisk=0:2:0,0:2:1,0:2:2,0:2:3
omconfig Change Virtual Disk Policy
Use the following omconfig command syntax to change a virtual disk’s read, write, or cache policy.
Complete Syntax
omconfig storage vdisk action=changepolicy controller=id vdisk=id
[readpolicy=<ra| nra| ara| rc| nrc> | writepolicy=<wb| wt| wc| nwc> |
cachepolicy=<d | c>]
where id is the controller ID and virtual disk ID as reported by the omreport command. To obtain these
values, enter omreport storage controller to display the controller IDs and then enter omreport storage
vdisk controller=ID to display the IDs for the virtual disks attached to the controller.
For information on the controller-specific read, write, and cache policy, see the online help. For
information on how to specify these parameters using the omconfig command, see the following:
• [readpolicy=<ra| nra| ara| rc| nrc>] Parameter (Optional)
• [writepolicy=<wb| wt| wc| nwc | fwb>] Parameter (Optional)
• [cachepolicy=<d | c>] Parameter (Optional)