Description of problem: Even with the threshold turned off, lvm still reports automatic extension of volumes when they are being written to and filling up. # Setting snapshot_autoextend_threshold to 100 disables automatic # extensions. The minimum value is 50 (A setting below 50 will be treated # as 50). snapshot_autoextend_threshold = 100 snapshot_autoextend_percent = 20 [root@taft-01 ~]# lvs -a -o +devices LV VG Attr LSize Origin Snap% Devices origin snapper owi-a- 300.00M /dev/sdh1(0) snap1 snapper swi-a- 52.00M origin 84.85 /dev/sdh1(75) From log: May 27 11:08:12 taft-01 lvm[7319]: Extension of snapshot snapper/snap1 finished successfully. May 27 11:08:42 taft-01 last message repeated 3 times May 27 11:08:52 taft-01 lvm[7319]: Snapshot snapper-snap1 is now 81% full. May 27 11:08:52 taft-01 lvm[7319]: Extension of snapshot snapper/snap1 finished successfully. Version-Release number of selected component (if applicable): 2.6.18-261.el5 lvm2-2.02.84-3.el5 BUILT: Wed Apr 27 03:42:24 CDT 2011 lvm2-cluster-2.02.84-3.el5 BUILT: Wed Apr 27 03:42:43 CDT 2011 device-mapper-1.02.63-3.el5 BUILT: Thu May 19 08:09:22 CDT 2011 device-mapper-event-1.02.63-3.el5 BUILT: Thu May 19 08:09:22 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 How reproducible: Everytime
I have removed the message altogether, as it is redundant nowadays (LVM command in question reports everything relevant already).
Fixed in lvm2-2.02.88-2.el5.
"Extension of snapshot $snap finished successfully" messages are no longer reported at all, even when threshold is turned on. Marking verified. Nov 17 16:16:08 hayes-01 lvm[7344]: Monitoring snapshot snapper-auto_extension Nov 17 16:16:18 hayes-01 lvm[7344]: Extending logical volume auto_extension to 120.00 MB Nov 17 16:16:18 hayes-01 lvm[7344]: Logical volume auto_extension successfully resized Nov 17 16:23:33 hayes-01 lvm[7344]: No longer monitoring snapshot snapper-auto_extension Nov 17 16:25:02 hayes-01 lvm[7344]: Monitoring snapshot snapper-auto_extension Nov 17 16:25:12 hayes-01 lvm[7344]: Extending logical volume auto_extension to 120.00 MB Nov 17 16:25:12 hayes-01 lvm[7344]: Logical volume auto_extension successfully resized Nov 17 16:25:20 hayes-01 lvm[7344]: No longer monitoring snapshot snapper-auto_extension 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
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