LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-28-2005, 04:39 PM   #1
tisource
Member
 
Registered: Feb 2002
Posts: 322

Rep: Reputation: 30
Remote NFS export (via fstab) isn't mounted at boot


I have an entry in my fstab to mount an NFS export at boot. For some reason, it never does. However, after the OS is up, I can do 'mount -a' and it mounts correctly.

The question is, why won't it load at boot?

Here's my fstab line:
10.0.0.12:/data /media/net/fs2/data nfs defaults 0 0

Any thoughts or ideas?
 
Old 10-28-2005, 06:57 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
What type of connection are you on? Is it possible somehow your NFS mount is coming before you even have a network connection? What do your logs tell you? Do you see any errors on the console during bootup?
 
Old 10-30-2005, 04:39 PM   #3
tisource
Member
 
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
The NFS export is on the same subnet, which is all connected via gigabit. The network connection is solid in terms of stability.

dmesg doesn't report anything at all about NFS... and neither does /var/log/messages. Is there another log I should be checking?

I have two NFS scripts in my rc.d folder, nfs and nfsboot. Both are set to start on runlevels 3 and 5 (5 being the default). Both start at 10 (S10 in rc3.d & rc5.d). Networking functions load at S05 in both runlevels.

Any suggestions?
 
Old 10-30-2005, 04:57 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Quote:
Originally posted by tisource
The NFS export is on the same subnet, which is all connected via gigabit. The network connection is solid in terms of stability.

dmesg doesn't report anything at all about NFS... and neither does /var/log/messages. Is there another log I should be checking?

I have two NFS scripts in my rc.d folder, nfs and nfsboot. Both are set to start on runlevels 3 and 5 (5 being the default). Both start at 10 (S10 in rc3.d & rc5.d). Networking functions load at S05 in both runlevels.

Any suggestions?
It won't show up with dmesg output. Do you see anything related during bootup? If it's truly failing at startup, it should report it to /var/log/messages, what's your current logging level and what about /var/log/syslog
 
  


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 On
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
export a mounted Samba share w/NFS nifflerX Linux - Software 3 07-18-2005 11:29 PM
NFS export of directory with mounted iso-images leipy SUSE / openSUSE 1 06-03-2005 08:12 PM
Suse 9.1: Not all entries in fstab are mounted at boot. why? BrianK Linux - General 9 08-23-2004 01:45 PM
put NFS into fstab and now it won't boot Misel Slackware 2 03-17-2003 11:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:31 PM.

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