Complete.Org: Mailing Lists: Archives: discussion: April 1999:
RE: [aclug-L] Funny problem with /etc/fstab
Home

RE: [aclug-L] Funny problem with /etc/fstab

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "'aclug-L@xxxxxxxxxxxx'" <aclug-L@xxxxxxxxxxxx>
Subject: RE: [aclug-L] Funny problem with /etc/fstab
From: "Bates, Rod" <Rod.Bates@xxxxxxxxxxxxxxxxxx>
Date: Fri, 2 Apr 1999 08:53:32 -0600
Reply-to: aclug-L@xxxxxxxxxxxx

John wrote: 

>I think we'll need a copy of your entire /etc/fstab file to see what's 
>going on.  Can you post a copy here?


Here it is: 
>>>>
#
# /etc/fstab
#
# You should be using fstool (control-panel) to edit this!
#
# <device>    <mountpoint>   <filesystemtype> <options> <dump> <fsckorder>

/dev/hda2                 /                         ext2   defaults 1 1
/dev/hda1                 /dos                      msdos  defaults 0 0
/dev/hdb1                 /home2                    ext2   defaults 1 2
/dev/sda1                 /home                     ext2   defaults 1 2
/dev/sdb1                 /jaz1                     ext2   defaults 0 0
/dev/sdc1                 /jaz2                     ext2   defaults 0 0
/dev/hda7                 /local                    ext2   defaults 1 2
/dev/hdc                  /cd                       iso9660 user,noauto,ro
defaults 0 0
/dev/fd0                  /dfd                      msdos
user,noauto,defaults 0 0
/dev/fd0                  /fd                       ext2
user,noauto,defaults 0 0
#allegheny:(pid4551)       /net                      ignore 0 0 0
#allegheny:(pid963)        /net                      ignore 0 0 0
#allegheny:(pid244)        /net                      ignore 0 0 0
#allegheny:(pid240)        /net                      ignore 0 0 0
#allegheny:(pid245)        /net                      ignore 0 0 0
/dev/hda6                 /usr                      ext2   defaults 1 2
/dev/hda3                 none                      ignore 0 0 0

none                      /proc                     proc   defaults
/dev/hda5                 none                      swap   sw

cwilan-sun:/opt10/b1b     /b1b                      nfs    soft,intr,rw
salsv6:/salm04_dua2       /devel-bates              nfs    soft,intr,rw
morley:/usr               /morley-usr               nfs    soft,intr,rw
morley:/usr2              /morley-usr2              nfs    soft,intr,rw
morley:/usr3              /morley-usr3              nfs    soft,intr,rw
salsv6:/morley_sys6       /morley-usr4              nfs    soft,intr,rw
salsv6:/morley_usr5       /morley-usr5              nfs    soft,intr,rw
salsv6:/salm03_dua1       /prod-bates               nfs    soft,intr,rw

<<<<<
Some additional info: 

If I say "mount /usr", I get the "line 0" message, and neither
"df" nor "mount" shows the file system mounted.  But 
"mount /dev/hda6 /usr" claims "/dev/hda6 already mounted..."
and I can see the files in /usr with ls.

Right after booting, df shows all the local file systems mounted,
except /usr, which is sometimes there, sometimes not.  

Original question: 

What on earth does this mean?  

I upgrades from RedHat 4.2 (as I recall) to 5.2.  
Afterwards, my system comes up with lots of things
broken.  Turns out /usr is not mounted.  
mount /usr gives:
"line 0 in /etc/fstab is bad"
This messages also shows up during a reboot.  

Many other filesystems in my /etc/fstab come up mounted. 
mount <anyMountPoint> gives the message, but 
mount /dev/hda6 /usr works.  All umount commands
work.   

Even more mysterious,  umount -a unmounts everything
but "/", and mount -a doesn't mount anything.  But the
system boots up with all of the many other filesystems in
my fstab.  

There are 5 entries right ahead of the /usr entry, which look like:
allegheny:(pid4551)   /net   ignore 0 0 0
I suspected them, since they precede the only failing filesystem
entry, so I tried commenting them out.  After my _second_
reboot after doing this,  I still get the line 0 is bad message,
but it came up with /usr mounted this time.  The more
experiments I try, the crazier and more inconsistent things
get.  



[Prev in Thread] Current Thread [Next in Thread]