LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-14-2013, 02:03 AM   #1
hilou
Member
 
Registered: May 2013
Posts: 72

Rep: Reputation: Disabled
Mount Nfs when booting


Hi,

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, 07:14 AM   #2
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,604

Rep: Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241Reputation: 1241
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-17-2013, 12:44 AM   #3
Andre.Smit
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...
 
  


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


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