CLI Guide

Omcong Replace Member Virtual Disk
Table 149. omcong 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 species 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
Omcong Rename Virtual Disk
Table 150.
omcong 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
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).
Omcong storage commands 165