2011年6月29日 星期三

NFS for Windows

NFS for Windows 2008 筆記:
Linux NFS server + Windows NFS client
重點:Windows 2008一定要做AD才能設定UID對應
http://technet.microsoft.com/zh-tw/library/dd758767(WS.10).aspx

除了那台Windows 2008的NFS Client外,還要在DC伺服器上安裝NFS伺服器,安裝完成後會有此選項。

Windows 2003 必須 R2 版本才有此功能。
http://www.interopsystems.com/LearningCenter/Implement_Configure_NFS.htm
http://blogs.msdn.com/b/sfu/archive/2007/04/19/set-up-server-for-nfs-in-windows-server-2003-r2.aspx

Windows 2003 mount NFS時出現錯誤訊息。
解法:
1. 設定DNS反解
http://support.microsoft.com/kb/926095
2. 修改registry
http://blogs.msdn.com/b/sfu/archive/2007/06/05/network-error-53-the-data-area-passed-to-a-system-call-is-too-small-or-unknown-error.aspx

Windows 2003 client foe NFS slow issue.
2012/1/4 有人反應從 Windows 2003 連部分的 NFS mount point 很慢。
找到兩篇相關的文章,把 Windows 2003 重新開機可以暫時解決。
http://www.suacommunity.com/forum/tm.aspx?m=16546
http://support.microsoft.com/kb/959200

2015/5/27 update:
無法寫入檔案,錯誤訊息為 "The process cannot access the file because another process has locked a portion of the file."
解法:自己下mount nfs01:/mnt/vol/data P: -o nolock

2015/8/3 update:
在 Windows 2012 登入後自動執行 mount script。
解法:必須把 batch file 放到 C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp

2015/8/4 update:
Windows 2008 AD user mapping for UNIX 搞不定,只能用單一user account連到NFS server。
NFS: How to connect to NFS using Windows Server 2008 R2 without using User Mapping Server

沒有留言:

張貼留言