From owner-freebsd-questions@FreeBSD.ORG Mon Nov 24 07:16:32 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 6A613630 for ; Mon, 24 Nov 2014 07:16:32 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DB710792 for ; Mon, 24 Nov 2014 07:16:30 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.9/8.14.9) with ESMTP id sAO7GDWU062002 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Mon, 24 Nov 2014 07:16:13 GMT (envelope-from m.seaman@infracaninophile.co.uk) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=infracaninophile.co.uk DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk sAO7GDWU062002 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1416813373; bh=KFJuZDQyu/zl+7RLtJz1QRs0N1Rkf/amAkBSB7EnmWI=; h=Date:From:To:Subject:References:In-Reply-To; z=Date:=20Mon,=2024=20Nov=202014=2007:16:04=20+0000|From:=20Matthew =20Seaman=20|To:=20freebsd-questi ons@freebsd.org|Subject:=20Re:=20How=20much=20space=20does=20raidz 2=20'eat'?|References:=20<20141123232623.39d46c80@falbala.rz1.conv enimus.net>|In-Reply-To:=20<20141123232623.39d46c80@falbala.rz1.co nvenimus.net>; b=CSB1NvLOiEpnLCoHtKO8wV2BobBn87ZBHedZezJHjou0vqH61uezlO7gDGl6F2di2 pPUGgXxyKBtRaXGhqOuqZazOeIrg4INeo50rV8xqFe/OYJ7RECCGY4/SbGwKsS1+ok ibiOfnNJFamKmh6p1rqESm02io/4p3Zt6Vcqzj4U= Message-ID: <5472DB34.8080500@infracaninophile.co.uk> Date: Mon, 24 Nov 2014 07:16:04 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: How much space does raidz2 'eat'? References: <20141123232623.39d46c80@falbala.rz1.convenimus.net> In-Reply-To: <20141123232623.39d46c80@falbala.rz1.convenimus.net> OpenPGP: id=E1ECF9BB Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="LTps0rBjdrP9MMQNA7Gx5AEvIpGkLU7Fs" X-Virus-Scanned: clamav-milter 0.98.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk 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: Mon, 24 Nov 2014 07:16:32 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --LTps0rBjdrP9MMQNA7Gx5AEvIpGkLU7Fs Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 23/11/2014 22:26, Christian Baer wrote: > After creating a raidz2 pool, I get this: > 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%. Use 'zpool list' to see the actual size and usage of your pool. The amount you lose in overhead from partitioning and setting up geli providers is pretty neglible; it's all down Yes, RAIDZ2 has around that level of overhead: think two parity blocks for each three data blocks, so worst case is that about 40% of your raw space will disappear. The actual amount depends on exactly how many drives you're using. > Is this normal or am I missing something? See: http://blog.delphix.com/matt/2014/06/06/zfs-stripe-width/ Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey JID: matthew@infracaninophile.co.uk --LTps0rBjdrP9MMQNA7Gx5AEvIpGkLU7Fs Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) iQJ8BAEBCgBmBQJUcts8XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkATL2wP/0tNlPlQ2yjkmBaoTn2tvD2v FXU2DJPlxXoG+tAg7jhNIKSdFBwKsDElhWM/7yKKjW+BDfU869vT11rs4co6HbAl S3G19FYegdLRzVKKlSBF80i2ApUAfc2HdvrAaOL1jN0608pBRFIeTCZNVg5Gukig dbKIC1Yxh2HiQy8c7t09m71q16H5nR7ZA/Itm/AVlKM7xa7Q4Tf9ZWvrX0cqwlwS 60c93cX8oI03UhTwAAnbcXYMHxE/6385LDCuUkm8ZBb2Y4X6GxU+G7RYWe2m2WRm 19gJgtQdXaocL2RdZ1yqXY+NUNBofh0XBU8atR/q8SM4OUB7yMGJZ9APwaRPaYwO a8nzT0t4UmVrqIubTHqNGqLaChZQbLyAbCjv4Bku2ZnbL2xa7LYHbwCsvPQweJPy 5u8pfVsou6awiDOlb8mnhGiIO/38f+dLD8wR97WsSOnLgs/5G9tQ2vLW7GGwL5J2 yUu/rF/54ZY80+fBt/VCff0diXDmk7Wq5n6lVF+6hvC2tPYj1Viqhk5CgtAtPc8b 29bj80Dm1p8FaykJtrFvzRnhMCvLuaLUF4MmNvx2aLUFBOcr6ygw2tbYKww4jSZc cY+u9EJef3wCWbJ1YL85yn/SENkDUKXNd1S1Wy4mZMNDwcQU4caPGtgbMZrpSl4L +Ya7pBdgb4cFOLem9094 =xQYJ -----END PGP SIGNATURE----- --LTps0rBjdrP9MMQNA7Gx5AEvIpGkLU7Fs--