Bug 184226 - Old archive files not cleaned up
Summary: Old archive files not cleaned up
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: lvm2
Version: 4.0
Hardware: i386
OS: Linux
Target Milestone: ---
: ---
Assignee: Alasdair Kergon
QA Contact:
Depends On:
Blocks: 181409
TreeView+ depends on / blocked
Reported: 2006-03-07 15:10 UTC by Olle Liljenzin
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Clone Of:
Last Closed: 2006-08-10 21:46:19 UTC

Attachments (Terms of Use)
lvm.conf (10.15 KB, text/plain)
2006-03-07 15:36 UTC, Olle Liljenzin
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2006:0504 normal SHIPPED_LIVE lvm2 bug fix and enhancement update 2006-08-10 04:00:00 UTC

Description Olle Liljenzin 2006-03-07 15:10:55 UTC
Description of problem:
Old archive files are not removed

Version-Release number of selected component (if applicable):

How reproducible:

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.

Comment 1 Alasdair Kergon 2006-03-07 15:14:02 UTC
Please provide specific details:
   long listing of the backup and archive directories before and after

Comment 2 Alasdair Kergon 2006-03-07 15:17:06 UTC
and output of: vgcfgrestore -ll

Comment 3 Alasdair Kergon 2006-03-07 15:29:46 UTC
Ah - I've reproduced something similar.

Comment 4 Olle Liljenzin 2006-03-07 15:36:31 UTC
Created attachment 125757 [details]

Comment 5 Olle Liljenzin 2006-03-07 15:41:59 UTC
I guess you don't want my listings now when you reproduced it. :-)

Comment 6 Alasdair Kergon 2006-03-07 15:46:21 UTC
A fix applied upstream for 2.02.03

Comment 12 Red Hat Bugzilla 2006-08-10 21:46:24 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.