Command Line Interface Guide

omconfig storage Commands 245
omconfig Replace Member Virtual Disk
Use the following omconfig command syntax to replace the member of a
given virtual disk with the destination disk.
Complete Syntax
omconfig storage vdisk action=replacememberdisk
controller=id vdisk=id source=<PDISKID>
destination=<PDISKID>
where id is the controller ID and virtual disk ID. The <PDISKID> variable
specifies the physical disk.
To obtain the values for the controller, virtual disk, and physical disk, type
omreport storage controller to display the controller IDs and then type
omreport storage vdisk controller=ID and omreport storage pdisk
controller=ID to display the IDs for the virtual disks and physical disks
attached to the controller.
Example Syntax
In this example, you are replacing 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.
To replace the member disk described in this example:
For SCSI, SATA, and ATA controllers:
omconfig storage vdisk action=replacememberdisk
controller=1 vdisk=4 source=0:3 destination=0:5
For SAS controllers:
omconfig storage vdisk action=replacememberdisk
controller=1 vdisk=4 source=0:2:3 destination=
0:2:5
NOTE: On a SAS controller, the physical disk resides in enclosure 2.