CLI Guide
Omcong Replace Member Virtual Disk
Table 149. omcong 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 species 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
Omcong Rename Virtual Disk
Table 150.
omcong 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
Omcong controller commands
The following table provides the omcong command syntax required to execute controller tasks.
CAUTION
: The
omcong storage controller action=resetcong controller=id
resets the controller conguration. Resetting the
controller conguration 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).
Omcong storage commands 165