Filesystems Not Mounting

Rick Stevens rstevens at internap.com
Wed Nov 21 00:48:38 UTC 2007


On Tue, 2007-11-20 at 16:56 -0600, Aaron Konstam wrote:
> On Tue, 2007-11-20 at 16:39 -0500, Gene Poole wrote:
> > 
> > Let me clarify:
> >       At boot time when all of the entries in fstab are normally
> > mounted,
> >       the duplicates in the fstab are not mounted. The duplicate
> > entries
> >       are a result of the following:
> >          As an example, I entered a 'ls -ltr /usr/oracle' and a single
> > line
> >          containing 0 was returned (it should have at least showed the
> >          lost+found directory entry).
> >          I then entered 'sudo mount -a'; and received many messages
> > stating
> >          that there are missing mount points.
> >          As an example I entered 'sudo mkdir -p /usr/oracle'
> >          I then entered:  'sudo mount /dev/mapper/DBMSVG00-DBMSLV00
> >          /usr/oracle' (from my fstab entry)
> >          At this point is when I realized that there are now duplicate
> >          entries in fstab, however, /usr/oracle is available and
> > usable.
> > 
> > I hope this clarifies my situation. 
> 
> Things are getting confusing. Returning to a previous comment 
> mounting a file-system does not add anything to fstab. mount -a mounts
> those entries in the fstab. Show us a fstab file with duplicate entries.

Correct.  mount adds entries in /etc/mtab (not /etc/fstab) and then
only if mount is invoked _without_ the "-n" flag.

----------------------------------------------------------------------
- Rick Stevens, Principal Engineer             rstevens at internap.com -
- CDN Systems, Internap, Inc.                http://www.internap.com -
-                                                                    -
-         Microsoft Windows:  Proof that P.T. Barnum was right       -
----------------------------------------------------------------------




More information about the fedora-list mailing list