Bug 507461

Summary: blkid returns dm-* for UUIDs instead of /dev/mapper name
Product: [Fedora] Fedora Reporter: Zing <zing>
Component: e2fsprogsAssignee: Eric Sandeen <esandeen>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: esandeen, kzak, oliver, torsten.rausche
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.41.4-12.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-23 19:12:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Zing 2009-06-22 20:42:57 UTC
Description of problem:
I was fooling around with mounting by UUID in my fstab and noticed that tools like mount and df started returning dm-* device names, where I expected /dev/mapper names.

... I tried two patches (the tip @ 46f3eeca59) and that looked like it fixed it on my end (admittedly a quick test though).


Version-Release number of selected component (if applicable):
e2fsprogs-1.41.4-10.fc11

How reproducible:
fairly easily

Steps to Reproduce:
1. have a lv available or one that exists (i.e. /usr, /tmp, etc.)
2. in /etc/fstab switch to mount it by "UUID=<uuid num>"
3. reboot
4. $ blkid -l -t UUID=<uuid num>

Actual results:
/dev/dm-?: UUID=<uuid num>

Expected results:
/dev/mapper/myvg-usrlv: UUID=<uuid num>

Comment 1 Eric Sandeen 2009-06-24 17:39:43 UTC
This upstream patch should fix it:

http://git.kernel.org/?p=fs/ext2/e2fsprogs.git;a=commitdiff_plain;h=4271e23942bdc60e1fa6c0b26bc666a94a8b3e1d

and I'm currently building it into F10 and F11 to fix bug #497259

It should be in updates-testing shortly.

Thanks,
-Eric

Comment 2 Fedora Update System 2009-06-27 02:53:38 UTC
e2fsprogs-1.41.4-6.fc10 has been pushed to the Fedora 10 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update e2fsprogs'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-7005

Comment 3 Fedora Update System 2009-06-30 15:38:08 UTC
e2fsprogs-1.41.4-12.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/e2fsprogs-1.41.4-12.fc11

Comment 4 Fedora Update System 2009-07-02 05:53:51 UTC
e2fsprogs-1.41.4-12.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update e2fsprogs'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-7278

Comment 5 Fedora Update System 2009-07-23 19:11:48 UTC
e2fsprogs-1.41.4-6.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2009-08-08 19:25:31 UTC
e2fsprogs-1.41.4-12.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.