Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2005 16:21:59 +0100
From:      Holger Kipp <hk@alogis.com>
To:        Brian McCann <bjmccann@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: ggatec & ggated question/issue
Message-ID:  <20050114152159.GA10608@intserv.int1.b.intern>
In-Reply-To: <2b5f066d050114070172ac895f@mail.gmail.com>
References:  <2b5f066d050114070172ac895f@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050114152159.GA10608>