Date: Thu, 26 Apr 2007 19:02:02 +0100 From: "Joao Barros" <joao.barros@gmail.com> To: "=?ISO-8859-1?Q?St=E5le_Kristoffersen?=" <staalebk@ifi.uio.no> Cc: freebsd-current@freebsd.org Subject: Re: zfs: df and zpool list report different size Message-ID: <70e8236f0704261102x6ebcd7e0rf168853a86ec58a0@mail.gmail.com> In-Reply-To: <20070426144917.GA20773@eschew.pusen.org> References: <8e10486b0704260701w3a6ca86hb833de23849514df@mail.gmail.com> <20070426143637.GA74938@keltia.freenix.fr> <20070426144917.GA20773@eschew.pusen.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 4/26/07, St=E5le Kristoffersen <staalebk@ifi.uio.no> wrote: > On 2007-04-26 at 16:36, Ollivier Robert wrote: > > 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. > > Well, that would have been fine if it did the same thing with a mirror, b= ut > thats not the case: > > > # zpool create test raidz ad1 ad2 ad3 > # zpool list > NAME SIZE USED AVAIL CAP HEALTH ALTROOT > test 1.48G 773M 747M 50% ONLINE - > # df -ht zfs > Filesystem Size Used Avail Capacity Mounted on > test 980M 32K 980M 0% /test > > # zpool destroy test > # zpool create test mirror ad1 ad2 > # zpool list > NAME SIZE USED AVAIL CAP HEALTH ALTROOT > test 504M 88K 504M 0% ONLINE - > # df -ht zfs > Filesystem Size Used Avail Capacity Mounted on > test 472M 32K 472M 0% /test > Try creating the raidz with 2 disks like Alexandre did... --=20 Joao Barros
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?70e8236f0704261102x6ebcd7e0rf168853a86ec58a0>