User's Manual
For example, to format virtual disk 4 on controller 1, you would enter:
omconfig storage vdisk action=format controller=1 vdisk=4
omconfig Reconfiguring Virtual Disks
Does my controller support this feature? See "Supported Features."
You can reconfigure a virtual disk in order to change the virtual disk's RAID level or increase its size by adding physical disks. On some controllers, you can also
remove physical disks.
Before continuing with the virtual disk reconfiguration, you should be familiar with the information in "Starting and Target RAID Levels for Virtual Disk
Reconfiguration and Capacity Expansion" and "Choosing RAID Levels and Concatenation."
Complete Syntax
omconfig storage vdisk action=reconfigure controller=id vdisk=id raid=<c| r0 | r1 | r5| r6 | r10> size=<size> pdisk=<PDISK>
See "Parameter Specification for Create and Reconfigure Virtual Disk" for information on specifying the parameters. See "pdisk=<PDISKID> Parameter" and
"Multiple Targets" for more information on specifying physical disks.
Example Syntax
For example, you want to reconfigure virtual disk 4 to a size of 800MB. You will 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, you would enter:
omconfig storage vdisk action=reconfigure controller=1 vdisk=4 raid=r5 size=800m pdisk=0:0,0:1,0:2,0:3
See "pdisk=<PDISKID> Parameter on SCSI, SATA, and ATA Controllers" and "Multiple Targets" for more information on physical disk specification. See "RAID
Controller Technology: SCSI, SATA, ATA, and SAS" to identify which technology a controller uses.
Example for SAS Controllers:
In this example, you would enter:
omconfig storage vdisk action=reconfigure controller=1 vdisk=4 raid=r5 pdisk=0:2:0,0:2:1,0:2:2,0:2:3
See "pdisk=<PDISKID> Parameter on SAS Controllers" and "Multiple Targets" for more information on physical disk specification. See "SAS RAID Controllers" to
identify which controllers use SAS technology.
omconfig Change Virtual Disk Policy
Does my controller support this feature? See "Supported Features."
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 |
fwb> | cachepolicy=<d | c> diskcachepolicy=<d | e>]
where id is the controller ID and virtual disk ID as reported by the omreport command. To obtain these values, you would 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, cache policy, and disk cache policy, see "RAID Controller Read, Write, Cache, and Disk Cache Policy." For
information on how to specify these parameters using the omconfig command, see the following:
NOTE: When using a SAS controller, the size parameter is not required.