Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 09-26-2007, 03:35 AM   #1
Registered: Feb 2006
Location: Belgium
Distribution: Debian stable/testing/unstable
Posts: 32

Rep: Reputation: 15
NFS mount at boot-time problem

I've been using debian for over 7 years now. Allways to my satisfaction.

But now since august 2007 i've been having a bit of problems with nfs mounting at boot-time.
My NFS server is on Stable, all the clients are on testing.
I have 3 NFS mounts at boot-time in fstab.
Most of the time only 2 of them get mounted correctly and 1 gives a boot error :
mount.nfs: mount to NFS server 'detonator' failed: RPC Error: Program not registered
Sometimes none of the NFS shares get mounted at boot-time also
I've tried moving the startup scripts to a later time at boot but that didn't help me.
If none was mounted at boot-time i have to do "mount -a" a couple of times to get them mounted. They always mount eventually, but also with the same error as above the first time to try.

Did anyone find a solution for this annoying problem?
Old 11-07-2007, 10:01 AM   #2
Registered: Feb 2006
Location: Belgium
Distribution: Debian stable/testing/unstable
Posts: 32

Original Poster
Rep: Reputation: 15
For those curious :
Changing the hostname from the nfs-server in the fstab line to the ip address of the nfs-server seems to work better.
I still wonder why...
My name resolving works fine otherwise.
Old 07-28-2009, 04:13 PM   #3
LQ Newbie
Registered: Nov 2008
Posts: 14

Rep: Reputation: 0
Nfs not working at boot time

I have seen a similar problem and if you watch the startup scripts execute you may see "no route to host" error messages. This indicates that the routing tables have not be fully initialized before the nfs entries in the fstab file are attempted. On one system we have about 7-8 nfs entries and only the bottom half were getting mounted. A sleep command in the network startup script worked. I am not sure if there is another fix available to resolve this. I have added the IP address, ensured the server name was resolving etc. You may only want to add the sleep statement to the start stanzas vice the main body of the script to eliminate unecessary delays in the shutdown or network stop commands.


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 mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 12:34 PM
problem with failing mount at boot time rconan Fedora 2 08-03-2005 08:44 AM
Mounting a nfs partition on boot time wjleon Linux - Newbie 1 05-02-2005 12:12 PM
Create NFS Mounts at boot time rwalkerphl Linux - Newbie 1 11-17-2004 03:59 AM
redhat 7.2 mount nfs"RPC:time out"problem bee33 Linux - Networking 1 02-19-2004 11:03 AM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:43 AM.

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