ggatec & ggated question/issue

Holger Kipp hk at alogis.com
Fri Jan 14 07:22:03 PST 2005


On Fri, Jan 14, 2005 at 10:01:10AM -0500, Brian McCann wrote:
> #echo "foo" > /share/bar
> 
> Then mounting the client, I see the file.  Now I delete the file on
> the server, I can still cat the file on the client.  It's like the
> client can still read the old superblock or something.  Any ideas on
> why this is doing this, or how to make it work so the client sees what
> the server sees?

Looking at http://kerneltrap.org/node/3104 should explain this. My 
current idea (IANAKH) would be that the client is caching the directory
and file data and is not notified that anything has changed on disk, so
there is no reason to refresh the cached data from disk.

The behaviour sounds similar to two FreeBSD-Systems accessing the same disk
device via SCSI (without synchronizing disk access).

Regards,
Holger Kipp


More information about the freebsd-stable mailing list