2011年2月24日 星期四

autofs自動mount nfs

1. 編輯 /etc/auto.misc
2. 加上
nfs -fstype=nfs 10.3.23.111:/root/Desktop/XXX

3. service autofs restart

4. 進入資料夾 (要進入資料夾才會真的mount)
/misc/nfs

參考資料:
http://www.centos.org/docs/5/html/Deployment_Guide-en-US/s1-nfs-client-config-autofs.html
http://www.centos.org/docs/4/4.5/System_Administration_Guide/Mounting_NFS_File_Systems-Mounting_NFS_File_Systems_using_autofs.html
http://blog.lefthander.tw/2010/03/blog-post.html

沒有留言:

張貼留言