On Feb 21, 2010, at 7:47 PM, Harry Putnam wrote:

> 
> Working from a remote linux machine on a zfs fs that is an nfs mounted
> share (set for nfs availability on zfs server, mounted nfs on linux);
> I've been noticing a certain kind of sloth when messing with files.
> 
> What I see:  After writing a file it seems to take the fs too long to
> be able to display the size correctly (with du).

You will not see the on disk size of the file with du before the transaction 
group have been committed which can take up to 30 seconds. ZFS does not even 
know how much space it will consume before writing out the data to disks since 
compression might be enabled. You can test this by executing sync(1M) on your 
file server, when it returns you should have the final size of the file.

Regards

Henrik
http://sparcv9.blogspot.com

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to