From owner-freebsd-fs@FreeBSD.ORG Wed Aug 10 17:27:16 2011 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21856106564A for ; Wed, 10 Aug 2011 17:27:16 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id D581A8FC12 for ; Wed, 10 Aug 2011 17:27:15 +0000 (UTC) Received: by gyd10 with SMTP id 10so971191gyd.13 for ; Wed, 10 Aug 2011 10:27:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=b5pdjC8JCzdEoLLENVUUyJcVNY9qflqSFF3ehsKZU2M=; b=M6lISeV2Z50GjdQBvJWfbRKW5rRm+In6LbEQHBSpJr5ozwI3lxSmHxn/GXEBGXjRLN R4ZmhmWW4W83OdZoF2jbNshHi4YzlkR7MMsNHH74maHR5AI+BON/a/N/LLVbxLwaoXLT Gt/WE97v48POgyJyYFj62CZ58HE4L5E84pQf0= MIME-Version: 1.0 Received: by 10.236.155.40 with SMTP id i28mr8685926yhk.156.1312997235234; Wed, 10 Aug 2011 10:27:15 -0700 (PDT) Received: by 10.236.103.19 with HTTP; Wed, 10 Aug 2011 10:27:15 -0700 (PDT) In-Reply-To: References: Date: Wed, 10 Aug 2011 18:27:15 +0100 Message-ID: From: krad To: Ludvig Strigeus Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: Re: Free space of 'zfs list' vs 'zpool list' X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Aug 2011 17:27:16 -0000 On 9 August 2011 14:34, Ludvig Strigeus wrote: > I use zfs as root file system in a raidz1 configuration with 4x1.5TB disks. > zpool list says 150G available while zfs list says 47.1GB available. I do > not use any reservations but compression is enabled. > > Due to the raidz with 4 disks, I would expect zfs list to say 150GB * 75% = > 112.50GB free, not 47.1GB. Can someone explain where the 65GB have gone? > > uname -a: > FreeBSD ludde.dyndns.org 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 > 02:41:51 UTC 2011 root@mason.cse.buffalo.edu: > /usr/obj/usr/src/sys/GENERIC > amd64 > > zpool list: > NAME SIZE USED AVAIL CAP HEALTH ALTROOT > tank 5.44T 5.29T 150G 97% ONLINE - > > zfs list: > NAME USED AVAIL REFER MOUNTPOINT > tank 3.96T 47.1G 28.4K legacy > tank/data 3.95T 47.1G 3.95T /data > ... other file systems omitted ... > > zfs list -t snapshot: > NAME USED AVAIL REFER MOUNTPOINT > tank/data@2011-08-05 385M - 3.60T - > > zpool status: > NAME STATE READ WRITE > CKSUM > tank ONLINE 0 0 > 0 > raidz1 ONLINE 0 0 > 0 > gptid/da8c85e1-f9fa-11de-a19c-001731eee65f ONLINE 0 0 > 0 > gptid/db86c6a9-f9fa-11de-a19c-001731eee65f ONLINE 0 0 > 0 > gptid/dc4efa95-f9fa-11de-a19c-001731eee65f ONLINE 0 0 > 0 > gptid/dcd40f4a-f9fa-11de-a19c-001731eee65f ONLINE 0 0 > 0 > > Thanks, > Ludde > _______________________________________________ > freebsd-fs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-fs > To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org" > how about quotas?