On Mon, 22 Feb 2010, Henrik Johansson wrote:
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.
Even more interesting, if the file grows to 1GB and is re-written 5 times and is then truncated to a smaller size (using ftruncate()) before the next transaction group is written, then all of that transient activity at the larger size is as if it never happened.
Eventually this is seen as a blessing. Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss