Bug 749359 - "Internal error: Performing unsafe table load" error during mirror image split
Summary: "Internal error: Performing unsafe table load" error during mirror image split
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: lvm2
Version: 5.8
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Jonathan Earl Brassow
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On: 732142
Blocks: 743047
TreeView+ depends on / blocked
 
Reported: 2011-10-26 19:46 UTC by Corey Marthaler
Modified: 2012-02-21 06:05 UTC (History)
9 users (show)

Fixed In Version: lvm2-2.02.88-4.el5
Doc Type: Bug Fix
Doc Text:
Do not document (bug in unreleased version).
Clone Of: 732142
Environment:
Last Closed: 2012-02-21 06:05:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Patch applicable to the RHEL5 repository (20.33 KB, patch)
2011-11-14 15:53 UTC, Jonathan Earl Brassow
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0161 0 normal SHIPPED_LIVE lvm2 bug fix and enhancement update 2012-02-20 15:07:59 UTC

Comment 1 Corey Marthaler 2011-10-26 19:52:51 UTC
This bug exists in latest 5.8 rpms as well.

SCENARIO - [split_off_multiple_images]
Create a mirror with many legs and then split off multiple images creating multiple mirrors
hayes-01: lvcreate -m 4 -n split_multiple_images -L 300M split_image
Waiting until all mirrors become fully syncd...
   0/1 mirror(s) are fully synced: ( 40.00% )
   0/1 mirror(s) are fully synced: ( 80.67% )
   1/1 mirror(s) are fully synced: ( 100.00% )

splitting off multiple legs...
Although the mirror removal passed, errors were found in it's output
  Internal error: Performing unsafe table load while 7 device(s) are known to be suspended:  (253:9) 
  Internal error: Performing unsafe table load while 7 device(s) are known to be suspended:  (253:6) 
  Logical volume split_multiple_images converted.


LV                               Attr   LSize   Log                        Copy%  Devices
new                              mwi-a- 300.00M                            100.00 new_mimage_0(0),new_mimage_1(0)
[new_mimage_0]                   iwi-ao 300.00M                                   /dev/etherd/e1.1p3(0)
[new_mimage_1]                   iwi-ao 300.00M                                   /dev/etherd/e1.1p2(0)
split_multiple_images            mwi-a- 300.00M split_multiple_images_mlog 100.00 split_multiple_images_mimage_0(0),split_multiple_images_mimage_1(0),split_multiple_images_mimage_2(0)
[split_multiple_images_mimage_0] iwi-ao 300.00M                                   /dev/etherd/e1.1p6(0)
[split_multiple_images_mimage_1] iwi-ao 300.00M                                   /dev/etherd/e1.1p5(0)
[split_multiple_images_mimage_2] iwi-ao 300.00M                                   /dev/etherd/e1.1p4(0)
[split_multiple_images_mlog]     lwi-ao   4.00M                                   /dev/etherd/e1.1p1(0)


2.6.18-274.el5

lvm2-2.02.88-2.el5    BUILT: Fri Oct 21 09:48:50 CDT 2011
lvm2-cluster-2.02.88-2.el5    BUILT: Fri Oct 21 09:49:24 CDT 2011
device-mapper-1.02.67-2.el5    BUILT: Mon Oct 17 08:31:56 CDT 2011
device-mapper-event-1.02.67-2.el5    BUILT: Mon Oct 17 08:31:56 CDT 2011
cmirror-1.1.39-10.el5    BUILT: Wed Sep  8 16:32:05 CDT 2010
kmod-cmirror-0.1.22-3.el5    BUILT: Tue Dec 22 13:39:47 CST 2009

Comment 2 Jonathan Earl Brassow 2011-11-14 15:53:45 UTC
Created attachment 533557 [details]
Patch applicable to the RHEL5 repository

Pull a number of patches that alter the split mirror code back into RHEL5.  These patches fix the issue, but may also resolve other unrelated issues.  There isn't really a way to disentangle them.  The unified patch contains all of the git commit information for all the patches pulled in the header.

Comment 5 Milan Broz 2011-11-16 15:40:56 UTC
Fixed in lvm2-2.02.88-4.el5.

Comment 7 Corey Marthaler 2011-11-16 20:40:20 UTC
Fix verified in the latest rpms.

2.6.18-274.el5
lvm2-2.02.88-4.el5    BUILT: Wed Nov 16 09:40:55 CST 2011
lvm2-cluster-2.02.88-4.el5    BUILT: Wed Nov 16 09:46:51 CST 2011
device-mapper-1.02.67-2.el5    BUILT: Mon Oct 17 08:31:56 CDT 2011
device-mapper-event-1.02.67-2.el5    BUILT: Mon Oct 17 08:31:56 CDT 2011
cmirror-1.1.39-10.el5    BUILT: Wed Sep  8 16:32:05 CDT 2010
kmod-cmirror-0.1.22-3.el5    BUILT: Tue Dec 22 13:39:47 CST 2009


SCENARIO - [split_off_multiple_images]
Create a mirror with many legs and then split off multiple images creating multiple mirrors
grant-01: lvcreate -m 4 -n split_multiple_images -L 300M split_image
Waiting until all mirrors become fully syncd...
   0/1 mirror(s) are fully synced: ( 96.83% )
   1/1 mirror(s) are fully synced: ( 100.00% )

splitting off multiple legs...

Deactivating mirror new... and removing
Deactivating mirror split_multiple_images... and removing

Comment 8 Milan Broz 2011-12-06 23:30:33 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Do not document (bug in unreleased version).

Comment 9 errata-xmlrpc 2012-02-21 06:05:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0161.html


Note You need to log in before you can comment on or make changes to this bug.