LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 05-19-2004, 06:42 AM   #1
mjen
LQ Newbie
 
Registered: Apr 2004
Location: London, UK
Posts: 5

Rep: Reputation: 0
Why a FSTAB entry will mount using -a switch but will not mount automatically at boot


Can anyone help? I'm bulding a SuSE Standard Server8 box and it's running as a NIS Client in an existing NIS domain. I've had to create a fstab entry (see below) that will mount using the mount -a switch but will not mount automatically when the system is rebooted.

susesvr8:~ # cat /etc/fstab
/dev/hda5 / reiserfs defaults 1 1
/dev/hda8 /home reiserfs acl,usrquota,defaults 1 2
/dev/hda6 /var reiserfs defaults,data=writeback,noatime 1 2
/dev/hda7 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
unix01:/share/misc /share/misc nfs defaults 0 0
unix01:/share/home /share/home nfs defaults 0 0

It's Lines 10 & 11 that are causing the problem although I have created the entry by copying from the /etc/fstab in a SuSE Linux 8.1 Professional box (see below) that's on the network and running successfully as a NIS client.


susepro81:~ # cat /etc/fstab
/dev/hda2 / reiserfs defaults 1 1
/dev/hda1 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
unix02:/export/data /data nfs defaults 0 0
unix02:/export/groups/development /groups/development nfs defaults 0 0

Any help would be appreciated!
 
Old 05-19-2004, 06:45 AM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
Try using their IP numbers instead of the hostnames of the machines. It might not be looking at your hosts file during bootup, can't find the machines on the network, etc. What is the error at boot time to be curious?
 
Old 05-19-2004, 07:26 AM   #3
mjen
LQ Newbie
 
Registered: Apr 2004
Location: London, UK
Posts: 5

Original Poster
Rep: Reputation: 0
I'll try that. Thanks Trickykid. There are YPBINDPROC_DOMAIN NOT FOUND errors at startup.
 
Old 05-19-2004, 07:45 AM   #4
mjen
LQ Newbie
 
Registered: Apr 2004
Location: London, UK
Posts: 5

Original Poster
Rep: Reputation: 0
Using the IP address has made no difference. Restarting the box and trying to login still generates an error: -

The following installation problem was detected while trying to start KDE
No write access to the $HOME directory (/)
KDE is unable to start

Yet if you login as root, run mount -a, log out and then login again it's OK.
 
  


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
nfs: fstab will not mount at boot tredegar Linux - Networking 15 08-13-2013 04:24 PM
Delay fstab mount of smbfs during boot Iron City Linux - General 7 01-21-2009 02:58 PM
usb fstab entry won't mount r/w Kilka Linux - Hardware 4 07-27-2004 11:05 AM
mount a partition and swapon on boot(fstab??) edman007 Linux - Newbie 4 10-01-2003 05:53 AM
How do I automatically mount my cdrom at boot? Amerist Linux - Software 6 04-14-2002 05:46 AM


All times are GMT -5. The time now is 07:26 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration