Bug 750882 - unable to create a redundant logged mirror on a VG with small extents due to invalid dirty region size
Summary: unable to create a redundant logged mirror on a VG with small extents due to ...
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
high
high
Target Milestone: rc
: ---
Assignee: Jonathan Earl Brassow
QA Contact: Cluster QE
URL:
Whiteboard:
Depends On: 737200
Blocks: 743047
TreeView+ depends on / blocked
 
Reported: 2011-11-02 17:00 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: 737200
Environment:
Last Closed: 2012-02-21 06:05:34 UTC
Target Upstream Version:


Attachments (Terms of Use)
Patch applicable to the RHEL5 repository (1.77 KB, patch)
2011-11-11 00:00 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-11-02 17:02:56 UTC
This exists in the current 5.8 rpms.

SCENARIO - [redundant_log_on_small_extent_vg]
Create a redundant logged mirror on a VG with small extents
Recreating VG with smaller (256K) extent size
hayes-02: vgcreate -s 256k mirror_sanity /dev/etherd/e1.1p1 /dev/etherd/e1.1p10 /dev/etherd/e1.1p2 /dev/etherd/e1.1p3 /dev/etherd/e1.1p4 /dev/etherd/e1.1p5 /dev/etherd/e1.1p6 /dev/etherd/e1.1p7 /dev/etherd/e1.1p8 /dev/etherd/e1.1p9
hayes-02: lvcreate -n mirrored_log_on_256kextent_vg -L 200M -m 1 --mirrorlog mirrored mirror_sanity
  device-mapper: reload ioctl failed: Invalid argument
  Aborting. Failed to activate mirror log.
  Failed to initialise mirror log.
couldn't create mirror on small extent VG


Nov  2 10:57:09 hayes-02 qarshd[14586]: Running cmdline: lvcreate -n mirrored_log_on_256kextent_vg -L 200M -m 1 --mirrorlog mirrored mirror_sanity
Nov  2 10:57:11 hayes-02 kernel: device-mapper: table: 253:4: mirror: Invalid region size
Nov  2 10:57:11 hayes-02 kernel: device-mapper: ioctl: error adding target to table


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-11 00:00:19 UTC
Created attachment 532946 [details]
Patch applicable to the RHEL5 repository

Comment 3 Jonathan Earl Brassow 2011-11-11 00:01:49 UTC
Upstream patch (git ID: 39feace42ecc87743b42a0ff46ebc9718502774e) back-ported.

Comment 4 Milan Broz 2011-11-16 15:41:05 UTC
Fixed in lvm2-2.02.88-4.el5.

Comment 6 Corey Marthaler 2011-11-16 21:14:52 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 - [redundant_log_on_small_extent_vg]
Create a redundant logged mirror on a VG with small extents
Recreating VG with smaller (256K) extent size
grant-01: vgcreate -s 256k mirror_sanity /dev/sdb1 /dev/sdb2 /dev/sdb3 /dev/sdb5 /dev/sdb6 /dev/sdc1 /dev/sdc2 /dev/sdc3 /dev/sdc5 /dev/sdc6
grant-01: lvcreate -n mirrored_log_on_256kextent_vg -L 200M -m 1 --mirrorlog mirrored mirror_sanity
Deactivating mirror mirrored_log_on_256kextent_vg... and removing
Restoring VG to default extent size

Comment 7 Milan Broz 2011-12-06 23:34:42 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 8 errata-xmlrpc 2012-02-21 06:05:34 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.