From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Description of problem: I am unable to use ext2 labels to mount lvm based partitions. It fails with a LABEL=<label> duplicate - not mounted. It appears to be based on the partition being references in multiple searches in the /proc filesystem for mount points. Version-Release number of selected component (if applicable): util-linux-2.12a-16.EL4.6 lvm2-2.00.31-1.0.RHEL4 How reproducible: Always Steps to Reproduce: 1. create lvm partition : lvcreate -n test -L 128M lvm0 2. format partition : mke2fs /dev/lvm0/test 3. use e2label to label partition : e2label /dev/lvm0/test testlabel 4. mount LABEL=testlabel /mnt Actual Results: # mount LABEL=testlabel /mnt mount: LABEL=testlabel duplicate - not mounted Expected Results: Successful mouting Additional info: # strace -eopen mount LABEL=testlabel /mnt open("/etc/ld.so.cache", O_RDONLY) = 3 open("/lib64/tls/libc.so.6", O_RDONLY) = 3 open("/usr/lib/locale/locale-archive", O_RDONLY) = 3 open("/dev/null", O_RDWR) = 3 open("/proc/evms/volumes", O_RDONLY) = -1 ENOENT (No such file or directory) open("/proc/partitions", O_RDONLY) = 3 open("/dev/sda1", O_RDONLY) = 4 open("/dev/sda2", O_RDONLY) = 4 open("/dev/sda3", O_RDONLY) = 4 open("/dev/sda5", O_RDONLY) = 4 open("/dev/dm-0", O_RDONLY) = 4 open("/dev/dm-1", O_RDONLY) = 4 open("/dev/dm-2", O_RDONLY) = 4 open("/dev/dm-3", O_RDONLY) = 4 open("/proc/lvm/VGs", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = -1 ENOENT (No such file or directory) open("/dev/mapper", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 3 open("/dev/mapper/lvm0-test", O_RDONLY) = 4 open("/dev/mapper/lvm0-varspoolimap", O_RDONLY) = 4 open("/dev/mapper/lvm0-varlibimap", O_RDONLY) = 4 open("/dev/mapper/lvm0-varlog", O_RDONLY) = 4 open("/usr/share/locale/locale.alias", O_RDONLY) = 3 open("/usr/share/locale/en_US.UTF-8/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US.utf8/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en_US/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.UTF-8/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en.utf8/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/locale/en/LC_MESSAGES/util-linux.mo", O_RDONLY) = -1 ENOENT (No such file or directory) mount: LABEL=testlabel duplicate - not mounted
Obvious fix is to mount by path and not by label.
*** This bug has been marked as a duplicate of 76467 ***