CLI Guide

Table Of Contents
Table 149. omconfig Change Virtual Disk Policy (continued)
Example
omconfig storage vdisk action=changepolicy controller=1 vdisk=4
readpolicy=nra
Omconfig Replace Member Virtual Disk
Table 150. omconfig Replace Member Virtual Disk
Description Replaces the member of a given virtual disk with the destination disk.
Syntax
omconfig storage vdisk action=replacememberdisk controller=id
vdisk=id source=<PDISKID> destination=<PDISKID>, where id is the controller ID
and virtual disk ID as reported by the omreport command. The <PDISK> variable specifies the
physical 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 Replace physical disk 3 on connector 0 of controller 1 of virtual disk 4 with physical disk 5. On a
Serial Attached SCSI (SAS) controller, the physical disk resides in enclosure 2.
Example for SCSI,
SATA, and ATA
Ccntrollers
omconfig storage vdisk action=replacememberdisk controller=1 vdisk=4
source=0:3 destination=0:5
Example for SAS
controllers
omconfig storage vdisk action=replacememberdisk controller=1 vdisk=4
source=0:2:3 destination=0:2:5
Omconfig Rename Virtual Disk
Table 151. omconfig Rename Virtual Disk
Description Renames a virtual disk.
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.
Omconfig storage commands 159