CLI Guide
Table 150. omconfig Rename Virtual Disk (continued)
Syntax
omconfig storage vdisk action=rename controller=id vdisk=id
name=<string>, where id is the controller ID and virtual disk ID as reported by the omreport
command and <string> is the new name for the virtual disk.
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 Rename virtual disk 4 on controller 1 to vd4.
Example
omconfig storage vdisk action=rename controller=1 vdisk=4 name=vd4
Omconfig controller commands
The following table provides the omconfig command syntax required to execute controller tasks.
CAUTION: The
omconfig storage controller action=resetconfig controller=id
resets the controller configuration.
Resetting the controller configuration 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. omconfig Controller Commands
Required Command Levels (1,
2, 3)
Optional name=value pairs
omconfig storage controller action=rescan controller=id
action=enablealarm controller=id
action=disablealarm controller=id
action=quietalarm controller=id
action=testalarm controller=id
action=resetconfig 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>] | [secureflag=yes]
[vdpienabled=yes]
NOTE: For RAID 10 on SAS controllers with firmware 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] [filepath=<Absolute path to the escrow file>]
160 Omconfig storage commands