Forum Discussion

tanislavm's avatar
tanislavm
Level 6
9 years ago

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.

  • 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.

  • hi,

    it is a raid 1,but i just like me to be prepared in such situation.in addidtion i like to find out if in a rootdg after i add an native solaris disk,i could add next an emcpower disk.tnx a lot.