From owner-freebsd-current@FreeBSD.ORG Sat Jul 17 14:41:49 2010 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73965106566C for ; Sat, 17 Jul 2010 14:41:49 +0000 (UTC) (envelope-from marco+freebsd-current@lordsith.net) Received: from smtp-out3.tiscali.nl (smtp-out3.tiscali.nl [195.241.79.178]) by mx1.freebsd.org (Postfix) with ESMTP id F2F6E8FC16 for ; Sat, 17 Jul 2010 14:41:47 +0000 (UTC) Received: from [82.168.152.67] (helo=lordsith.net) by smtp-out3.tiscali.nl with esmtp (Exim) (envelope-from ) id 1Oa8PB-0003Qd-Q3; Sat, 17 Jul 2010 16:30:17 +0200 Date: Sat, 17 Jul 2010 16:30:03 +0200 From: Marco van Lienen To: Stefan Bethke Message-ID: <20100717143003.GB62874@lordsith.net> Mail-Followup-To: Marco van Lienen , Stefan Bethke , freebsd-current@FreeBSD.org References: <4C3C7202.7090103@FreeBSD.org> <20100717101459.GA13626@lordsith.net> <9E4FCF4C-7A69-426E-9F39-B5487D4CB07C@lassitu.de> <20100717105134.GB13626@lordsith.net> <86DB038E-D49B-4793-B966-6B5D29FA3B84@lassitu.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-ripemd160; protocol="application/pgp-signature"; boundary="tKW2IUtsqtDRztdT" Content-Disposition: inline In-Reply-To: <86DB038E-D49B-4793-B966-6B5D29FA3B84@lassitu.de> Organization: LordSith.Net X-Operating-System: FreeBSD 8.0-RELEASE-p2 X-FreeBSD: RULEZ Them All X-GPG-Fingerprint: A025 D8AA AC1B D2FC 380D 4FC1 8EA0 0BA8 8580 E6CB X-GPG-Key: http://lordsith.net/gpgkey X-Uptime: 4:24PM up 6 days, 16:46, 7 users, load averages: 0.00, 0.14, 0.12 User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-current@FreeBSD.org Subject: Re: RAIDZ capacity (was ZFS version 15 committed to head) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marco van Lienen List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jul 2010 14:41:49 -0000 --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jul 17, 2010 at 01:04:52PM +0200, you (Stefan Bethke) sent the foll= owing to the -current list: > >=20 > > I have read many things about those differences, but why then does zfs = on opensolaris report more available space whereas FreeBSD does not? > > That would imply that my friend running osol build 117 couldn't fill up= his raidz pool past the 3.56T. >=20 > You didn't show us how your friends pool is set up. >=20 > With RAIDZ1, the capacity of one of the devices in the pool is used for r= edundancy, with RAIDZ2 it's two disks worth. So three 2TB disks with RAIDZ= 1 gives you 4TB net capacity. If you don't care about redundancy, use a si= mple concatenation, i. e. don't specify mirror, raidz or raidz2 when creati= ng the pool. My friend created his raidz pool just the same way as I did: zpool create p= ool2 raidz c0d0 c0d1 c0d2 So just 3 dedicated drives. I also posted the example of creating a test raidz pool based on 3 65Mb fil= es. On osol there is more available space being reported by 'zfs list' on that = test raidz pool When I created a similar test raidz pool also based on 3 65Mb files, 'zfs l= ist' on my FreeBSD boxes (9.0-CURRENT amd64 and 8.0-RELEASE-p2 i386) is sho= wing much less available space. So regardless whether we use whole disks or simply files for testing purpos= es, 'zfs list' on the osol system is reporting more available space. cheers, marco --tKW2IUtsqtDRztdT Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (FreeBSD) iEYEAREDAAYFAkxBvmsACgkQjqALqIWA5ssw3ACeNKD0FwbqH9uUrdkDTC4vZlXH CyAAn0VvVciyU0M5/WJ4PBsH38hdiQVl =v0HX -----END PGP SIGNATURE----- --tKW2IUtsqtDRztdT--