LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-16-2003, 01:43 PM   #1
element
Member
 
Registered: Jan 2003
Distribution: Debian
Posts: 106

Rep: Reputation: 15
fstab problem


Gentlemen,

I have an fstab problem. Well if I wouldn't have a problem I wouldn't post it here, would I?
Anyway, I add my mounts to the fstab file and everything is fine. Then I make the correspondant directories under my /mnt directory.
I mount one by one and it works.
However upon a reboot my fstab file is reset and only contains the default values like floppy, cdrom etc ... my hand made mounts are gone and what's very bizar, my mount directories that I have added under the /mnt dir are also gone. How can they be deleted automatically?

Oh.. I use RH 9 and the contents of my fstab is:
LABEL=/ / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
LABEL=/home /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/sdd2 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/sda4 /mnt/zip auto noauto,owner,kudzu 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/sdb1 /mnt/system auto noauto,umask=000,kudzu 0 0
/dev/sdb6 /mnt/data auto noauto,umask=000,kudzu 0 0
/dev/sdc1 /mnt/data2 auto noauto,umask=000,kudzu 0 0
/dev/sde1 /mnt/media auto noauto,umask=000,kudzu 0 0

Any help or tips are very welcome. I can also add I didn't had this problem with RH 8.0

Thanks.

Last edited by element; 06-16-2003 at 01:44 PM.
 
Old 06-16-2003, 04:23 PM   #2
jvannucci
Member
 
Registered: Jan 2003
Location: Connecticut, US
Distribution: Red Hat 9.0
Posts: 98

Rep: Reputation: 15
Did you shutdown the host cleanly after changing the filesystem? If the mounts are not unmounted cleanly they won't 'sync' - write their changes. This might explain why changes to the filesystem (fstab modifications, directories created) seem to disappear.

Explicitly issue:

# shutdown -ry 0
 
Old 06-17-2003, 02:06 PM   #3
element
Member
 
Registered: Jan 2003
Distribution: Debian
Posts: 106

Original Poster
Rep: Reputation: 15
I always shutdown properly, don't thi k that's the answer. But I'll try your tip.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:15 AM
Fstab problem JackieBrown Debian 3 11-14-2005 06:20 PM
\etc\fstab problem franklampard Linux - Newbie 5 10-03-2005 05:40 PM
/etc/fstab problem mokojin Slackware 8 08-31-2004 01:34 PM
/etc/fstab problem juggler Linux - Newbie 7 10-23-2002 02:56 PM


All times are GMT -5. The time now is 09:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration