Friday, June 12, 2009

NFS Server Configuration- Linux

Setting up NFS Server in linux servers.

$ vi /etc/exports ---file need to add the share directory in NFS server.

eg. /usr/share/man 192.168.1.10 (ro)
/home *.* (ro)

$exportfs -a (This command will export the file systems which is configured in /etc/exports)

For checking the exported file system.

$ showmount -e

Daemons running in NFS Server.

$ rpcinfo -p

Importent deamons are...

1. portmapper
2. rpc
3. mountd
4. nfsd
5. lockd