From owner-freebsd-stable@FreeBSD.ORG Tue Oct 7 11:03:46 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 C0C24106569E for ; Tue, 7 Oct 2008 11:03:46 +0000 (UTC) (envelope-from lhmwzy@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.152]) by mx1.freebsd.org (Postfix) with ESMTP id 4E5088FC1C for ; Tue, 7 Oct 2008 11:03:45 +0000 (UTC) (envelope-from lhmwzy@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so2186278fgb.35 for ; Tue, 07 Oct 2008 04:03:44 -0700 (PDT) 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 :content-transfer-encoding:content-disposition:references; bh=uMyP2VcqlaiZEUuCLbyYfnJM7i53ytkx+YLtJiGMmxg=; b=UzMKTXw4wi8ot+Hvm8BBpQs8khk7x5pffHkM8CwrVv+nucjxBkOcyAYeBANuktyFeO bh7Hak4bziD88lPca40nymmm8Ws9Fr620C+P4+HqUNrskTr6TnAPRObBcIUdao01gYUR pb7xYfWQriZz5WUmbJs8hu3RsckbMOjR2m2JU= 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:content-transfer-encoding:content-disposition :references; b=EcgX3TwxD/eQyPX0XRUoBM+Uuo5U5XMiPchcjaI4D/DNBNnbPecNluhClpEz5XgXPk 2LCfIbQJdECTyoLECpfz5lifbgBH6QycGkSXfz21Z3e4aMoteYdC5zjifshnJGMEN6wN ROO4+OH9Orwl2eXkiZ4Fa1O3RUIbxOVZfmrgI= Received: by 10.86.98.10 with SMTP id v10mr5758902fgb.46.1223377424698; Tue, 07 Oct 2008 04:03:44 -0700 (PDT) Received: by 10.86.25.10 with HTTP; Tue, 7 Oct 2008 04:03:44 -0700 (PDT) Message-ID: <78fb9d960810070403k15681b40vccb8532b8a16c84d@mail.gmail.com> Date: Tue, 7 Oct 2008 19:03:44 +0800 From: lhmwzy To: "Pete French" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081007103319.GC3464@garage.freebsd.pl> Cc: freebsd-stable@freebsd.org 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:03:46 -0000 Yes,this is a problem. In my case,"du -h" displays 1M,but the actual size is about 24M. 2008/10/7 Pete French : >> 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 :-) > > -pete. >