lkml.org 
[lkml]   [1999]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: NFS in 2.2.1-ac3 - cache not synched ?
Date
From
I don't see this problem.   Here is a script and its output.

------------------ test_cach.sh --------------
#!/bin/sh
host=localhost
mount $host:/tmp /mnt/tmp
echo -- Original
df /mnt/tmp /tmp
dd if=/dev/zero of=/mnt/tmp/bob22 count=8000
echo -- After large file created
df /mnt/tmp /tmp
rm /mnt/tmp/bob22
echo -- After large file deleted
df /mnt/tmp /tmp
sleep 5
echo -- After delay
df /mnt/tmp /tmp
-----------------------------------------------
-- Original
Filesystem 1024-blocks Used Available Capacity Mounted on
harpo:/tmp 102440 3470 93680 4% /mnt/tmp
/dev/hdc7 102440 3470 93680 4% /tmp
8000+0 records in
8000+0 records out
-- After large file created
Filesystem 1024-blocks Used Available Capacity Mounted on
harpo:/tmp 102440 7487 89663 8% /mnt/tmp
/dev/hdc7 102440 7487 89663 8% /tmp
-- After large file deleted
Filesystem 1024-blocks Used Available Capacity Mounted on
harpo:/tmp 102440 7487 89663 8% /mnt/tmp
/dev/hdc7 102440 7487 89663 8% /tmp
-- After delay
Filesystem 1024-blocks Used Available Capacity Mounted on
harpo:/tmp 102440 3470 93680 4% /mnt/tmp
/dev/hdc7 102440 3470 93680 4% /tmp

>>>Thierry Danis said:
> >
> > > It writes a 1,8 Gb file, rereads it, then unlinks it and exits (iozone
> > > test program).
> >
> > Ok
> >
> > > 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).
> >

---------------------------------
G. Allen Morris III
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:50    [W:0.142 / U:0.220 seconds]
©2003-2011 Jasper Spaans. Advertise on this site