LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-28-2004, 06:26 PM   #1
turbo_acura
Member
 
Registered: Sep 2004
Location: London, UK
Posts: 95

Rep: Reputation: 15
automatically mount NFS shares


How would i automatically mount NFS shares on bootup? I have the NFS shares specified in /etc/fstab and when the system boots up, i then have to do a 'mount -a' and then it mounts the NFS shares. Here is the NFS share part of my /etc/fstab. The spacing looks weird when i copy-pasted into here. Should i change the type 'nfs' to 'auto' ?

sunoracle1:/usr/local/nfsshare/amiqe /home/amiqe nfs rsize=262144,wsize=262144,timeo=300,intr

sunoracle1:/usr/local/nfsshare/tracking /home/tracking nfs rsize=262144,wsize=262144,timeo=300,intr

sunoracle1:/usr/local/nfsshare/amilink /home/amilink nfs rsize=262144,wsize=262144,timeo=300,intr
 
Old 10-28-2004, 06:33 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,414

Rep: Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967Reputation: 1967
looks absolutely fine to me... you might want to specifically add an auto option to the option string (not the fs type... leave nfs as is.. that's fine) but auto mounting should be a default... often this cn be handled by your distro differently though, and not mounted until after the network is known to have been loaded. maybe you have a n /etc/init.d/netmount script or something? if so add it to your default runlevel startup
 
  


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 8 09-22-2006 04:34 AM
Mount foreign NFS shares gypsy_rabbi Linux - Laptop and Netbook 1 04-07-2005 01:45 PM
How do you mount NFS shares? Thaidog Linux - Newbie 1 04-04-2004 10:48 PM
Linux can mount samba shares but not windows shares bindsocket Linux - Software 1 12-01-2003 06:28 PM
Automatically mount file shares? odious1 Linux - Newbie 1 07-03-2003 02:57 PM


All times are GMT -5. The time now is 11:00 PM.

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