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-03-2004, 09:19 AM   #1
rwalkerphl
Member
 
Registered: Jun 2004
Location: NJ, US (Ex UK)
Distribution: RHEL3.0 / FC2
Posts: 79

Rep: Reputation: 15
Create NFS Mounts at boot time


Hi All,

To have NFS running at boot time, I am assuming that an entry needs to be made in the FSTAB file. Can anyone tell me what I need to put there to have the virtual drives mounted.

Also, How do I deal with an NFS drive where the server that Is linked to has fallen over, or been re-booted. It seems that the link is lost. I am looking to do backups from one sever to another for an Oracle database, and have already had the database corrupt where the backup server failed...

Thanks!

Robin.
 
Old 11-17-2004, 03:59 AM   #2
iluvatar
Member
 
Registered: Jul 2003
Location: netherlands
Distribution: debian
Posts: 403

Rep: Reputation: 30
your fstab entry should look like this:

<host>:<directory> <mount point> nfs <options> 0 0

for example I have one like this:
server:/public /mnt/public nfs auto,user,rw 0 0

make sure you have at least the 'auto' option set, wich makes sure it's mounted on boot.
if the nfs mount fails the boot continuous. dig into the nfs server documentation how to deal wich server reboots and crashes, it should be possible to make sure the connection comes up again after dropped automaticly whenever possible, although I don't know how (yet)...

greetz,
.-=~ iluvatar ~=-.
 
  


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
Backgrounding NFS mounts kaplan71 Linux - Networking 2 02-22-2015 10:13 PM
Mounting a nfs partition on boot time wjleon Linux - Newbie 1 05-02-2005 12:12 PM
boot problem: NFS mounts before name server, SUSE 9.2 Pro bho Linux - Networking 0 02-07-2005 12:01 PM
What partitions/mounts do I need to create to install Man9.1/Win98 dual-boot? buddha Mandriva 2 09-04-2003 10:03 PM
cannot get nfs mounts to work iggymac Linux - Networking 0 08-10-2001 02:58 PM


All times are GMT -5. The time now is 07:11 AM.

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