>>> zfs list /export/compress >>> >>> >> NAME USED AVAIL REFER MOUNTPOINT >> export-cit/compress 90.4M 1.17T 90.4M /export/compress >> >> is 2GB/90.4M = 2048 / 90.4 = 22.65 >> >> >> That still leaves me puzzled what the precise definition of compressratio is? >>
My guess is that the compressratio doesn't include any of those runs of null characaters that weren't actually written to the disk. What I'm thinking is that if you have a disk-image (of a new computer) in there, the 4GB worth of actual data is counted against the compressratio, but the 36GB worth of empty (zeroed) space isn't counted. But I don't have hard numbers, or a good way to prove it. Not without reading all of the OP's data, anyway... :-) -Luke P.S. This "don't bother writing zeroes" behavior is wonderful when working with Xen disk images. I'm a fan! _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss