1756630 Members
2694 Online
108849 Solutions
New Discussion

Re: Setting up NFS

 
ADNAN AHMED
Occasional Advisor

Setting up NFS

I m using Redhat 8.0. I want to use NFS share as autofs, what could i do for this, what entries to add in auto.misc and where

Thanks in Advance
adnan
1 REPLY 1
Stuart Browne
Honored Contributor

Re: Setting up NFS

The /etc/auto.misc example file on RH8 comes with examples of how to do this already.

Simply put,the format is this:

-fstype=nfs

i.e.

server -fstype=nfs fileserv:/usr/share

After doing this, and restarting autofs (service autofs restart), you should be able to "cd /misc/server", and be accessing the server "fileserv"'s NFS mount of "/usr/share".

Need more?
One long-haired git at your service...