zfs: the exponential file system from hell

Borja Marcos borjam at sarenet.es
Tue Oct 1 09:18:20 UTC 2013


On Oct 1, 2013, at 1:44 AM, kpneal at pobox.com wrote:

> On Mon, Sep 30, 2013 at 11:07:33AM +0200, Borja Marcos wrote:
>> Anyway, in a system with variable datasets "df" is actually meaningless and you should rely on "zpool list", which gives you
>> the real size, allocated space, free space, etc.
>> 
>> 
>> % zpool list
>> NAME   SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
>> pool  1.59T   500G  1.11T    30%  1.00x  ONLINE  -
>> % 
> 
> See that the zfs command says aurd0 has used 2.14T of space while the zpool
> command says it has used 3.21T? But aursys (the mirror) has numbers that
> roughly match.
> 
> Since 'zfs' works above the pool level it gives accurate sizes no matter
> what kind of redundancy (if any) you are using.
> 
> Bottom line:
> The replacement for the 'df' command when using ZFS is 'zfs list'.

Ouch, I stand corrected!

Thank you :)




Borja.



More information about the freebsd-fs mailing list