First install NFS server on the machine.
On NFS client machine do the following :
1. yum install autofs
2. vi /etc/auto.master
and put like :
[root@kmaiti alltestfiles]# cat /etc/auto.master |grep home
/home /etc/auto.home --timeout=60
[root@kmaiti alltestfiles]#
3. Put following in /etc/auto.home :
* -fstype=nfs,rw,nosuid,soft,fsid=0 IPof_nfs_server:/home/&
4. /etc/init.d/autofs start
That's it.
PS: You need to restart the system to view the mounted partitions. df -TH
Try :)
Wednesday, 22 December 2010
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment