Launchpad has imported 7 comments from the remote bug at https://bugzilla.redhat.com/show_bug.cgi?id=602389.
If you reply to an imported comment from within Launchpad, your comment will be sent to the remote bug automatically. Read more about Launchpad's inter-bugtracker facilities at https://help.launchpad.net/InterBugTracking. ------------------------------------------------------------------------ On 2010-06-09T18:41:00+00:00 Clint wrote: Created attachment 422647 A crude bug fix that would prevent the erroneous error message. Description of problem: pvmove relies on polldaemon.c:_wait_for_single_lv() to read the percentage complete on the mirror that is used to do the pvmove. However, the mirror goes away sometimes while this program is running, presumably in between init_full_scan_done(0) and locking the volume group. This would appear to be a race condition, so it only happens sometimes. When the problem occurs, a user gets something like this printed out: /dev/sde1: Moved: 99.6% ABORTING: Can't find mirror LV in homedirs for /dev/sde1 This is very confusing, as the user may think that the pvmove operation failed. Version-Release number of selected component (if applicable): 2.02.54, code appears similar in 2.02.67 How reproducible: As this is a race condition, it does not always happen. However users have reported it happening with enough frequency to cause alarm as the error message Steps to reproduce: assuming /dev/sdb has two equal sized partitions of at least 10G Setup: pvcreate /dev/sdb1 pvcreate /dev/sdb2 vgcreate test /dev/sdb1 /dev/sdb2 lvcreate -L 9G -n t1 test /dev/sdb1 Then repeat these in an alternating manner: pvmove -i1 /dev/sdb1 pvmove -i1 /dev/sdb2 It may take many iterations to reproduce the race, or it may never reproduce it, as other factors may be necessary to make it more likely (such as many more physical volumes). Actual results: Expected results: I would expect that if the pvmove completes successfully, that pvmove would show that fact rather than abort. Additional info: Reply at: https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/591475/comments/4 ------------------------------------------------------------------------ On 2010-06-09T18:52:55+00:00 RHEL wrote: This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. Reply at: https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/591475/comments/5 ------------------------------------------------------------------------ On 2010-06-10T10:42:10+00:00 Bryn wrote: Comment on attachment 422647 A crude bug fix that would prevent the erroneous error message. Fix mime type on attachment. Reply at: https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/591475/comments/7 ------------------------------------------------------------------------ On 2011-01-19T22:42:20+00:00 Milan wrote: I sent this patch to fix the issue: https://www.redhat.com/archives/lvm-devel/2011-January/msg00133.html Reply at: https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/591475/comments/9 ------------------------------------------------------------------------ On 2011-01-19T23:13:16+00:00 Milan wrote: Fix in upstream lvm 2.02.82. Reply at: https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/591475/comments/10 ------------------------------------------------------------------------ On 2011-04-04T22:21:07+00:00 Corey wrote: I didn't see any 'ABORT' messages in the pvmove regression test output. Marking verified in the latest rpms. 2.6.32-128.el6.x86_64 lvm2-2.02.83-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 lvm2-libs-2.02.83-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 lvm2-cluster-2.02.83-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 udev-147-2.35.el6 BUILT: Wed Mar 30 07:32:05 CDT 2011 device-mapper-1.02.62-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 device-mapper-libs-1.02.62-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 device-mapper-event-1.02.62-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 device-mapper-event-libs-1.02.62-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 cmirror-2.02.83-3.el6 BUILT: Fri Mar 18 09:31:10 CDT 2011 Reply at: https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/591475/comments/13 ------------------------------------------------------------------------ On 2011-05-19T14:26:03+00:00 errata-xmlrpc wrote: 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-2011-0772.html Reply at: https://bugs.launchpad.net/ubuntu/+source/lvm2/+bug/591475/comments/15 ** Changed in: lvm2 Status: Unknown => Fix Released ** Changed in: lvm2 Importance: Unknown => Low -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to lvm2 in Ubuntu. https://bugs.launchpad.net/bugs/591475 Title: Spurious abort message after successful pvmove Status in lvm2: Fix Released Status in lvm2 package in Ubuntu: Triaged Bug description: Binary package hint: lvm2 lvm2 2.02.39-0ubuntu11 on Karmic. pvmove sometimes issues a spurious error message at the end of a successful move. To wit: # pvmove -i 60 -v /dev/sde1 Finding volume group "homedirs" Archiving volume group "homedirs" metadata (seqno 17). Creating logical volume pvmove0 Moving 25599 extents of logical volume homedirs/homedirs_lv Found volume group "homedirs" Updating volume group metadata Creating volume group backup "/etc/lvm/backup/homedirs" (seqno 18). Found volume group "homedirs" Found volume group "homedirs" Suspending homedirs-homedirs_lv (254:1) with device flush Found volume group "homedirs" Creating homedirs-pvmove0 Loading homedirs-pvmove0 table Resuming homedirs-pvmove0 (254:2) Found volume group "homedirs" Loading homedirs-pvmove0 table Suppressed homedirs-pvmove0 identical table reload. Loading homedirs-homedirs_lv table Resuming homedirs-homedirs_lv (254:1) Checking progress every 60 seconds /dev/sde1: Moved: 1.4% [... time passes ...] /dev/sde1: Moved: 99.6% ABORTING: Can't find mirror LV in homedirs for /dev/sde1 # pvs PV VG Fmt Attr PSize PFree /dev/sdb1 lvm2 -- 100.00G 100.00G /dev/sdc1 lvm2 -- 100.00G 100.00G /dev/sdd1 lvm2 -- 100.00G 100.00G /dev/sde1 homedirs lvm2 a- 100.00G 100.00G /dev/sdf1 homedirs lvm2 a- 100.00G 0 /dev/sdq1 homedirs lvm2 a- 499.99G 100.01G # vgreduce -a homedirs Removed "/dev/sde1" from volume group "homedirs" Physical volume "/dev/sdf1" still in use Physical volume "/dev/sdq1" still in use Despite the scary-looking abort message, the source PV is 100% free and can be removed from the VG. To manage notifications about this bug go to: https://bugs.launchpad.net/lvm2/+bug/591475/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp

