Differences in reporting by du df and usedbydataset

Bram Vandoren bram.vandoren at ster.kuleuven.be
Tue Apr 15 16:54:29 UTC 2014


You should check the compressratio property if you enabled compression 
in the past and disabled it again.

Cheers,
Bram

On 04/15/2014 04:26 PM, Jason Breitman wrote:
> # du -shA /tank/users/auser
> 4.4G	/tank/users/auser
>
> # zfs get compression tank/users/auser
> NAME               PROPERTY     VALUE     SOURCE
> tank/users/auser  compression  off       default
>
> Jason Breitman
> jbreitman at zxcvm.com
>
>
>
> On Apr 15, 2014, at 9:40 AM, Glen Barber <gjb at FreeBSD.org> wrote:
>
> On Tue, Apr 15, 2014 at 09:23:50AM -0400, Jason Breitman wrote:
>> I appreciate your response, but am not convinced that those 9
>> files add up to the 18 GB difference for the user below.
>
> What does 'du -shA .' say?
>
> Also, please show 'zfs get compression'.
>
> Glen


More information about the freebsd-fs mailing list