From owner-freebsd-stable@FreeBSD.ORG Wed Nov 24 17:11:17 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9A1516A4CE for ; Wed, 24 Nov 2004 17:11:17 +0000 (GMT) Received: from darkness.comp.waw.pl (darkness.comp.waw.pl [195.117.238.136]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6D88F43D41 for ; Wed, 24 Nov 2004 17:11:17 +0000 (GMT) (envelope-from pjd@darkness.comp.waw.pl) Received: by darkness.comp.waw.pl (Postfix, from userid 1009) id 3A53DACBD2; Wed, 24 Nov 2004 18:11:15 +0100 (CET) Date: Wed, 24 Nov 2004 18:11:15 +0100 From: Pawel Jakub Dawidek To: Eirik ?verby Message-ID: <20041124171115.GP7232@darkness.comp.waw.pl> References: <41A45A3F.5010008@anduin.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XMM+kVNHGkMezEqK" Content-Disposition: inline In-Reply-To: <41A45A3F.5010008@anduin.net> User-Agent: Mutt/1.4.2i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 5.2.1-RC2 i386 cc: stable@freebsd.org Subject: Re: graid3 - requirements or manpage wrong? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Nov 2004 17:11:18 -0000 --XMM+kVNHGkMezEqK Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 24, 2004 at 10:54:07AM +0100, Eirik ?verby wrote: +> to the best of my ability I have been investigating the 'real'=20 +> requirements of a raid-3 array, and cannot see that the following text= =20 +> from graid3(8) cannot possibly be correct - and if it is, then the=20 +> implementation must be wrong or incomplete (emphasis added): +>=20 +> label Create a RAID3 device. The last given component will contain +> parity data, all the rest - regular data. ***Number of= =20 +> compo- +> nents has to be equal to 3, 5, 9, 17, etc. (2^n + 1).*** +>=20 +> I might be wrong, but I cannot see how a raid-3 array should require=20 +> (2^n + 1) drives - I am fairly certain I have seen raid-3 arrays=20 +> consisting of four drives, for example. This is also what I had hoped to= =20 +> accomplish. This requirement is because we want sectorsize to be power of 2 (UFS needs it). In RAID3 we want to send every I/O request to all components at once, that's why we need sector size to be N*512, where N is a power of 2 value AND because graid3 uses one parity component we need N+1 providers. --=20 Pawel Jakub Dawidek http://www.FreeBSD.org pjd@FreeBSD.org http://garage.freebsd.pl FreeBSD committer Am I Evil? Yes, I Am! --XMM+kVNHGkMezEqK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFBpMCzForvXbEpPzQRAqthAJ9xhpChtjETn6GxPEMYyM3hut8qfQCdFbET WI48BnLk1RSaNukg/38V5qg= =AKqe -----END PGP SIGNATURE----- --XMM+kVNHGkMezEqK--