[linux-lvm] cleaning archive directory

Olle Liljenzin olle at carmen.se
Tue Mar 7 15:22:30 UTC 2006


Hi,

Thanks for the answer.

Then I think the clean up is broken in RHEL4.

I have filed a bugzilla for it if someone wants to fix it some day.

/Olle

Alasdair G Kergon wrote:
> On Thu, Mar 02, 2006 at 11:49:21AM +0100, Olle Liljenzin wrote:
> 
>>Is the directory /etc/lvm/archive supposed to be cleaned up manually or 
>>should it be done by some tool?
> 
>  
> 
>>I find parameters like 'retain_min' and 'retain_days' in the file 
>>/etc/lvm.conf, which I thought was indicating some kind of automatic 
>>cleaning tool or process. 
> 
> 
> They should normally get cleaned up automatically.
> 
> The parameters apply to each VG separately, and the checks are made
> whenever a new archive file is written for that VG.
> (So backups of old VGs won't be deleted.)
> 
> Default keeps backups for at least 30 days and won't delete any unless 
> that leaves at least 10 backups of that VG.
> 
> Alasdair




More information about the linux-lvm mailing list