2012-09-24 21:08, Jason Usher wrote:
Ok, thank you. The problem with this is, the
compressratio only goes to two significant digits, which
means if I do the math, I'm only getting an
approximation. Since we may use these numbers to
compute billing, it is important to get it right.
Is there any way at all to get the real *exact* number ?
Well, if you take into account snapshots and clones,
you can see really small "used" numbers on datasets
which reference a lot of data.
In fact, for accounting you might be better off with
the "referenced" field instead of "used", but note
that it is not "recursive" and you need to account
each child dataset's byte references separately.
I am not sure if there is a simple way to get exact
byte-counts instead of roundings like "422M"...
zfs-discuss mailing list