Feature update for lvm2

Announcement ID: SUSE-FU-2023:4678-1
Rating: important
References:
Affected Products:
  • Basesystem Module 15-SP5
  • openSUSE Leap 15.5
  • SUSE Linux Enterprise Desktop 15 SP5
  • SUSE Linux Enterprise High Availability Extension 15 SP5
  • SUSE Linux Enterprise High Performance Computing 15 SP5
  • SUSE Linux Enterprise Micro 5.5
  • SUSE Linux Enterprise Real Time 15 SP5
  • SUSE Linux Enterprise Server 15 SP5
  • SUSE Linux Enterprise Server for SAP Applications 15 SP5

An update that contains two features and has one fix can now be installed.

Description:

This update for lvm2 fixes the following issues:

Updated lvm2 from LVM2.2.03.16 to LVM2.2.03.22 (jsc#PED-6753,jsc#PED-6754):

  • Version 2.03.22:
  • Fixed issues with LVM filters no longer working with SUSE Linux Enterprise 15 Service Pack 5 (bsc#1216938)
  • Fixed pv_major/pv_minor report field types so they are integers, not strings.
  • Added lvmdevices --delnotfound to delete entries for missing devices.
  • Always use cachepool name for metadata backup LV for lvconvert --repair.
  • Make metadata backup LVs read-only after pool's lvconvert --repair.
  • Improve VDO and Thin support with lvmlockd.
  • Handle lvextend --usepolicies for pools for all activation variants.
  • Fixed memleak in vgchange autoactivation setup.
  • Update py-compile building script.
  • Support conversion from thick to fully provisioned thin LV.
  • Cache/Thin-pool can use error and zero volumes for testing.
  • Individual thin volume can be cached, but cannot take snapshot.
  • Better internal support for handling error and zero target (for testing).
  • Resize COW above trimmed maximal size is does not return error.
  • Support parsing of vdo geometry format version 4.
  • Added lvm.conf thin_restore and cache_restore settings.
  • Handle multiple mounts while resizing volume with a FS.
  • Handle leading/trailing spaces in sys_wwid and sys_serial used by deivce_id.
  • Enhance lvm_import_vdo and use snapshot when converting VDO volume.
  • Fixed parsing of VDO metadata.
  • Fixed failing -S|--select for non-reporting cmds if using LV info/status fields.
  • Allow snapshots of raid+integrity LV.
  • Fixed multisegment RAID1 allocator to prevent using single disk for more legs.

  • Version 2.03.21:

  • Fixed activation of vdo-pool for with 0 length headers (converted pools).
  • Avoid printing internal init messages when creation integration devices.
  • Allow (write)cache over raid+integrity LV.

  • Version 2.03.20:

  • Fixed segfault if using -S|--select with log/report_command_log=1 setting.
  • Configure now fails when requested lvmlockd dependencies are missing.
  • Added some configure Gentoo enhancements for static builds.

  • Version 2.03.19:

  • Configure supports --with-systemd-run executed from udev rules.
  • Enhancement for build with MuslC systemd and non-bash system shells (dash).
  • Do not reset SYSTEMD_READY variable in udev for PVs on MD and loop devices.
  • Ensure udev is processing origin LV before its thick snapshots LVs.
  • Fixed and improve runtime memory size detection for VDO volumes.

  • Version 2.03.18:

  • Fixed issues reported by coverity scan.
  • Fixed warning for thin pool overprovisioning on lvextend (2.03.17).
  • Added support for writecache metadata_only and pause_writeback settings.
  • Fixed missing error messages in lvmdbusd.

  • Version 2.03.17:

  • Added new options (--fs, --fsmode) for FS handling when resizing LVs.
  • Fixed lvremove -S|--select LV to not also remove its historical LV right away.
  • Fixed lv_active field type to binary so --select and --binary applies properly.
  • Switch to use mallinfo2 and use it only with glibc.
  • Error out in lvm shell if using a cmd argument not supported in the shell.
  • Fixed lvm shell's lastlog command to report previous pre-command failures.
  • Extend VDO and VDOPOOL without flushing and locking fs.
  • Added --valuesonly option to lvmconfig to print only values without keys.
  • Updates configure with recent autoconf tooling.
  • Fixed lvconvert --test --type vdo-pool execution.
  • Added json_std output format for more JSON standard compliant version of output.
  • Fixed vdo_slab_size_mb value for converted VDO volume.
  • Fixed many corner cases in device_id, including handling of S/N duplicates.
  • Fixed various issues in lvmdbusd.

Patch Instructions:

To install this SUSE update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
Alternatively you can run the command listed for your product:

  • openSUSE Leap 15.5
    zypper in -t patch SUSE-2023-4678=1 openSUSE-SLE-15.5-2023-4678=1
  • SUSE Linux Enterprise Micro 5.5
    zypper in -t patch SUSE-SLE-Micro-5.5-2023-4678=1
  • Basesystem Module 15-SP5
    zypper in -t patch SUSE-SLE-Module-Basesystem-15-SP5-2023-4678=1
  • SUSE Linux Enterprise High Availability Extension 15 SP5
    zypper in -t patch SUSE-SLE-Product-HA-15-SP5-2023-4678=1

Package List:

  • openSUSE Leap 15.5 (aarch64 ppc64le s390x x86_64 i586)
    • lvm2-devel-2.03.22-150500.7.9.1
    • lvm2-lockd-2.03.22-150500.7.9.1
    • liblvm2cmd2_03-debuginfo-2.03.22-150500.7.9.1
    • lvm2-debugsource-2.03.22-150500.7.9.1
    • device-mapper-2.03.22_1.02.196-150500.7.9.1
    • libdevmapper1_03-debuginfo-2.03.22_1.02.196-150500.7.9.1
    • lvm2-device-mapper-debugsource-2.03.22-150500.7.9.1
    • libdevmapper-event1_03-debuginfo-2.03.22_1.02.196-150500.7.9.1
    • libdevmapper-event1_03-2.03.22_1.02.196-150500.7.9.1
    • lvm2-lockd-debuginfo-2.03.22-150500.7.9.1
    • lvm2-lvmlockd-debugsource-2.03.22-150500.7.9.1
    • device-mapper-debuginfo-2.03.22_1.02.196-150500.7.9.1
    • lvm2-debuginfo-2.03.22-150500.7.9.1
    • lvm2-2.03.22-150500.7.9.1
    • lvm2-testsuite-debuginfo-2.03.22-150500.7.9.1
    • liblvm2cmd2_03-2.03.22-150500.7.9.1
    • lvm2-testsuite-2.03.22-150500.7.9.1
    • device-mapper-devel-2.03.22_1.02.196-150500.7.9.1
    • libdevmapper1_03-2.03.22_1.02.196-150500.7.9.1
  • openSUSE Leap 15.5 (x86_64)
    • libdevmapper-event1_03-32bit-2.03.22_1.02.196-150500.7.9.1
    • libdevmapper1_03-32bit-debuginfo-2.03.22_1.02.196-150500.7.9.1
    • libdevmapper-event1_03-32bit-debuginfo-2.03.22_1.02.196-150500.7.9.1
    • libdevmapper1_03-32bit-2.03.22_1.02.196-150500.7.9.1
    • device-mapper-devel-32bit-2.03.22_1.02.196-150500.7.9.1
  • openSUSE Leap 15.5 (aarch64_ilp32)
    • libdevmapper1_03-64bit-2.03.22_1.02.196-150500.7.9.1
    • libdevmapper-event1_03-64bit-debuginfo-2.03.22_1.02.196-150500.7.9.1
    • libdevmapper1_03-64bit-debuginfo-2.03.22_1.02.196-150500.7.9.1
    • device-mapper-devel-64bit-2.03.22_1.02.196-150500.7.9.1
    • libdevmapper-event1_03-64bit-2.03.22_1.02.196-150500.7.9.1
  • SUSE Linux Enterprise Micro 5.5 (aarch64 s390x x86_64)
    • device-mapper-2.03.22_1.02.196-150500.7.9.1
    • libdevmapper1_03-debuginfo-2.03.22_1.02.196-150500.7.9.1
    • lvm2-debugsource-2.03.22-150500.7.9.1
    • libdevmapper-event1_03-debuginfo-2.03.22_1.02.196-150500.7.9.1
    • libdevmapper-event1_03-2.03.22_1.02.196-150500.7.9.1
    • libdevmapper1_03-2.03.22_1.02.196-150500.7.9.1
    • device-mapper-debuginfo-2.03.22_1.02.196-150500.7.9.1
    • liblvm2cmd2_03-debuginfo-2.03.22-150500.7.9.1
    • lvm2-2.03.22-150500.7.9.1
    • liblvm2cmd2_03-2.03.22-150500.7.9.1
    • lvm2-debuginfo-2.03.22-150500.7.9.1
  • Basesystem Module 15-SP5 (aarch64 ppc64le s390x x86_64)
    • lvm2-devel-2.03.22-150500.7.9.1
    • device-mapper-2.03.22_1.02.196-150500.7.9.1
    • libdevmapper1_03-debuginfo-2.03.22_1.02.196-150500.7.9.1
    • liblvm2cmd2_03-debuginfo-2.03.22-150500.7.9.1
    • lvm2-debugsource-2.03.22-150500.7.9.1
    • libdevmapper-event1_03-debuginfo-2.03.22_1.02.196-150500.7.9.1
    • libdevmapper-event1_03-2.03.22_1.02.196-150500.7.9.1
    • device-mapper-debuginfo-2.03.22_1.02.196-150500.7.9.1
    • device-mapper-devel-2.03.22_1.02.196-150500.7.9.1
    • libdevmapper1_03-2.03.22_1.02.196-150500.7.9.1
    • lvm2-2.03.22-150500.7.9.1
    • liblvm2cmd2_03-2.03.22-150500.7.9.1
    • lvm2-debuginfo-2.03.22-150500.7.9.1
  • Basesystem Module 15-SP5 (x86_64)
    • libdevmapper1_03-32bit-debuginfo-2.03.22_1.02.196-150500.7.9.1
    • libdevmapper1_03-32bit-2.03.22_1.02.196-150500.7.9.1
  • SUSE Linux Enterprise High Availability Extension 15 SP5 (aarch64 ppc64le s390x x86_64)
    • lvm2-lockd-debuginfo-2.03.22-150500.7.9.1
    • lvm2-lockd-2.03.22-150500.7.9.1
    • lvm2-lvmlockd-debugsource-2.03.22-150500.7.9.1

References: