From owner-freebsd-fs@FreeBSD.ORG Wed Aug 10 10:04:53 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 B5C83106564A for ; Wed, 10 Aug 2011 10:04:53 +0000 (UTC) (envelope-from ronald-freebsd8@klop.yi.org) Received: from smtp-out0.tiscali.nl (smtp-out0.tiscali.nl [195.241.79.175]) by mx1.freebsd.org (Postfix) with ESMTP id 435CB8FC14 for ; Wed, 10 Aug 2011 10:04:52 +0000 (UTC) Received: from [212.182.167.131] (helo=sjakie.klop.ws) by smtp-out0.tiscali.nl with esmtp (Exim) (envelope-from ) id 1Qr5GB-00045K-OM for freebsd-fs@freebsd.org; Wed, 10 Aug 2011 11:39:35 +0200 Received: from 212-182-167-131.ip.telfort.nl (localhost [127.0.0.1]) by sjakie.klop.ws (Postfix) with ESMTP id C0F88203 for ; Wed, 10 Aug 2011 11:39:32 +0200 (CEST) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-fs@freebsd.org References: Date: Wed, 10 Aug 2011 11:39:32 +0200 MIME-Version: 1.0 From: "Ronald Klop" Message-ID: In-Reply-To: User-Agent: Opera Mail/11.50 (FreeBSD) Content-Transfer-Encoding: quoted-printable 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 10:04:53 -0000 On Tue, 09 Aug 2011 15:34:00 +0200, Ludvig Strigeus = =20 wrote: > I use zfs as root file system in a raidz1 configuration with 4x1.5TB =20 > 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 * =20 > 75% =3D > 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 =20 > 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 = =20 > WRITE > CKSUM > tank ONLINE =20 > 0 0 > 0 > raidz1 ONLINE =20 > 0 0 > 0 > gptid/da8c85e1-f9fa-11de-a19c-001731eee65f ONLINE =20 > 0 0 > 0 > gptid/db86c6a9-f9fa-11de-a19c-001731eee65f ONLINE =20 > 0 0 > 0 > gptid/dc4efa95-f9fa-11de-a19c-001731eee65f ONLINE =20 > 0 0 > 0 > gptid/dcd40f4a-f9fa-11de-a19c-001731eee65f ONLINE =20 > 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" There is more overhead than one disk for raidz1. There is also metadata =20 for the filesystem. 65GB of 3.5TB isn't that much. It is like 0.5%. It is time to delete some files or add another disk. Ronald.