LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-19-2005, 08:13 PM   #1
mebrelith
Member
 
Registered: Nov 2004
Location: Torreón, Coahuila, México
Distribution: Gentoo
Posts: 342
Blog Entries: 1

Rep: Reputation: 30
Fstab rewinds


Hi folks, heres the trouble. I just reinstalled FC3 on my home box. One of the first things I did after updating everything was adding my second HD which has my music collection. To do this I added the following line into fstab:

Code:
/dev/hdb1 /mnt/storage vfat users,owner,rw,umask=000 0 0
Now, this line works peachy, nothing wrong with it. The problem is that now from time to time for some reason the line vanishes from fstab and I have to write it again.

Any ideas as to what could be happening here?

All replies shall be deeply appreciated.
 
Old 03-19-2005, 09:00 PM   #2
gabriele_101
Member
 
Registered: Oct 2001
Location: CAMBRIDGE, MA USA
Distribution: RH9 Kernel 2.4.20-18.9
Posts: 69

Rep: Reputation: 15
Something is overwriting it, but I would not be able to suggest anything without knowing more about what is funning on your server. That being said, I've found similar items by simply setting the file to read-only even for root, then rebooting. I caught a culprit as it reported an error in the boot log, but that was a long time ago on AIX, but it might be worth a try.

Good luck.

-Gabriele
 
Old 03-19-2005, 09:03 PM   #3
cylix
Member
 
Registered: Dec 2004
Location: Ohio
Distribution: Fedora Core 3
Posts: 125

Rep: Reputation: 15
I've run into this a few times, but not lately.

It's going to be in one of two areas.

fstab-sync or updfstab

I wish I could reproduce it, but fstab has been fine lately.

Worse comes to worse, you could always remove the write bit until some error tells you what the problem is.
 
Old 03-19-2005, 11:40 PM   #4
mebrelith
Member
 
Registered: Nov 2004
Location: Torreón, Coahuila, México
Distribution: Gentoo
Posts: 342

Original Poster
Blog Entries: 1

Rep: Reputation: 30
Hi guys, thanx for replying. Just notice it happen. I rebooted my machine and right after loading hardware,audio I notice this message:

{mtnent} theres no new line at end of fstab

Or somethinglike this.
When logged in I check my file browser and I can see the hdb1 is mounted, I can access files. Then I check fstab and I notice that the line is gone. No more mounting of hdb1.

Any new ideas?
 
Old 03-20-2005, 08:31 AM   #5
gabriele_101
Member
 
Registered: Oct 2001
Location: CAMBRIDGE, MA USA
Distribution: RH9 Kernel 2.4.20-18.9
Posts: 69

Rep: Reputation: 15
Shy of suggesting that you add a few extra lines at the end of your fstab, I don't have much to add.

I was unable to find anything on "mtnent" on Google. Sorry.
 
Old 03-20-2005, 09:11 AM   #6
mebrelith
Member
 
Registered: Nov 2004
Location: Torreón, Coahuila, México
Distribution: Gentoo
Posts: 342

Original Poster
Blog Entries: 1

Rep: Reputation: 30
Hrmm.. my apologies, is mntent. My bad.
 
Old 03-20-2005, 10:11 AM   #7
gabriele_101
Member
 
Registered: Oct 2001
Location: CAMBRIDGE, MA USA
Distribution: RH9 Kernel 2.4.20-18.9
Posts: 69

Rep: Reputation: 15
Googling, I found this:

http://www.physics.wustl.edu/~alford...d/T23_FC1.html

Quote:
To stop the fstab from being overwritten by system utilities that think they know what I need better than I do,

> chkconfig kudzu off
Might work, but it turns kudzu off completely.

-Gabriele
 
Old 04-04-2005, 07:47 AM   #8
EdR
LQ Newbie
 
Registered: Sep 2004
Distribution: RHEL AS3, AS4 / Vector
Posts: 22

Rep: Reputation: 15
I have the same problem with with the host file on my nis master. I just set it to read only after I make changes but I also keep a back up copy of the file just in case.
 
Old 04-04-2005, 02:42 PM   #9
mebrelith
Member
 
Registered: Nov 2004
Location: Torreón, Coahuila, México
Distribution: Gentoo
Posts: 342

Original Poster
Blog Entries: 1

Rep: Reputation: 30
I discovered something funny. The error regarding mntent is incredibly simple to fix.
The error message is: theres no new line at end of fstab. Or something like this.
How did I fix it?
Simple, I added a blank new line at the bottom of fstab (moohoohaha).
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
newbie vs fstab. fstab wins :( blop Linux - Newbie 3 01-07-2005 05:54 AM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 05:55 PM
Fstab Vengent Linux - General 16 05-21-2003 05:37 PM
Help with /etc/fstab wawosz Linux - General 3 04-24-2003 02:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration