NFS consistency problem?

Jonathan Schmitt jonathan.schmitt at detla.de
Mon May 7 14:02:43 EDT 2007


Hi Mike,

Am Montag, 7. Mai 2007 17:02 schrieb Mike Eisler:
> I've heard that ext3 does not support sub-second granularity for the
> mtime and ctime attributes in NFSv3. Assuming the NFSv4 server on
> Linux uses "ctime" to simulate "change", and assuming the "echo"
> commands are done less than a second apart, this might explain the
> problem.

I'm afraid, its more than a second. That is, the echos were all done in less 
than a second for sure, but when the problem first occurred, people were 
working with the system more than one minute and the files were still not 
synchronised. I'm not sure about the reproducibility of this, but I tried 
opening the files, checking file sizes, calling syncs and so on. All this 
(including my time to react to their yell for help took at least five 
minutes.

All I could eventually do was umount/mount which did solve the issue. By now I 
know that saving the current version of the file, than editing on the 
non-current computer and copying back afterwards does help, but this is 
surely no solution.

Kind regards,
Jonathan


More information about the NFSv4 mailing list