Red Hat Bugzilla – Bug 62414
mount fails on boot when filesystem has label
Last modified: 2007-04-18 12:41:29 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.79 [en] (X11; U; Linux 2.4.9-31 i586)
Description of problem:
I'm seeing an intermittent failure to mount filesystems with labels. The error
mount: special device LABEL=/usr does not exist
Five boots out of ten have this problem. email@example.com has already pointed
out in bug 35980 that mount suffers from the same problem in reading
/proc/partitions that was causing strange behaviour in fsck. If I apply
essentially the same fix to mount that alane supplies (in attachment 15406 [details]) for
fsck mount works properly in ten boots out of ten.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Use labelled filesystems in /etc/fstab.
2. Have sufficient filesystems that /proc/partitions is > 1024 bytes.
3. Boot the system.
Actual Results: Five times out of ten mounting of labelled filesystems failed
at the 'Mounting local filesystems' phase. The filesystems are mounted at a
later phase, but not before various other things have gone wrong. e.g.
/usr/sbin/kudzu couldn't be run because /usr wasn't mounted.
Expected Results: All filesystems should have been mounted without complaint.
mount_by_label.c in rawhide now uses a 16k buffer, which should aleviate a
significant number of these problems.