1833294 Members
3102 Online
110051 Solutions
New Discussion

NFS configuration

 
SOLVED
Go to solution
praveen..
Super Advisor

NFS configuration

I have two servers

ServerA & directory a
and
Server B & directory b

I have to mount A:/a to B:/b using NFS.
Please let me know the step by step commands.

Thanks
3 REPLIES 3
Frank de Vries
Respected Contributor
Solution

Re: NFS configuration

Assuming you are running the nfs.client
from /sbin/init.d on both machines.

You need to export privileges by creating
an exports file (see man exportfs) on the ServerA, and put inside this file:
/a -access serverB
and run exportfs -a from Server A

Then logon server B ,
but do not cd to directory /b !!!
(And /b should be empty dir )

And do:
mount -F nfs serverA:/a /b
or if version 3
mount -F nfs -o vers=3 serverA:/a /b

regards,
Look before you leap
Frank de Vries
Respected Contributor

Re: NFS configuration

Oh by the way , almost forgot:
the exports text file needs to be placed in the /etc directory of ServerA.
Look before you leap
Peter Godron
Honored Contributor

Re: NFS configuration

Praveen,
or you could use SAM.

Both parts (import/export) are under "Networking and Communications" -> "Networked File Systems"

You just export on Server A and import on Server B.