From owner-freebsd-stable@FreeBSD.ORG Fri May 22 00:11:41 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BB5C106568B for ; Fri, 22 May 2009 00:11:41 +0000 (UTC) (envelope-from lists@loveturtle.net) Received: from loveturtle.net (loveturtle.net [216.89.228.174]) by mx1.freebsd.org (Postfix) with ESMTP id 2C0CB8FC19 for ; Fri, 22 May 2009 00:11:41 +0000 (UTC) (envelope-from lists@loveturtle.net) Received: from localhost (localhost [127.0.0.1]) by loveturtle.net (Postfix) with ESMTP id 8EC53100D58 for ; Thu, 21 May 2009 20:11:40 -0400 (EDT) X-Virus-Scanned: amavisd-new at loveturtle.net Received: from loveturtle.net ([127.0.0.1]) by localhost (loveturtle.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id R9MEI1uBdNpY for ; Thu, 21 May 2009 20:11:36 -0400 (EDT) Received: from ramuh.loveturtle.net (ramuh.loveturtle.net [216.182.254.142]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by loveturtle.net (Postfix) with ESMTPSA id AAE63100D4B for ; Thu, 21 May 2009 20:11:36 -0400 (EDT) Message-ID: <4A15EDB8.6070808@loveturtle.net> Date: Thu, 21 May 2009 20:11:36 -0400 From: Dillon Kass User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <3c1674c90905201643m540c8b1v8a8bd88f071c233d@mail.gmail.com> <200905211435.01723.kirk@strauser.com> <200905212008.n4LK81sw002193@lava.sentex.ca> <3c1674c90905211315y5e59b9e2l94dfb4215f786e69@mail.gmail.com> In-Reply-To: <3c1674c90905211315y5e59b9e2l94dfb4215f786e69@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: ZFS MFC heads down 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: Fri, 22 May 2009 00:11:41 -0000 On 5/21/09 4:15 PM, Kip Macy wrote: > Your snapshots are using two thirds of your used capacity. 'df' only > knows about the mounted file system. > > Cheers, > Kip > > On that subject, if anyone isn't aware this version of zfs has nicer space accounting. you should check out the output of zfs list -o space SUPER AWESOME HUH!? unfortunately the fancy new space accounting only works on datasets created on a pool supporting it, so all of us who upgraded our pools will not see any output. for example NAME AVAIL USED USEDSNAP USEDDS USEDREFRESERV USEDCHILD rpool/ROOT/snv_107 8.86G 3.80G - - - - however you can just create a new dataset with zfs create to take advantage of the new space accounting. then you'll get real output like NAME AVAIL USED USEDSNAP USEDDS USEDREFRESERV USEDCHILD phoenix/rsync/cifs 70.2G 272G 212G 59.3G 0 0 I can easily see here that I have 212G of snapshots for this dataset. I just thought I would throw that out there for anyone who didn't know about it yet.