Date: Thu, 26 Apr 2007 16:36:37 +0200 From: Ollivier Robert <roberto@keltia.freenix.fr> To: freebsd-current@freebsd.org Subject: Re: zfs: df and zpool list report different size Message-ID: <20070426143637.GA74938@keltia.freenix.fr> In-Reply-To: <8e10486b0704260701w3a6ca86hb833de23849514df@mail.gmail.com> References: <8e10486b0704260701w3a6ca86hb833de23849514df@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@keltia.freenix.fr Darwin sidhe.keltia.net Kernel Version 8.8.2: Thu Sep 28 20:43:26 PDT 2006 i386
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070426143637.GA74938>