Bug 2042656
| Summary: | control node creation race can lead to inactive volume groups after autoactivation | ||
|---|---|---|---|
| Product: | [Community] LVM and device-mapper | Reporter: | Ferenc Wágner <wferi> |
| Component: | lvm2 | Assignee: | Zdenek Kabelac <zkabelac> |
| lvm2 sub component: | Activating existing Logical Volumes | QA Contact: | cluster-qe <cluster-qe> |
| Status: | POST --- | Docs Contact: | |
| Severity: | unspecified | ||
| Priority: | unspecified | CC: | agk, heinzm, jbrassow, msnitzer, prajnoha, thornber, zkabelac |
| Version: | unspecified | Flags: | pm-rhel:
lvm-technical-solution?
pm-rhel: lvm-test-coverage? |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 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: | |||
|
Description
Ferenc Wágner
2022-01-19 20:51:04 UTC
lvmetad Debian udev rule is likely some 'left-over' relict from the past since 2.03 version of lvm2 no longer provides lvmetad daemon (replaced with other way of autoactivation). However there could have been a race within creation of /dev/mapper/control device as stated in the last line - so here comes the upstream patch: https://listman.redhat.com/archives/lvm-devel/2023-February/024597.html Great, thanks for the fix! Looks like the lvm-metad udev rule is not present in the latest Debian package, so that's probably fixed already. By the way man/lvmautoactivation.7_main still references 69-dm-lvm-metad.rules, is that intended? Ahh - thanks for noticing - this is going to be updated soon - there are some ongoing reworks... |