Description of problem: Old archive files are not removed Version-Release number of selected component (if applicable): lvm2-2.01.14-2.0.RHEL4 How reproducible: Always Steps to Reproduce: 1. lvcreate -L 10M -n test /dev/vg0 2. lvremove /dev/vg0/test 3. repeat a number of times Actual results: The directory /etc/lvm/archive gets filled up with archive files Expected results: Old archive files should be removed, with respect to the parameters 'retain_min' and 'retain_days' in /etc/lvm.conf Additional info: The clean up works in FC4. In both cases with lvm.conf unmodified.
Please provide specific details: long listing of the backup and archive directories before and after lvm.conf
and output of: vgcfgrestore -ll
Ah - I've reproduced something similar.
Created attachment 125757 [details] lvm.conf
I guess you don't want my listings now when you reproduced it. :-)
A fix applied upstream for 2.02.03
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2006-0504.html