Package: lvm2
Version: 2.03.11-2.1
Severity: normal
Tags: upstream

Since I upgraded, I am getting messages like this one

 WARNING: PV /dev/sdb2 in VG chiark-early-b is using an old PV header, modify 
the VG to update.

I have read many docs and web pages all of which seem to suggest that
I might want to do something like "vgck --updatemetadata".

However, I can find no documentation which allows me to establish
whether this is safe to use in my use case: I need my LVM PVs to be
readable even with certain older versions of the LVM tools.

The message "modify the VG to update" is also concerning.  Does that
mean that the PV metadata might be automatically updated ?  Is there a
way to prevent this to avoid making my volumes unreadable by older
software ?

I see the following possibilities:

 * Updating is always done but the new format is always readable by
   older tools.  In this case, please treat this bug report as a
   request for this situation to be documented.

 * Updating is not always done, because the new format is not always
   readable by older tools.  In that case, please treat this bug
   report as a request for:
     - documentation of which older versions are able to read
       the newer format(s);
     - a way to suppress the message, for use if the administrator
       finds they cannot safely upgrade.

 * Updating is always done BUT the new format is not always readable
   by older tools.  This would seem like a bug of severity "serious"
   at the very least since it might at least lead to very serious and
   unexpected inconvenience (eg in the context of emergency recovery
   situations, or backup restores).

Thanks,
Ian.

-- System Information:
Debian Release: 11.3
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-15-amd64 (SMP w/8 CPU threads)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages lvm2 depends on:
ii  dmeventd                  2:1.02.175-2.1
ii  dmsetup                   2:1.02.175-2.1
ii  init-system-helpers       1.60
ii  libaio1                   0.3.112-9
ii  libblkid1                 2.36.1-8+deb11u1
ii  libc6                     2.31-13+deb11u3
ii  libdevmapper-event1.02.1  2:1.02.175-2.1
ii  libedit2                  3.1-20191231-2+b1
ii  libselinux1               3.1-3
ii  libsystemd0               247.3-7
ii  libudev1                  247.3-7
ii  lsb-base                  11.1.0

Versions of packages lvm2 recommends:
ii  thin-provisioning-tools  0.9.0-1

lvm2 suggests no packages.

-- Configuration Files:
/etc/lvm/lvm.conf changed [not included]

-- debconf information:
  lvm2/snapshots:

Reply via email to