Bug 1960618

Summary: Update to lvm2 version 2.03.12 or later
Product: Red Hat Enterprise Linux 9 Reporter: Marian Csontos <mcsontos>
Component: lvm2Assignee: Marian Csontos <mcsontos>
lvm2 sub component: Other QA Contact: cluster-qe <cluster-qe>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: unspecified    
Priority: high CC: agk, bstinson, cmarthal, heinzm, jbrassow, jwboyer, msnitzer, prajnoha, zkabelac
Version: CentOS StreamKeywords: Triaged
Target Milestone: betaFlags: pm-rhel: mirror+
Target Release: 9.0 Beta   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: lvm2-2.03.12-3.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-07 21:42:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1749513    
Bug Blocks:    

Description Marian Csontos 2021-05-14 12:04:34 UTC
lvm2 upstream is constantly fixing bugs, so we should move to the latest version.

Lvm2 releases should be compatible with previous versions, except where:

- operations not working correctly are disabled,
- confirm is required for certain dangerous actions.

There are two new features though:

- default use of device file for filtering devices for PVs.
- metadata based auto activation.

Anything else will be treated as a bug.

*Device file*

When on devices file is used to filter devices which are scanned for PVs.
Devices file can be overridden by --devicesfile on command line.

Two new commands to manipulate devices file - lvmdevices(8) and
vgimportdevices(8), and new configuration options in devices section:
use_devicesfile, devicesfile and search_for_devnames.

When devices file is used for filtering the filters in lvm.conf are not used - the exact device list is used.

*Metadata based autoactivation*

Auto activation based on metadata property for LVs and VGs set in lvcreate/vgcreate using --setautoactivation option and modified by lvchange/vgchange.

This allows skipping auto-activation for whole VG or particular LVs.

Comment 7 Corey Marthaler 2021-09-01 22:44:27 UTC
Marking Verified:Tested,SanityOnly based on current cursory rhel9 beta regression testing.

kernel-5.14.0-0.rc7.54.el9    BUILT: Tue Aug 24 02:54:42 PM CDT 2021
lvm2-2.03.13-1.el9    BUILT: Thu Aug 12 10:44:54 AM CDT 2021
lvm2-libs-2.03.13-1.el9    BUILT: Thu Aug 12 10:44:54 AM CDT 2021