From owner-freebsd-stable@FreeBSD.ORG Wed May 5 15:57:02 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 CD2961065670 for ; Wed, 5 May 2010 15:57:02 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 887C38FC08 for ; Wed, 5 May 2010 15:57:02 +0000 (UTC) Received: by gwj21 with SMTP id 21so2472022gwj.13 for ; Wed, 05 May 2010 08:56:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=u8kDrBxKCdvxHW3YFi73Zmn5S91TwzMuBjptHvJkazo=; b=HEBCQ1eAfdM3r/NoqESYYHNMJq3QDgwwkSWCnBy4pml6dEA7DyXKtlXuTYGnZIAxZ8 fwtXPmPvqgr430e4C/n77cgA/3NBS8ghzxaetEl4kWEPpm/lrjXDobsPMWyvA6UQcPZs rNdhZHojXVsFNOeI8s4PYrwUsKJfSz2Jsb2Ms= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=JUCnGRaKENFbA5dZlQdELlG3kPdBe3gBU0OIohkKosi6BfFPZGL4lgQw0gI9o5VPbA w78RvkhLNtUC6nENI4k5YK/Apba8nMgGQZ1fyVizV2gpMl9zMVBmw7Ljo/WmzkIWG0D7 6D+FV+/AgfFiEEfVzq6B3r5WuVHbGoVZa/2lM= MIME-Version: 1.0 Received: by 10.231.59.203 with SMTP id m11mr1166175ibh.72.1273075018911; Wed, 05 May 2010 08:56:58 -0700 (PDT) Received: by 10.231.16.69 with HTTP; Wed, 5 May 2010 08:56:58 -0700 (PDT) In-Reply-To: References: Date: Wed, 5 May 2010 08:56:58 -0700 Message-ID: From: Freddie Cash To: FreeBSD Stable Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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 15:57:03 -0000 On Wed, May 5, 2010 at 8:44 AM, Tom Evans wrote: > When looking at the size of a pool, this information can be got from > both zpool list and zfs list: > > > $ zfs list > NAME USED AVAIL REFER MOUNTPOINT > tank 5.69T 982G 36.5K /tank > > > $ zpool list > NAME SIZE USED AVAIL CAP HEALTH ALTROOT > tank 8.14T 6.86T 1.28T 84% ONLINE - > > 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. Every single bit of every single drive is listed here. This will be 6 x 1 TB. zfs lists only the amount of storage available to be used, after all redundancy is taken into account. This will be 5 x 1 TB. -- Freddie Cash fjwcash@gmail.com