Results 1 to 4 of 4
Hello all,
i have a fc-7 machine kernel version (2.6.21-1.3194.fc7).
i am able to mount the nfs share form a server. but every time when i reboot my machine. share ...
- 06-30-2011 #1Just Joined!
- Join Date
- Jun 2011
- Location
- Bangalore, IN
- Posts
- 8
Permanently Mounting The NFS Directory
Hello all,
i have a fc-7 machine kernel version (2.6.21-1.3194.fc7).
i am able to mount the nfs share form a server. but every time when i reboot my machine. share will go off and again i have to mount the share..
is there a way to Permanently mount The NFS Directory , i mean after reboot share should not go....
Thanks
Tanuj
- 06-30-2011 #2
Add an appropiate line to /etc/fstab.
This is easy, but has one downside: The nfs server *needs* to be available at booting.
A more elegant way is to add a autofs configuration to the same effect.
This will not only make sure, that booting succeeds, but only mounts the nfs share, if it is really needed (and unmounts it afterwards)
But I am not sure, if autofs is available in fc7, as this is a very out-dated distribution.You must always face the curtain with a bow.
- 06-30-2011 #3Just Joined!
- Join Date
- Jun 2011
- Location
- Bangalore, IN
- Posts
- 8
@Irithori: Thanks
i tried with editing /etc/fstab with the following line
server:/var/ftp/pub /media/nfs nfs rw 0 0
and it worked fine for me.
can you please share some more information regarding how to do autofs configuration . i would like to try this as well
Thanks
tanuj
- 06-30-2011 #4
12.3.2.*autofs Configuration
I´ve a autofs setup (although for CIFS) for various CentOS 5 machines, and it works reliably.
Seems, you are lucky. Fedora 7 does have autofs
http://archive.fedoraproject.org/pub...0.1-9.i386.rpm
But still, you might want to consider an upgrade.You must always face the curtain with a bow.


Reply With Quote