Skip to contentSkip to conversation

cache problem

DISCUSSION Michael Devogelaere 1 participant 1 message Nov 7, 2002

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi,

I'm having troubles with a nfs-setup. The NFS-server runs Debian Linux 2.2 with a vanilla 2.2.19 kernel. There are 2 groups of NFS-clients:
- old workstations running kernel 2.0.20 on a distribution which seems a bit based on redhat 6.2
- modern workstations running kernel 2.4.19+patches as shipped with redhat 7.3

All workstations share a few nfs-shares and 1 directory is particulary 'popular'. Today one new workstation (running redhat 7.3) modified all files in that directory by adding some data to all those files. The old workstations immediately 'see' the modified files, but the new workstations have problems. If one requests file 'A', the new workstation actually gets file 'B' with the recent modifications. I waited several hours and the problem remained. I'm pretty sure the data on the NFS-server is correct as the old workstations can read the correct files. The only solution i found to get the correct files on the new workstations is to remount the filesystem (or reboot).

We reproduced the problem and i ran 'stat' on the files. It turns out that some files seem to share the same inode-number after the modifications. As
said: with 'mount -o remount /...' i could fix the clients and see the correct inode-numbers. I thought it was some strange nfs-read-cache problem and tried a few options like 'timeo=0' and 'noac' but that didn't solve the problem.

Is this a bug in the communication between nfs with kernel 2.4.19 and kernel 2.2.19 ? Is there a way to disable the nfs-cacheing completely ? I tried to disable all file-cache on the computer but didn't find how to configure this.

Any help would be greatly appreciated !!

Kind regards,
Michael Devogelaere.

-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs