replace disk vxvm with powerpath
hi,
I wish to find out how to replace a disk in vxvm with powerpath in solaris.
i think:
- vxdg -g group rmdisk disk or vxdg -g group -k rmdisk disk if the disk has many subdisks.
-vxdiskunsetup disk
or the above with vxdiskadm
then cfgadm -c unconfigure disk
replace with good disk
devfsadm
cfgadm -c configure disk
vxddladm addforeign pathname=/dev/dsk/emcpowera
vxdisk scandisk
vxdiskadm -to add disk in vg.
Comment are much appreciated.tnx a lot.
If this is EMC array, then it depends on the LUN layout at hardware level.
If a physical disk in the EMC array needs to be replaced, then there should be sufficient redundancy at array level to replace a physical disk without VxVM even 'noticing'.
The method to replace a disk in VxVM depends on volume layout in VxVM - mirrored? concat? striped?
Please show us output of 'vxprint -htr' for this volume or diskgroup.
Tell us VxVM version as well.