LinuxQuestions.org
Register a domain and help support LQ
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 08-13-2008, 09:05 AM   #1
zambega
LQ Newbie
 
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
Give more mount time in /etc/fstab for an nfs mount


I am having trouble mounting an nfs file system on a Digital unix system.
I can mount it by hand after the system is up but it won't mount when coming up. It used to work but for some reason it stopped. I want to give the nfs mount more time and I believe there is a way to set it up in the /etc/fstab file. I think there is a time paramiter I can add in fstab but I don't know what it is or how to do it.
 
Old 08-13-2008, 02:28 PM   #2
garyg007
Member
 
Registered: Aug 2008
Location: north-east ohio
Distribution: Debian-squeeze/stable;
Posts: 279
Blog Entries: 1

Rep: Reputation: 31
Read the man page for "nfs"
The quote is an excerpt from it:
Quote:
bg/fg Determines how the mount(8) command behaves if an attempt to mount an export fails. The fg option causes mount(8) to exit with an error status if any part of the mount request times out or fails outright. This is called a "foreground" mount, and is the default behavior if neither the fg nor bg mount option is specified. If the bg option is specified, a timeout or failure causes the mount(8) command to fork a child which continues to attempt to
mount the export. The parent immediately returns with a zero exit code. This is known as a "background" mount. If the local mount point directory is missing, the mount(8) command acts as if the mount request timed out. This permits nested NFS mounts specified in /etc/fstab to proceed in any order during system initialization, even if some NFS servers are not yet available. Alternatively these issues can be addressed using an automounter (refer to automount(8) for details).
There is a lot more there; it would be wise to read it.

In case you'r not familiar with how to access the man page, the command is
Code:
hostname:~ # man nfs

Last edited by garyg007; 08-13-2008 at 02:39 PM.
 
  


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
Can't mount nfs share from fstab but can mount it manually - help Mountain Linux - Networking 1 03-30-2008 08:34 PM
NFS mount in /etc/fstab ? cozye Linux - General 2 12-08-2003 04:01 PM
nfs mount with fstab vs autofs rrich100 Linux - Networking 2 11-13-2003 10:21 PM
how do I mount with nfs in fstab? Falafel Linux - Networking 1 11-13-2003 12:56 PM


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

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