Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-14-2013, 01:03 AM   #1
Registered: May 2013
Posts: 89

Rep: Reputation: Disabled
Mount Nfs when booting


I want to know why nfs could be mounted by writing it to /etc/fstab since network started later than mount filesystem.

Thanks in advance.
Old 11-14-2013, 06:14 AM   #2
Senior Member
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,736

Rep: Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295Reputation: 1295
Mount recognizes that the network isn't ready and waits (or it will tell you it can't mount).

Other systems don't actually mount it until it is done during the NFS client initialization script runs, which then does a "mount -t nfs" which mounts any NFS filesystems in the /etc/fstab.

It really depends on the system. Fedora systemd recognizes it as a network (the fstab entry is supposed to have the added option "network"), which causes systemd to delay the attempted mount until the network is supposed to be ready (it fails sometimes- but helped a lot if you also add a "NetworkManager-wait-online" to introduce additional delays.
1 members found this post helpful.
Old 11-16-2013, 11:44 PM   #3
LQ Newbie
Registered: Nov 2013
Location: Bronkhortspruit
Distribution: SuSE - Kubuntu - OpenWRT
Posts: 22

Rep: Reputation: Disabled
Yes, nfs will work even over slow internet connection, could be frustrating, but it waits for things to happen... nfs understands that networks are typically much slower than local hdd...


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
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
[SOLVED] NFS mount fails (times out): NFS server is in DMZ, NFS client is in intranet Hiroshi Linux - Networking 2 05-24-2010 10:22 AM
[SOLVED] mount.nfs: mount to NFS server 'rpcbind' failed w1k0 Slackware 4 03-30-2010 03:45 PM
mount.nfs: mount to NFS server 'jesse' failed: timed out, retrying keupie Linux - Networking 3 06-05-2009 07:03 PM
NFS mount mount.nfs: access denied by server while mounting knockout_artist Linux - Newbie 2 11-26-2008 02:36 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:33 PM.

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