[linux-lvm] Switch between mirrored master/slave devices
DacioMF
daciomf at yahoo.com.br
Thu Jul 12 19:35:28 UTC 2012
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
More information about the linux-lvm
mailing list