系統(tǒng)運(yùn)維
I had exactly the same issue but with Samba 4 exports and Windows 7 clients. It is definitely client side error. After some thorough troubleshooting, I simply added the registry key and it worked like a charm after hitting the F5 button once.
Only had to add this registry key:
DirectoryCacheLifetime[DWORD] = 0
HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Services\\Lanmanworkstation\\Parameters
The values mentioned in this article seem to be invalid, as these registry values no longer exist. I believe that the default expiry time for the cache is 10 minutes rather than 10 seconds. http://technet.microsoft.com/en-us/library/ff686200%28v=ws.10%29.aspx
UPDATE(20/04/2015)
If you are interested in applying this on server side without the need to configure the clients you must add the following line in the [global] section within smb.conf:
server max protocol = SMB2_02
This will limit the server down to protocol SMB2 rather than the default SMB3 which comes with Samba 4 but it compromises the transfer speed. I believe that protocol SMB2_02 is an early version of SMB2 which doesn\'t support caching, so it should work in this case.
However I noticed that a few clients were still experiencing caching issues and had to manually change registry as described above.
Unfortunately there isn\'t much documentation about the various SMB protocol versions. Here is what the man page for smb.conf says about this:
網(wǎng)站名稱:共享文件更新延遲
瀏覽路徑:http://vcdvsql.cn/article28/chdpcp.html
成都網(wǎng)站建設(shè)公司_創(chuàng)新互聯(lián),為您提供企業(yè)建站、電子商務(wù)、動(dòng)態(tài)網(wǎng)站、軟件開(kāi)發(fā)、靜態(tài)網(wǎng)站、企業(yè)網(wǎng)站制作
聲明:本網(wǎng)站發(fā)布的內(nèi)容(圖片、視頻和文字)以用戶投稿、用戶轉(zhuǎn)載內(nèi)容為主,如果涉及侵權(quán)請(qǐng)盡快告知,我們將會(huì)在第一時(shí)間刪除。文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如需處理請(qǐng)聯(lián)系客服。電話:028-86922220;郵箱:631063699@qq.com。內(nèi)容未經(jīng)允許不得轉(zhuǎn)載,或轉(zhuǎn)載時(shí)需注明來(lái)源: 創(chuàng)新互聯(lián)