From owner-freebsd-stable@FreeBSD.ORG Wed May 5 16:20:15 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1235C1065679 for ; Wed, 5 May 2010 16:20:15 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9436E8FC21 for ; Wed, 5 May 2010 16:20:14 +0000 (UTC) Received: by fxm15 with SMTP id 15so4883128fxm.13 for ; Wed, 05 May 2010 09:20:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=tf/9pcYKrSMrjcjbio7BcL5rjKjGEiPv0/2dUQ1Lvvk=; b=HoPAJUqxhrYfxRBgF131KcWJrG3LoqAEKDDLQ8y+hVG/D+PqlNqeQzw4gPB+0oDHp8 Azt0+XeBcyZgOiIRkwdiVUxn/7yTZbqqiY/Se1vQxqcVdd+6Mr4hek4P+gvz9bmpouj5 iSL1Mo4camTi/L2uoR/EX5T7ZOsj08+lcWIj0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Byx1g0oHjG3JwzMgGV8stp8SksuuWTs0L7kewHxBidypuHLjOdefRdEzj9d7H3gppf LyOvv0RKschUKWLxdRgKfJYj9wK/QaaHHYGt9XXy6wAs4egCSmts8YgzOgXlSIX8dPfN EM/FeGZ9iwgEUVysN+tHFPA/+FHIPuPFmZqWs= MIME-Version: 1.0 Received: by 10.239.132.145 with SMTP id 17mr942187hbr.177.1273076407126; Wed, 05 May 2010 09:20:07 -0700 (PDT) Received: by 10.239.142.17 with HTTP; Wed, 5 May 2010 09:20:06 -0700 (PDT) In-Reply-To: References: Date: Wed, 5 May 2010 17:20:06 +0100 Message-ID: From: Tom Evans To: Freddie Cash Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Stable Subject: Re: Different sizes between zfs list and zpool list X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 May 2010 16:20:15 -0000 On Wed, May 5, 2010 at 4:56 PM, Freddie Cash wrote: > On Wed, May 5, 2010 at 8:44 AM, Tom Evans wrot= e: > >> When looking at the size of a pool, this information can be got from >> both zpool list and zfs list: >> >> > $ zfs list >> NAME =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 USED =C2=A0AVAIL =C2=A0REFER =C2=A0MOUNTPOINT >> tank =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A05.69T =C2=A0 982G =C2=A036.5K =C2=A0/tank >> >> > $ zpool list >> NAME =C2=A0 SIZE =C2=A0 USED =C2=A0AVAIL =C2=A0 =C2=A0CAP =C2=A0HEALTH = =C2=A0ALTROOT >> tank =C2=A08.14T =C2=A06.86T =C2=A01.28T =C2=A0 =C2=A084% =C2=A0ONLINE = =C2=A0- >> >> Why the different sizes? >> The pool is a raidz of 6 x 1.5 TB drives. >> > > zpool lists the raw storage available to the pool. =C2=A0Every single bit= of > every single drive is listed here. =C2=A0This will be 6 x 1 TB. > > zfs lists only the amount of storage available to be used, after all > redundancy is taken into account. =C2=A0This will be 5 x 1 TB. > > -- > Freddie Cash > fjwcash@gmail.com Ah, that makes sense - also explains why the df output matches up precisely with the zfs list output. Thanks Tom