From owner-freebsd-current@FreeBSD.ORG Thu Apr 26 14:36:39 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 9918916A402 for ; Thu, 26 Apr 2007 14:36:39 +0000 (UTC) (envelope-from roberto@keltia.freenix.fr) Received: from keltia.freenix.fr (keltia.freenix.org [82.230.37.243]) by mx1.freebsd.org (Postfix) with ESMTP id 4F5EB13C484 for ; Thu, 26 Apr 2007 14:36:38 +0000 (UTC) (envelope-from roberto@keltia.freenix.fr) Received: from localhost (localhost [127.0.0.1]) by keltia.freenix.fr (Postfix/TLS) with ESMTP id DFB4A39348 for ; Thu, 26 Apr 2007 16:36:37 +0200 (CEST) Received: from keltia.freenix.fr ([127.0.0.1]) by localhost (keltia.freenix.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 75008-03 for ; Thu, 26 Apr 2007 16:36:37 +0200 (CEST) Received: by keltia.freenix.fr (Postfix/TLS, from userid 101) id 8B5F939343; Thu, 26 Apr 2007 16:36:37 +0200 (CEST) Date: Thu, 26 Apr 2007 16:36:37 +0200 From: Ollivier Robert To: freebsd-current@freebsd.org Message-ID: <20070426143637.GA74938@keltia.freenix.fr> References: <8e10486b0704260701w3a6ca86hb833de23849514df@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8e10486b0704260701w3a6ca86hb833de23849514df@mail.gmail.com> X-Operating-System: MacOS X / Macbook Pro - FreeBSD 6.2 / Dell D820 SMP User-Agent: Mutt/1.5.15 (2007-04-06) X-Virus-Scanned: amavisd-new at keltia.freenix.fr 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 14:36:39 -0000 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