From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 References: In-Reply-To: From: Far Had Date: Mon, 3 Dec 2018 15:40:52 +0330 Message-ID: Content-Type: multipart/alternative; boundary="000000000000172cb1057c1d09ec" Subject: Re: [linux-lvm] lvm.conf backup section Reply-To: LVM general discussion and development List-Id: LVM general discussion and development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , List-Id: To: zkabelac@redhat.com Cc: linux-lvm@redhat.com --000000000000172cb1057c1d09ec Content-Type: text/plain; charset="UTF-8" Hi, Thank you Zdenek You used "makes sure" phrase in your sentence: "this makes sure you should have files at least 10 days back as well" I was refering to that ! So the whole thing is about PV metadata area and not /etc/lvm , am I correct? On Mon, Dec 3, 2018 at 3:03 PM Zdenek Kabelac wrote: > Dne 01. 12. 18 v 13:44 Far Had napsal(a): > > How does it _make sure_ that I've backup files younger than 10 days old? > What > > if I delete those files? > > Hi > > Archives in /etc/lvm/archive subdirs are not 'a must have' - they are > optional > and purely for admin's pleasure. > > So admin can erase them anytime he wants to - but in that case it's > probably > more clever to disable archiving in lvm.conf ;) as archiving eats some > CPU... > > lvm2 itself does *only* care about metadata stored in the 'metadata' area > in > PV header - where there is also ring-buffer which typically keeps pretty > long > history of all metadata modifications - this buffer has these days ~1MiB > in > size. So unless your metadata are pretty big - the history can be > relatively > easily extracted also out from this place for i.e. recovery purpose. > > I must admit I don't understand the 'make sure' part of your question?? > Are you aiming at some particular issue ?? > > Regards > > > Zdenek > --000000000000172cb1057c1d09ec Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi, Thank you Zdenek=C2=A0
You used "makes sure&q= uot; phrase in your sentence:
"this = makes sure you should have=C2=A0files at least 10 days back as well"

I was refering to that !

So the whole= thing is about PV metadata area and not /etc/lvm , am I correct?

On Mon, Dec 3, 201= 8 at 3:03 PM Zdenek Kabelac <zkab= elac@redhat.com> wrote:
Dne = 01. 12. 18 v 13:44 Far Had napsal(a):
> How does it _make sure_=C2=A0that I've backup files younger than 1= 0 days old? What
> if I delete those files?

Hi

Archives in /etc/lvm/archive subdirs are not 'a must have' - they a= re optional
and purely for admin's pleasure.

So admin can erase them anytime he wants to - but in that case it's pro= bably
more clever to disable archiving in lvm.conf ;) as archiving eats some CPU.= ..

lvm2 itself does *only* care about metadata stored in the 'metadata'= ; area in
PV header - where there is also ring-buffer which typically keeps pretty lo= ng
history of all metadata modifications - this buffer has these days ~1MiB in=
size. So unless your metadata are pretty big - the history can be relativel= y
easily extracted also out from this place for i.e. recovery purpose.

I must admit I don't understand the=C2=A0 'make sure' part of y= our question??
Are you aiming at some particular issue ??

Regards


Zdenek
--000000000000172cb1057c1d09ec--