Hide Forgot
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
Created attachment 532946 [details] Patch applicable to the RHEL5 repository
Upstream patch (git ID: 39feace42ecc87743b42a0ff46ebc9718502774e) back-ported.
Fixed in lvm2-2.02.88-4.el5.
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
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).
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