CLI Guide

Example
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: The 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: The sizeinpercent parameter is not supported on PERC S130 controller.
Omcong Secure Virtual Disk
Table 146. omcong Secure Virtual Disk
Description Encrypts a virtual disk.
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.
NOTE: 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 to Encrypt virtual disk 4 on controller 1.
Example
omconfig storage vdisk action=securevd controller=1 vdisk=4
Omcong Clear Virtual Disk Bad Blocks
Table 147. omcong Clear Virtual Disk Bad Blocks
Description Clears virtual disk bad blocks.
Syntax omconfig storage vdisk action=clearvdbadblocks controller=id vdisk=id,
where id is the controller ID and virtual disk ID as reported by the omreport command.
NOTE: 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 to Clear bad blocks on virtual disk 4 on controller 1.
Example
omconfig storage vdisk action=clearvdbadblocks controller=1 vdisk=4
Omcong Change Virtual Disk Policy
Table 148. omcong Change Virtual Disk Policy
Description Changes a virtual disk’s read, write, or cache policy.
Syntax
omconfig storage vdisk action=changepolicy controller=id vdisk=id
[diskcachepolicy=<enabled|disabled> | readpolicy=<ra| nra| ara| rc|
nrc> | writepolicy=<wb| wt| wc| nwc> | fwb> cachepolicy=<d | c>], where
id is the controller ID and virtual disk ID as reported by the omreport command.
NOTE: 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.
For more information about the controller-specic diskcache, read, write, and cache policy, see the
Dell EMC OpenManage Online Help. For information on specifying these parameters using the
omcong command, see the following:
[readpolicy=<ra | nra | ara | rc | nrc>] parameter (optional)
[writepolicy=<wb | wt | wc | nwc | fwb>] parameter (optional)
142