Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17761

Linux NFS Client doesn't detect new files on Windows NFS server shares. Cache issue?

$
0
0

I'm really stumped here and have spent hours and hours trying to find a solution with no success.

I have Windows 7 x64 system running HaneWIN NFS server.

I have two different linux devices that connect to the Win7 NFS server as clients.

No problems with connecting, but once connected new files that are added to the Windows 7 NFS server do not show up on the NFS clients after executing an 'ls' command. Even after several hours the new files never appear.

However, if I delete or rename an existing file and then execute the 'ls' command on the linux clients they see the file has gone missing and then it seems to flush its cache and the newly added file is detected.

Alternately, remounting the share on the linux client causes new files to be detcted and even executing 'mount $MNT' seems to cause new files to get picked up.

I have tried setting all manner of options when mounting on the client side (i.e. cto/nocto, ac/noac, lookupcache=none, actimeo=30, sync, async, etc...).

As a test I setup an NFS server on one of the linux devices and set the other linux device to connect as a client and it picks up the newly added files instantly. So Linux-to-Linux it is working OK.

I have also tried several other windows NFS server products (Omni-NFS, Allegro NFS) and they have the same problem, too.

I'm utterly bewildered at this point.

submitted by FriskyDingos
[link][11 comments]

Viewing all articles
Browse latest Browse all 17761

Trending Articles