From: Gionatan Danti <g.danti@assyoma.it>
To: LVM general discussion and development <linux-lvm@redhat.com>
Cc: Eric Ren <zren@suse.com>
Subject: Re: [linux-lvm] When and why vgs command can change metadata and incur old metadata to be backed up?
Date: Mon, 30 Oct 2017 19:11:16 +0100 [thread overview]
Message-ID: <02763e2a9b9872a01a7a0e4e54e2230e@assyoma.it> (raw)
In-Reply-To: <20171030170451.GB28695@redhat.com>
Il 30-10-2017 18:04 David Teigland ha scritto:
> On Mon, Oct 30, 2017 at 02:06:45PM +0800, Eric Ren wrote:
>> Hi all,
>>
>> Sometimes, I see the following message in the VG metadata backups
>> under
>> /etc/lvm/archive:
>>
>> """
>> contents = "Text Format Volume Group"
>> version = 1
>>
>> description = "Created *before* executing 'vgs'"
>> """
>>
>> I'm wondering when and why the new backups will be created by
>> reporting
>> command like vgs?
>
> It's probably a case where lvm sees something wrong after reading the
> VG
> metadata, and automatically tries to fix it, writing a corrected
> version
> of the metadata to disk. This means that even a command that only
> reads
> and reports lvm information can potentially write to disk.
Interesting. Eric, can you show the *before* and *after* vgs textual
metadata (you should find them in /etc/lvm/archive)?
> that in theory are only reading and reporting information. I've also
> suggested that whenever repairs are done, lvm should record a
> persistent
> message in the system log with the details, but that idea didn't get a
> great reception.
Just to know: why the idea of syslog reporting was discarded?
Thanks.
--
Danti Gionatan
Supporto Tecnico
Assyoma S.r.l. - www.assyoma.it
email: g.danti@assyoma.it - info@assyoma.it
GPG public key ID: FF5F32A8
next prev parent reply other threads:[~2017-10-30 18:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-30 6:06 [linux-lvm] When and why vgs command can change metadata and incur old metadata to be backed up? Eric Ren
2017-10-30 17:04 ` David Teigland
2017-10-30 18:11 ` Gionatan Danti [this message]
2017-10-30 18:50 ` David Teigland
2017-10-31 7:54 ` Eric Ren
2017-10-30 22:56 ` Alasdair G Kergon
2017-11-04 7:24 ` Eric Ren
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=02763e2a9b9872a01a7a0e4e54e2230e@assyoma.it \
--to=g.danti@assyoma.it \
--cc=linux-lvm@redhat.com \
--cc=zren@suse.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.