RE: NFS in 2.2.1-ac3 - cache not synched ? (me too)

David Mansfield (david@cobite.com)
Wed, 3 Feb 1999 15:41:14 -0500 (EST)


Thierry Danis wrote:

> I have setup a Linux box running 2.2.1-ac3 with knfsd-981204.

Mine is 2.2.1 vanilla (actually plus my 1-liner patch to fix that
RC_REPLSTAT len != 1 bug in nfsproc.c).

> The NFS client is a Solaris 2.5.1 writing on the Linux NFS serveur.
> It writes a 1,8 Gb file, rereads it, then unlinks it and exits (iozone
> test program).

My NFS client is the localhost, i.e. Linux 2.2.1. The file is being
written by bonnie and is (was) 500MB

> Once the file has been unlinked, I verify that it has disappeared on
> both ends (serveur and client). But a 'df' indicates that the space
> is still used (ie, there is still 1,8 Gb used on the serveur partition).

Me too.

> If I umount the NFS partition on the Solaris client, there is no
> change ('df' gives me the same result). When a remount the NFS partition
> on the Solaris client, the space is freed on the serveur side.

Me too.

> The fact is that if I do not umount the NFS partition, I run out
> of space as soon as I run the iozone test program again.

I can't remember what I did to get the free space back, but it did soon
after I ran the test.

> Has anyone already seen that ?

Yes. I wouldn't have even remembered it happened though :-)

David

-- 
/==============================\
| David Mansfield              |
| david@cobite.com             |
\==============================/

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/