Bug 497246
Summary: | /dev/dm-N names cause problems with LVM | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Gerry Reno <greno> |
Component: | kernel | Assignee: | LVM and device-mapper development team <lvm-team> |
Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | low | ||
Version: | 10 | CC: | agk, bmarzins, bmr, dwysocha, heinzm, itamar, kernel-maint, lvm-team, mbroz, msnitzer, prockai, quintela, zing |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-04-23 08:04:06 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Gerry Reno
2009-04-22 23:23:41 UTC
This needs transferring to whichever component is responsible for updating fstab. Anyone any ideas which that is? dm-N are internal kernel names that should not be used for anything except debugging. After one of these devices gets renamed somehow we have problems with our tools and things look like this: /etc/fstab: UUID is used df: /dev/dm-N name is used mount: /dev/dm-N name is used blkid: both /dev/mapper/VolGroup02-LogVol00 and /dev/dm-2 have the same UUID. This is neither kernel nor lvm2 problem. Probably mkinird one, which misinterprets device names, I am marking this as duplicate of bug #475773. I hope that in future there no dm-X devices are visible in userspace, these are internal kernel names and are not persistent... *** This bug has been marked as a duplicate of bug 475773 *** Could you please explain how the issue in this bug is the same as the mkinitrd issue in the referenced bug? I see no relation between the two issues. The problems we are seeing have nothing to do with mkinitrd. This appears to be a kernel problem. Please reopen this bug. No, it is not. Please read comment https://bugzilla.redhat.com/show_bug.cgi?id=497259#c3 Also please read https://bugzilla.redhat.com/show_bug.cgi?id=475773#c10 - I tried to explain what the dm-X device means. Maybe there is still some hidden problem during update, but it is not kernel problem. If you have reproducer (without mkinitrd / kernel update involved) please paste it here so we can reopen and reassign that bug to proper component. Milan, can you please reopen this bug as well. What we are seeing does not appear related to the mkinitrd issue. And upon checking this problem again, the entries in /etc/fstab are all UUIDs. It is only command outputs such as 'mount' and 'df' and 'blkid' and such that show these random changes to /dev/dm-N style rather than the normal /dev/mapper/VG-LV style. And when you parse 'blkid' by UUID you get back non-unique result which by definition should not happen. UUID by definition is unique. That is the whole purpose of UUID. |