From owner-freebsd-questions@FreeBSD.ORG Sun Nov 23 22:26:47 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id AAFD528F for ; Sun, 23 Nov 2014 22:26:47 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 65943F12 for ; Sun, 23 Nov 2014 22:26:46 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Xsfc3-0003gu-7E for freebsd-questions@freebsd.org; Sun, 23 Nov 2014 23:26:35 +0100 Received: from p4fddd890.dip0.t-ipconnect.de ([79.221.216.144]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Nov 2014 23:26:35 +0100 Received: from christian.baer by p4fddd890.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Nov 2014 23:26:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Christian Baer Subject: How much space does raidz2 'eat'? Date: Sun, 23 Nov 2014 23:26:23 +0100 Lines: 33 Message-ID: <20141123232623.39d46c80@falbala.rz1.convenimus.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p4fddd890.dip0.t-ipconnect.de X-Newsreader: Claws Mail 3.11.1 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2014 22:26:47 -0000 Good evening dear users! :-) I just installed my first file server with zfs/zpool. Until now I only ever used UFS. My pool consists of 7 HDDs of the type WDC WD40EFRX-68WT0N0. smart tells me the user capacity is: 4,000,787,030,016 bytes. After creating a raidz2 pool, I get this: Filesystem Size Used Avail Capacity iused ifree %iused Mounted on /dev/ufs/root 992M 491M 421M 54% 2.2k 129k 2% / devfs 1.0K 1.0K 0B 100% 0 0 100% /dev /dev/ufs/var 34G 1.1G 30G 4% 2.1k 4.7M 0% /var /dev/ufs/usr 58G 6.0G 47G 11% 269k 7.6M 3% /usr arc1 16T 192K 16T 0% 7 35G 0% /arc1 Notes: #1 I did not use phyiscal drives but geli-providers. I want an encrypted pool. #2 This pool is mainly for cold storage. I do not need extremely high performance, but I'd rather optimize it for space. Now I know that while WD works with kB, FreeBSD works with KiB (factor 1024). However, if I break this drive down to that and multiply that by 5, I get 18.19TiB, while df gives me 16TiB. Sure, there is some overhead and all, but certainly (hopefully) not 2 whole TiB! That would be more than 10%. Is this normal or am I missing something? Regards, Chris