CLI Guide

Example
omconfig storage vdisk action=rename controller=1 vdisk=4 name=vd4
Omcong controller commands
The following table provides the omcong command syntax required to execute controller tasks.
CAUTION: The
omcong storage controller action=resetcong controller=id
resets the controller conguration. Resetting the
controller conguration permanently destroys all data on all virtual disks attached to the controller. System or boot partition
residing on these virtual disks is destroyed.
NOTE: If the PERC hardware controller is running in HBA mode, you can perform only one action, exporting the log
(action=exportlog).
Table 151. omcong Controller Commands
Required Command Levels (1, 2, 3) Optional name=value pairs
omcong storage controller action=rescan controller=id
action=enablealarm controller=id
action=disablealarm controller=id
action=quietalarm controller=id
action=testalarm controller=id
action=resetcong controller=id [force=yes]
action=createvdisk controller=id raid=<c | r0 | r1| r1c | r5 | r6 | r10 | r50 | r60> size=<number | b |
m | g | max | min> pdisk=<PDISKID> [stripesize=< 2kb | 4kb | 8kb | 16kb | 32kb | 64kb | 128kb |
256kb | 512kb | 1mb >] [cachepolicy=<d | c>] [readpolicy=<ra | nra | ara | rc | nrc>]
[writepolicy=<wb | wt | wc | nwc | fwb>] [diskcachepolicy=<default | disabled | enabled>]
[name=<string>] [spanlength=<n>] | [secureag=yes] [vdpienabled=yes]
NOTE: For RAID 10 on SAS controllers with rmware version 6.1 and later, spanlength is
an optional parameter (default=2).
action=setrebuildrate controller=id rate=<0 to 100>
action=setchangecontrollerproperties controller=<id> [bgirate=<rate>][reconstructrate=<rate>]
[checkconsistencyrate=<rate>][rebuildrate=<rate>][clearredundantpath=clear] [rate=<0 to 100>]
[abortcheckconsistencyonerror=<enabled/disabled>][loadbalance=<auto/disabled>]
[allowrevertiblehotspareandreplacemember=enabled/disabled]
[autoreplacememberonpredictivefailure=<enabled/disabled>] [persistenthotspare=enabled/
disabled][nrdiskcachepolicy=<enabled/disabled/unchanged>]
action=discardpreservedcache controller=id force=<enabled/disabled>
action=createsecuritykey controller=id keyid=<keyid> passphrase=<passphrase string>
[escrow=yes] [lepath=<Absolute path to the escrow le>]
NOTE: If you set escrow=yes, specify the escrow le
path.
action=changesecuritykey controller=id keyid=<keyid> passphrase=<passphrase string>
oldpassphrase=<oldpassphrase string> [escrow=yes] [lepath=<Absolute path to the escrow le>]
NOTE: If you set escrow=yes, specify the escrow le
path.
action=deletesecuritykey controller=id
action=setbgirate controller=id rate=<0 to 100 >
Omcong storage commands 161