Re: zfs: df and zpool list report different size

From: Ollivier Robert <roberto_at_keltia.freenix.fr>
Date: Thu, 26 Apr 2007 16:36:37 +0200
According to Alexandre Biancalana:
>  # zpool create backup raidz ad9 ad11

Note, raidz with two disks is almost the same as a mirror so the real,
usable space is half.  In raidz, if you have N disks, the total usable
capacity is N-1.

>  # df -h
>  Filesystem     Size    Used   Avail Capacity  Mounted on
>  /dev/ad8s1a     72G    2.2G     64G     3%    /
>  devfs          1.0K    1.0K      0B   100%    /dev
>  backup         293G      0B    293G     0%    /backup
> 
>  # zpool list
>  NAME                    SIZE    USED   AVAIL    CAP  HEALTH     ALTROOT
>  backup                  596G    222K    596G     0%  ONLINE     -
> 
>  My doubt is why zpool list and df -h report different size ? Which of then
>  is correct and should I trust  ?

Both :)
-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto_at_keltia.freenix.fr
Darwin sidhe.keltia.net Kernel Version 8.8.2: Thu Sep 28 20:43:26 PDT 2006 i386
Received on Thu Apr 26 2007 - 12:36:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:09 UTC