linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Alasdair G Kergon <agk@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] cleaning archive directory
Date: Mon, 6 Mar 2006 17:43:53 +0000	[thread overview]
Message-ID: <20060306174353.GD25317@agk.surrey.redhat.com> (raw)
In-Reply-To: <4406CDB1.1050000@carmen.se>

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
-- 
agk@redhat.com

  reply	other threads:[~2006-03-06 17:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-02 10:49 [linux-lvm] cleaning archive directory Olle Liljenzin
2006-03-06 17:43 ` Alasdair G Kergon [this message]
2006-03-07 15:22   ` Olle Liljenzin
2006-03-07 15:48     ` Alasdair G Kergon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060306174353.GD25317@agk.surrey.redhat.com \
    --to=agk@redhat.com \
    --cc=linux-lvm@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).