| Summary: | snapshot auto extend feature fails to execute a second time when needed | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Corey Marthaler <cmarthal> |
| Component: | lvm2 | Assignee: | Petr Rockai <prockai> |
| Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 5.8 | CC: | agk, dwysocha, heinzm, jbrassow, mbroz, prajnoha, prockai, thornber, zkabelac |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | lvm2-2.02.88-5.el5 | Doc Type: | Bug Fix |
| Doc Text: |
Do not document (bug in unreleased version).
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-21 06:05:40 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 758797 | ||
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 |
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