From owner-freebsd-fs@FreeBSD.ORG Thu Dec 4 17:57:55 2008 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 7F2C81065675 for ; Thu, 4 Dec 2008 17:57:55 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by mx1.freebsd.org (Postfix) with ESMTP id 342798FC17 for ; Thu, 4 Dec 2008 17:57:55 +0000 (UTC) (envelope-from zbeeble@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so1786989yxb.13 for ; Thu, 04 Dec 2008 09:57:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=h4vcfvMKtpVLNd1n1GqnlwoR2qfRnRndBz/udfBTvrc=; b=iEqwKTIzMEmYfs+P1kLOuFZ9Iku0FD+KiEMeBh8+mQSAXy+SQKCQEFvQYbT4Wg8Jam gHe9WsHgQzZXEFziYe6FaLb6GquxKUrPmcG35zzOE0PqDEOnODJsslrl96zE6sqkEebY fbJOUI0D0LyfNapfhZ1DK8cBEU5OiORl1oO2k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=Bvhs64hlSIQQ2T49XfOveq2ICSRuJgoISE/0rGOBwQUfmdM0OchQlKi8LBicCCd4ar 8VnSUvEuSCt0Gc1mWGLsD8zhumPkLfUETL+iTyRChiIQJeUlZL0g3WIW9Ra8wRixAw4b Jrs8aHZHvDqt3vmbn/k1wUHvJowgOOvzVtQyM= Received: by 10.151.11.17 with SMTP id o17mr4039447ybi.119.1228413474520; Thu, 04 Dec 2008 09:57:54 -0800 (PST) Received: by 10.151.128.6 with HTTP; Thu, 4 Dec 2008 09:57:54 -0800 (PST) Message-ID: <5f67a8c40812040957h8d90b26t5092fa68c76bafb8@mail.gmail.com> Date: Thu, 4 Dec 2008 12:57:54 -0500 From: "Zaphod Beeblebrox" To: ticso@cicely.de In-Reply-To: <20081203083734.GC71750@cicely7.cicely.de> MIME-Version: 1.0 References: <5f67a8c40812021504p1d67fde1x3d9a9ef8d7214dfc@mail.gmail.com> <20081203083734.GC71750@cicely7.cicely.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-fs@freebsd.org Subject: Re: ZFS filesystem size anomaly... 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: Thu, 04 Dec 2008 17:57:55 -0000 On Wed, Dec 3, 2008 at 3:37 AM, Bernd Walter wrote: > On Tue, Dec 02, 2008 at 06:04:21PM -0500, Zaphod Beeblebrox wrote: > > This is all with ZFS version 6 in FreeBSD-7.1-RC, fyi... > > > > I have a machine with the ports tree mounted in ZFS right out of the > > examples: > > > > [3:75:375]root@canoe:/usr/ports> zfs list | grep ports > > canoe/ports 3.54G 66.6G 2.35G /usr/ports > > canoe/ports/distfiles 1.19G 66.6G 1.19G > > /usr/ports/distfiles > > > > ... but the sizes here are curious. 1.2G for distfiles is about > correct... > > but 2.35G for the rest of ports is unreasonable. > > It always includes the subvolumes. > So just canoe/ports alone is 2.35G - 1.19G. > You can get more details with "zfs get all canoe/ports". Yes... I understand that. There is a 2G discrepancy. Du on distfiles agrees --- 1.2G vs. 1.19. Du on ports says 1.6G --- including the 1.2 gig in distfiles. That means that du thinks that ports itself is 0.4 Gig, not 2.35 Gig.