From owner-freebsd-current@FreeBSD.ORG Thu Apr 26 16:21:49 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E73616A409 for ; Thu, 26 Apr 2007 16:21:49 +0000 (UTC) (envelope-from staalebk@ifi.uio.no) Received: from smtp.bluecom.no (smtp.bluecom.no [193.75.75.28]) by mx1.freebsd.org (Postfix) with ESMTP id 39A8113C465 for ; Thu, 26 Apr 2007 16:21:49 +0000 (UTC) (envelope-from staalebk@ifi.uio.no) Received: from eschew.pusen.org (unknown [193.69.145.10]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.bluecom.no (Postfix) with ESMTP id 66F7B12DC69 for ; Thu, 26 Apr 2007 16:49:10 +0200 (CEST) Received: from chiller by eschew.pusen.org with local (Exim 4.50) id 1Hh5HZ-0007Jw-Jf for freebsd-current@freebsd.org; Thu, 26 Apr 2007 16:49:17 +0200 Date: Thu, 26 Apr 2007 16:49:17 +0200 From: =?iso-8859-1?Q?St=E5le?= Kristoffersen To: freebsd-current@freebsd.org Message-ID: <20070426144917.GA20773@eschew.pusen.org> References: <8e10486b0704260701w3a6ca86hb833de23849514df@mail.gmail.com> <20070426143637.GA74938@keltia.freenix.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20070426143637.GA74938@keltia.freenix.fr> User-Agent: Mutt/1.5.13 (2006-08-11) X-Mailman-Approved-At: Thu, 26 Apr 2007 16:22:51 +0000 Subject: Re: zfs: df and zpool list report different size X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Apr 2007 16:21:49 -0000 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, but 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 -- Ståle Kristoffersen staalebk@ifi.uio.no