Switch between mirrored master/slave devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a logical volume mirrored between /dev/mapper/mpath0 and /dev/mapper/mpath3:
# lvs -a -o +devices
  LV                   VG       Attr     LSize   Pool Origin Data%  Move Log Copy%  Convert Devices                                   
  vm01-disk            VMMIRROR mwi-aom-   7.00g                             100.00         vm01-disk_mimage_0(0),vm01-disk_mimage_1(0)
  [vm01-disk_mimage_0] VMMIRROR iwi-aom-   7.00g                                            /dev/mapper/mpath3(0)                     
  [vm01-disk_mimage_1] VMMIRROR iwi-aom-   7.00g                                            /dev/mapper/mpath0(0)

The master device (/dev/mapper/mpath0) failed and i repair it without any problem, but now my master device is /dev/mapper/mpath3.
I want to change my master device back to /dev/mapper/mpath0 again. How can i do this?
 
DacioMF
Analista de Redes e Infraestrutura


_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/



[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux