Description of problem: This may not be a bug, but figured I'd document this incase it can be sped up a bit or incase a customer runs into this. # Fully synced mirror [root@link-08 ~]# lvs LV VG Attr LSize Origin Snap% Move Log Copy% LogVol00 VolGroup00 -wi-ao 72.44G LogVol01 VolGroup00 -wi-ao 1.94G mirror1 corey1 mwi-a- 1.00G mirror1_mlog 100.00 [root@link-08 ~]# time mount -t gfs /dev/corey1/mirror1 /mnt/mirror1 real 0m2.596s user 0m0.000s sys 0m0.020s # Linear [root@link-08 ~]# umount /mnt/mirror1 [root@link-08 ~]# lvconvert -m 0 corey1/mirror1 Logical volume mirror1 converted. [root@link-08 ~]# lvs LV VG Attr LSize Origin Snap% Move Log Copy% LogVol00 VolGroup00 -wi-ao 72.44G LogVol01 VolGroup00 -wi-ao 1.94G mirror1 corey1 -wi-a- 1.00G [root@link-08 ~]# time mount -t gfs /dev/corey1/mirror1 /mnt/mirror1 real 0m2.082s user 0m0.000s sys 0m0.015s # One legged mirror [root@link-08 ~]# umount /mnt/mirror1 [root@link-08 ~]# lvconvert -m 1 corey1/mirror1 Logical volume mirror1 converted. [root@link-08 ~]# time mount -t gfs /dev/corey1/mirror1 /mnt/mirror1 real 1m30.281s user 0m0.000s sys 0m0.019s [root@link-08 ~]# umount /mnt/mirror1 [root@link-08 ~]# lvconvert -m 0 corey1/mirror1 Logical volume mirror1 converted. [root@link-08 ~]# lvs -a -o +devices LV VG Attr LSize Origin Snap% Move Log Copy% Devices LogVol00 VolGroup00 -wi-ao 72.44G /dev/hda2(0) LogVol01 VolGroup00 -wi-ao 1.94G /dev/hda2(2318) mirror1 corey1 -wi-a- 1.00G /dev/sda1(0) # One legged mirror (core log) [root@link-08 ~]# lvconvert -m 1 --corelog corey1/mirror1 Logical volume mirror1 converted. [root@link-08 ~]# time mount -t gfs /dev/corey1/mirror1 /mnt/mirror1 real 1m37.843s user 0m0.001s sys 0m0.024s [root@link-08 ~]# umount /mnt/mirror1 [root@link-08 ~]# lvconvert -m 0 corey1/mirror1 Logical volume mirror1 converted. # Two legged mirror (core log) [root@link-08 ~]# lvconvert -m 2 --corelog corey1/mirror1 Logical volume mirror1 converted. [root@link-08 ~]# time mount -t gfs /dev/corey1/mirror1 /mnt/mirror1 real 1m37.783s user 0m0.000s sys 0m0.017s Version-Release number of selected component (if applicable): cmirror-kernel-2.6.9-32.0 lvm2-cluster-2.02.21-7.el4
This issue is not present on single node mirrors... [root@link-08 ~]# lvconvert -m 1 --corelog corey1/mirror1 Logical volume mirror1 converted. [root@link-08 ~]# time mount -t gfs /dev/corey1/mirror1 /mnt/mirror1 real 0m2.436s user 0m0.001s sys 0m0.020s [root@link-08 ~]# umount /mnt/mirror1 [root@link-08 ~]# lvconvert -m 0 corey1/mirror1 Logical volume mirror1 converted. [root@link-08 ~]# lvconvert -m 2 --corelog corey1/mirror1 Logical volume mirror1 converted. [root@link-08 ~]# time mount -t gfs /dev/corey1/mirror1 /mnt/mirror1 real 0m2.510s user 0m0.000s sys 0m0.018s
This issue appears fixed in the lastest kernel mods that Jon gave me (2.6.9-55.8.ELsmp).
sorry. Modified -> post... waiting for all patches to settle into the rhkernel.
Should be ready in 4.6. post -> modified.
this bug is really a dup of 238629. *** This bug has been marked as a duplicate of 238629 ***