CLI Guide
Omconfig Replace Member Virtual Disk
Table 149. 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 150. 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.
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
150 Omconfig storage commands