Hide Forgot
Description of problem: ./snapper -o hayes-01 -l /home/msp/cmarthal/work/rhel5/sts-root -r /usr/tests/sts-rhel5.8 -e double_auto_extension_of_full_snap SCENARIO - [double_auto_extension_of_full_snap] Create a snapshot and then fill it far enough past the auto extend threshold that multiple auto extends are required to get it back below Enabling snapshot_autoextend_threshold Making origin volume Making snapshot of origin volume Filling snapshot /dev/snapper/double_auto_extension 180000+0 records in 180000+0 records out 92160000 bytes (92 MB) copied, 8.98531 seconds, 10.3 MB/s snapshot doesn't appear to have been extended to 144.00 lvm.conf: snapshot_autoextend_threshold = 70 snapshot_autoextend_percent = 20 [root@hayes-01 ~]# lvs -a -o +devices LV Attr LSize Origin Snap% Devices double_auto_extension swi-a- 120.00M origin 73.33 /dev/etherd/e1.1p1(75) origin owi-a- 300.00M /dev/etherd/e1.1p1(0) # Since the Snap% remains above 70, a second extend should have been executed. Version-Release number of selected component (if applicable): 2.6.18-274.el5 lvm2-2.02.88-3.el5 BUILT: Thu Nov 10 06:53:13 CST 2011 lvm2-cluster-2.02.88-3.el5 BUILT: Thu Nov 10 06:52:02 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
Proposed fix at http://www.redhat.com/archives/lvm-devel/2011-November/msg00095.html (waiting for review).
Checked in upstream.
Fixed in lvm2-2.02.88-5.el5.
Fix verified in the latest rpms. 2.6.18-274.el5 lvm2-2.02.88-5.el5 BUILT: Fri Dec 2 12:25:45 CST 2011 lvm2-cluster-2.02.88-5.el5 BUILT: Fri Dec 2 12:48:37 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 - [double_auto_extension_of_full_snap] Create a snapshot and then fill it far enough past the auto extend threshold that multiple auto extends are required to get it back below Enabling snapshot_autoextend_threshold Making origin volume Making snapshot of origin volume Filling snapshot /dev/snapper/double_auto_extension 180000+0 records in 180000+0 records out 92160000 bytes (92 MB) copied, 4.73226 seconds, 19.5 MB/s Removing volume snapper/double_auto_extension Removing origin snapper/origin Disabling snapshot_autoextend_threshold
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