[linux-lvm] When and why vgs command can change metadata and incur old metadata to be backed up?
g.danti at assyoma.it
Mon Oct 30 18:11:16 UTC 2017
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
>> 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
>> command like vgs?
> It's probably a case where lvm sees something wrong after reading the
> metadata, and automatically tries to fix it, writing a corrected
> of the metadata to disk. This means that even a command that only
> 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
> 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?
Assyoma S.r.l. - www.assyoma.it
email: g.danti at assyoma.it - info at assyoma.it
GPG public key ID: FF5F32A8
More information about the linux-lvm