Bug 62414

Summary: mount fails on boot when filesystem has label
Product: [Retired] Red Hat Linux Reporter: Ron Yorston <rmy>
Component: mountAssignee: Elliot Lee <sopwith>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-03-02 23:07:41 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 Ron Yorston 2002-03-31 13:39:36 UTC
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
message is:

   mount: special device LABEL=/usr does not exist

Five boots out of ten have this problem.  alane 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):


How reproducible:
Sometimes

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.

Additional info:

Comment 1 Elliot Lee 2002-04-15 16:04:33 UTC
mount_by_label.c in rawhide now uses a 16k buffer, which should aleviate a
significant number of these problems.