From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1b) Gecko/20020722 Description of problem: A RAID1 device cannot be mounted using its LABEL in /etc/fstab: mount says there's more than one partition with that label and bails out. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.Create an ext3 with LABEL=/l on a RAID 1 device with two partitions. 2.Add an entry to /etc/fstab to mount /l from LABEL=/l 3.Try to mount it. Actual Results: It will report a failure to mount /l because there is more than one partition with such a label. Expected Results: It should just mount it. Additional info: I also had a (non-RAID) partition with label /l/x that might be getting mount confused. Even if this is the case, mounting them by label worked on 7.3. I've verified that the RAID modules are loaded and cat /proc/mdstat shows /dev/md0 (that contains the /l filesystem) is active.
Followed instructions exactly, can't reproduce here with util-linux-2.11r-8 Please verify that you really don't have more than one mountable device with the '/l' label.
I do. All of the RAID 1 components are individually mountable. I believe this is why mount gets confused. I see with strace that mount reads the labels of all of the RAID component devices when looking for partition labels. It should probably skip RAID components when doing this. Tested with util-linux-2.11r-8 and mount-2.11r-8.
Created attachment 69404 [details] Driver program for the is_raid_partition function (new and improved)
util-linux-2.11r-9 (in beehive/rawhide) has, I think, the fixes for my braindead detection. If it doesn't, please let me know.
The driver program has correctly detected all my raid devices, and noticed that the non-raid ones weren't. I'll try the new RPMS after they show up in rawhide. Thanks for looking into this!
Confirmed fixed in util-linux-2.11r-9. Now similar code has to be merged into nash, so that RAID1 root can be properly mounted. Thanks!
Can you give any indication as to when an errata will be available for 7.2? Thanks Kambiz
Not planning on it.