mismatch between zfs and zpool

Freddie Cash fjwcash at gmail.com
Wed Mar 28 00:55:30 UTC 2012


On Mar 27, 2012 5:00 PM, "Daniel Mayfield" <dan at 3geeks.org> wrote:
>
> Any idea why these mismatch?  These are WD20EARS disks in a USB JBOD
enclosure.
>
> [dan at rooter ~] $ zfs list
> NAME                           USED  AVAIL  REFER  MOUNTPOINT
> mediavg                       1.86T  3.33T   314K  /media
> [dan at rooter ~] $ zpool list
> NAME            SIZE  ALLOC   FREE    CAP  DEDUP  HEALTH  ALTROOT
> mediavg        7.25T  2.56T  4.69T    35%  1.00x  ONLINE  -

If you the differences in used/alloc and avail/free between zfs and zpool,
it's because they show different things.

Search the archives and the zfs-discuss archives for all the gory details.

The cliff's notes version is that zpool shows raw storage available in the
pool, and zfs shows usable storage space after redundancy is taken into
account.


More information about the freebsd-fs mailing list