From owner-freebsd-questions@FreeBSD.ORG Wed Jul 23 21:40:58 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C955DC28 for ; Wed, 23 Jul 2014 21:40:58 +0000 (UTC) Received: from btw.pki2.com (btw.pki2.com [IPv6:2001:470:a:6fd::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8F2C32DA2 for ; Wed, 23 Jul 2014 21:40:58 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by btw.pki2.com (8.14.9/8.14.9) with ESMTP id s6NLeiMr000220; Wed, 23 Jul 2014 14:40:44 -0700 (PDT) (envelope-from freebsd@penx.com) Authentication-Results: btw.pki2.com; dkim=none reason="no signature"; dkim-adsp=none Subject: Re: Disk space economy From: Dennis Glatting To: Janos Dohanics In-Reply-To: <20140723172954.e86883fcc8f54ee7ccbe32fd@3dresearch.com> References: <20140723172954.e86883fcc8f54ee7ccbe32fd@3dresearch.com> Content-Type: text/plain; charset="us-ascii" Date: Wed, 23 Jul 2014 14:40:44 -0700 Message-ID: <1406151644.20477.37.camel@btw.pki2.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-SoftwareMunitions-MailScanner-Information: Dennis Glatting X-SoftwareMunitions-MailScanner-ID: s6NLeiMr000220 X-SoftwareMunitions-MailScanner: Found to be clean X-MailScanner-From: freebsd@penx.com Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Jul 2014 21:40:58 -0000 On Wed, 2014-07-23 at 17:29 -0400, Janos Dohanics wrote: > Hello List, > > I have a directory which contains 48 files. 35 of these files are > large, close to 2 GB (reported by ls -l). 7 of the files a smaller than > 4 K, the rest of the files are few dozen Ks in size. > > This is a FreeBSD 10 system with ZFS and RAIDZ2. > > du -h reports the directory to be 208G. > > du -A -h reports the directory to be 69G. > > It seems there is 2G wasted for each 1G stored data - would you explain > why and what can I do make more economical use of disk space? > Compression and/or dedup enabled?