[CentOS] NFS not syncing until directory viewed.

Thu Aug 14 10:44:15 UTC 2008
andylockran <andy at zrmt.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Guys,

Having a weird problem with NFS.

We have two web-servers under a load balanced system.  Web1 and Web2.
Currently all files are hosted in Web1, and we use NFS exports to share
the files with Web2.

Up until recently this was working fine (two/three weeks ago).

However, it's starting to behave a little randomly.  When a file is
uploaded, it appears on Web1, yet is not accessible when browsing the
Web2 server.  Weirdly though, when I log into the Web2 server to check
if it's there, it does appear there with correct timestamp et al..

The funny thing is, that after I check it's on Web2.. it then starts to
work thorough the browser.  So simply logging in and checking it's there
must give it a kick of some sort.

If anyone else can give me advice on how to resolve this, it would be
much appreciated.

Regards,

Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIpAx8auMjEM4rxIQRAuPQAJ41JGA98CIbP8hFIVhVma50mXQOzgCgiZVa
ilBmX+CY1ZChtUVvZqP45mY=
=9N4b
-----END PGP SIGNATURE-----