CLI Guide

Table Of Contents
NOTE: If you are configuring RAID for SAS controllers with firmware version 6.1 and later, spanlength is an optional
parameter (default=2). Spanlength is an even number and is lesser than or equal to half the number of physical disks
specified in size.
NOTE: The vdpienabled is an optional argument and is valid only on PERC9 controllers. If set to yes a T10 Protection
Information (PI) enabled virtual disk is created.
NOTE: For RAID 10 creation, PERC 9 firmware suggests the layout (number of array disks) with uneven span (spans with
unequal number of array disks), though in a span the number of disks remains even. For example, for 32 disks, RAID 10 gets
created with all the disks in one span and for 34 disks, RAID 10 gets created with 16 disks in one span and 18 disks in the
other span.
Example Syntax:
You can create a RAID-5 virtual disk of 500 MB with a stripe size of 16 KB on a PERC 3/QC controller. The name of the virtual
disk is vd1 and it resides on connector 0 of controller 1. Because the virtual disk is a RAID-5, it requires at least three physical
disks. In this example, you specify four physical disks. These are physical disks 0 through 3. The virtual disk has read-ahead,
writethrough caching, and cache I/O policies.
To create a virtual disk:
omconfig storage controller action=createvdisk controller=1 raid=r5 size=500m pdisk=
0:0,0:1,0:2,0:3 stripesize=16kb cachepolicy=c readpolicy=ra writepolicy=wt
The only parameters that require specification are for the controller, RAID level, virtual disk size, and physical disk selection.
Storage Management supplies default values for all other unspecified parameters. For more information on read, write, and
cache policies that are supported by the controller, see the Dell EMC OpenManage Online Help.
Parameter specification for creating and reconfiguring virtual disk
The following table displays how to specify the omconfig storage controller action=createvdisk parameters:
Table 159. Parameters And Types
Parameters Type
controller=id Required
raid=<c | r0 | r1 | r1c | r5 | r6 | r10 | r50 | r60> Required
size=<number | max | min> Required
pdisk=<connector:targetID,connector:targetID,.....> Required
[stripesize=<2k b| 4kb | 8kb | 16kb | 32kb | 64kb | 128kb>] Optional
[cachepolicy=<d | c>] Optional
[readpolicy=<ra | nra | ara | rc | nrc>] Optional
[writepolicy=<wb | wt | wc | nwc | fwb>] Optional
[name=<string>] Optional
[spanlength=<n>] parameter Optional
NOTE: On PERC S140, the maximum virtual disk configuration is 16 and monitoring is 30.
controller=id parameter
Specify the controller ID as reported by the omreport storage controller command. For example,controller=2
raid=<c | r0 | r1 | r1c | r5 | r6 | r10 | r50 | r60>
Use the raid=<c | r0 | r1 | r1c | r5 | r6 | r10 | r50 | r60> parameter to specify a RAID level for a virtual disk. Different controllers
support different RAID levels. For more information about RAID levels a controller supports and for general information about
RAID levels, see the Dell EMC OpenManage Online Help. The following table displays how to specify the raid=n parameter for
each RAID level.
164
Omconfig storage commands