zfs: df and zpool list report different size
Ollivier Robert
roberto at keltia.freenix.fr
Thu Apr 26 14:36:39 UTC 2007
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
More information about the freebsd-current
mailing list