Bug 2162410
| Summary: | In /dev/mapper/ directory, link to /dev/dm-x device not created after vgmknodes | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | John Pittman <jpittman> |
| Component: | lvm2 | Assignee: | LVM Team <lvm-team> |
| lvm2 sub component: | Udev | QA Contact: | cluster-qe <cluster-qe> |
| Status: | NEW --- | Docs Contact: | |
| Severity: | low | ||
| Priority: | low | CC: | agk, heinzm, jbrassow, msnitzer, nweddle, prajnoha, zkabelac |
| Version: | 9.0 | Keywords: | Triaged |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| 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
John Pittman
2023-01-19 14:07:19 UTC
Can we get attached 'vgmknodes -vvvv' 'dmsetup info -c' 'udevadm info -e' Also note - user should be using/accessing LVs via '/dev/testvg/lvol0' - this is documented and recommended way how to access LVs. Usage of --refresh is actually better here since lvm2 command shouldn't be really used for creation of symlinks in /dev direcotry managed by udev. This is expected - we rely fully on udev to create the /dev content (including the vgmknodes) .As such, we need to trigger appropriate uevents. The "--refresh" will cause the underlying DM mappings to get reloaded/resumed which in turn will trigger these uevents, the pure vgmknodes won't. We should add a note to vgmknodes man page about this. Thanks Peter, Zdenek. As a note, I tested 'vgscan --mknodes' and it shows the same behavior as the regular vgmknodes command. I'm sure you prob already knew it was, just noting in the case you guys wanted to document that as well. Thanks again. |