CLI Guide

Table Of Contents
Table 158. Omconfig Reset Controller Configuration (continued)
CAUTION: Resetting a configuration permanently destroys all data on all
virtual disks attached to the controller. System or boot partition residing
on these virtual disks is destroyed. You may receive a warning message if
this command results in deleting the system or boot partition. However,
this warning message is not generated always. Ensure that you do not
delete the system or boot partition or other vital data when using this
command.
Syntax omconfig storage controller action=resetconfig controller=id,
where id is the controller ID as reported by the omreport storage
controller command.
In some circumstances, you may receive a warning message if this command deletes
the system or boot partition. You can override this warning by using the force=yes
parameter. In this case, the syntax is as follows:
omconfig storage controller action=resetconfig
controller=id force=yes
Example to Reset the configuration on controller 1.
Example
omconfig storage controller action=resetconfig controller=1
omconfig Create Virtual Disk
The Dell EMC OpenManage Online Help provides additional information about creating virtual disks.
The omconfig syntax for creating a virtual disk has several parameters. You must specify the following parameters:
Controller (controller=id)
RAID level (raid=<c| r0 | r1 | r1c | r5 | r6 | r10 | r50 | r60>
Size (size=<number | max | min>)>
Physical disk is specified as either:
For SCSI, SATA, and ATA controllers:
pdisk=connector:enclosureID:targetID
where connector:enclosureID:targetID is the connector number, enclosure number, and slot number.
For SAS controllers:
pdisk=connector:targetID
where connectorID:targetID is the connector number and the slot number. For example, pdisk=0:2
Storage Management supplies default values for any of the other parameters that you do not specify.
For creating an encrypted virtual disk, specify secureflag=yes. You can create encrypted virtual disks only with SED drives.
Complete Syntax:
omconfig storage controller action=createvdisk controller=id raid=<c| r0 | r1 |
r1c | r5 | r6 | r10 | r50 | r60>size=<number | max | min> pdisk=<PDISKID>
[stripesize=stripesize=< 2kb| 4kb| 8kb| 16kb| 32kb| 64kb | 128kb>] [cachepolicy=<d |
c>] [diskcachepolicy=<disabled | enabled>][readpolicy=<ra | nra | ara | rc | nrc>]
[writepolicy=<wb| wt| wc| nwc | fwb>] [name=<string>] [spanlength=<n>] | [secureflag=yes]
[vdpienabled=yes]
NOTE:
If the command-line interface does not support commas (,) as parameter separators, then use double quotation
marks () to run the CLI command. Example, use pdisk="0:1:1,0:1:2" instead of pdisk=0:1:1,0:1:2.
Omconfig storage commands 163