Created attachment 347280 [details] cluster-partial.diff QA testing of lvm2 uncovered that mirror repair&hotspare facilities introduced in 5.4 are broken for clustered volume groups (see bug #504699). This needs to be addressed, and patches already exist (I am attaching the current version). Successful inclusion of the new repair functionality depends on this fix, so this should be a blocker.
Patch in lvm2-cluster-2_02_46-6_el5.
Fix verified in lvm2-2.02.46-8.el5/lvm2-cluster-2.02.46-8.el5. I was able to activate a linear in a VG containing missing PVs: [root@grant-01 ~]# vgchange -ay grant Couldn't find device with uuid 'p72WN3-pY5R-SSJC-U3aJ-ZrmT-JTKG-3LsT23'. Couldn't find device with uuid 'V0racw-1zS0-IXcA-GefH-1ySM-2XUF-t5ZEQK'. Couldn't find device with uuid 'ARDKSU-Cd8d-YNFv-G53f-KWPH-ywaW-PXKqjx'. Couldn't find device with uuid 'p72WN3-pY5R-SSJC-U3aJ-ZrmT-JTKG-3LsT23'. Couldn't find device with uuid 'V0racw-1zS0-IXcA-GefH-1ySM-2XUF-t5ZEQK'. Couldn't find device with uuid 'ARDKSU-Cd8d-YNFv-G53f-KWPH-ywaW-PXKqjx'. Couldn't find device with uuid 'p72WN3-pY5R-SSJC-U3aJ-ZrmT-JTKG-3LsT23'. Couldn't find device with uuid 'V0racw-1zS0-IXcA-GefH-1ySM-2XUF-t5ZEQK'. Couldn't find device with uuid 'ARDKSU-Cd8d-YNFv-G53f-KWPH-ywaW-PXKqjx'. 1 logical volume(s) in volume group "grant" now active [root@grant-01 ~]# lvs -a -o +devices Couldn't find device with uuid 'p72WN3-pY5R-SSJC-U3aJ-ZrmT-JTKG-3LsT23'. Couldn't find device with uuid 'V0racw-1zS0-IXcA-GefH-1ySM-2XUF-t5ZEQK'. Couldn't find device with uuid 'ARDKSU-Cd8d-YNFv-G53f-KWPH-ywaW-PXKqjx'. Couldn't find device with uuid 'p72WN3-pY5R-SSJC-U3aJ-ZrmT-JTKG-3LsT23'. Couldn't find device with uuid 'V0racw-1zS0-IXcA-GefH-1ySM-2XUF-t5ZEQK'. Couldn't find device with uuid 'ARDKSU-Cd8d-YNFv-G53f-KWPH-ywaW-PXKqjx'. Couldn't find device with uuid 'p72WN3-pY5R-SSJC-U3aJ-ZrmT-JTKG-3LsT23'. Couldn't find device with uuid 'V0racw-1zS0-IXcA-GefH-1ySM-2XUF-t5ZEQK'. Couldn't find device with uuid 'ARDKSU-Cd8d-YNFv-G53f-KWPH-ywaW-PXKqjx'. LV VG Attr LSize Origin Snap% Move Log Copy% Convert Devices LogVol00 VolGroup00 -wi-ao 64.56G /dev/sda2(0) LogVol01 VolGroup00 -wi-ao 9.81G /dev/sda2(2066) linear grant -wi-a- 10.00G /dev/sdb1(0)
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-1394.html