From owner-freebsd-stable@FreeBSD.ORG Tue Oct 7 11:27:23 2008 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 C26DA1065686 for ; Tue, 7 Oct 2008 11:27:23 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.freebsd.org (Postfix) with ESMTP id 53A2A8FC22 for ; Tue, 7 Oct 2008 11:27:23 +0000 (UTC) (envelope-from max@love2party.net) Received: from vampire.homelinux.org (dslb-088-066-011-245.pools.arcor-ip.net [88.66.11.245]) by mrelayeu.kundenserver.de (node=mrelayeu7) with ESMTP (Nemesis) id 0ML2xA-1KnAWc2w5P-0003lC; Tue, 07 Oct 2008 13:14:47 +0200 Received: (qmail 16018 invoked from network); 7 Oct 2008 11:14:46 -0000 Received: from fbsd8.laiers.local (192.168.4.151) by mx.laiers.local with SMTP; 7 Oct 2008 11:14:46 -0000 From: Max Laier Organization: FreeBSD To: freebsd-stable@freebsd.org Date: Tue, 7 Oct 2008 13:14:45 +0200 User-Agent: KMail/1.10.1 (FreeBSD/8.0-CURRENT; KDE/4.1.1; i386; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810071314.45922.max@love2party.net> X-Provags-ID: V01U2FsdGVkX18I4VCfwVpRmoLNLLYzgeZGktThNy4NAy9P7vd KQddCZrh08UxOnhyDwwPYFUQZtXN350Yk+ms0Swv1TYymHu6Pe AbTSHUtlOnIcs6CxiXr7Q== Cc: lhmwzy@gmail.com, koitsu@freebsd.org, pjd@freebsd.org, Pete French Subject: Re: zfs quota question 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: Tue, 07 Oct 2008 11:27:23 -0000 On Tuesday 07 October 2008 12:43:45 Pete French wrote: > > Yeah, ZFS offers a lot, which can create confusion, unfortunately. Do we > > limit physical space with quota or only logical (before compression)? > > Should we take space consumed by snapshots into account or not? etc. > > On a related note, is there any way to make du tell me how big files > are in actual bytes on a compressed ZFS filesystem, aas opposed to space > on the disc ? I love ZFS, but I suddenly found out last night that I > have lost the ability tto do a 'du' on a directory to work out if it will > fit onto a CD or not :-) But you can't do that on UFS either: sparse files, hardlinks, ... The GNU du(1) has a "--apparent-size" switch to get the logical size instead of what the tool's name suggests (the disk usage). -- /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News