From owner-freebsd-geom@FreeBSD.ORG Wed May 13 12:56:52 2009 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46755106566B for ; Wed, 13 May 2009 12:56:52 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id C5C988FC0C for ; Wed, 13 May 2009 12:56:51 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1M4E0v-0006yj-SC for freebsd-geom@freebsd.org; Wed, 13 May 2009 12:56:49 +0000 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 May 2009 12:56:49 +0000 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 May 2009 12:56:49 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Ivan Voras Date: Wed, 13 May 2009 14:56:37 +0200 Lines: 50 Message-ID: References: <4A048020.3070709@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig692AC584C2F789B7FF3BCAA4" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Thunderbird 2.0.0.21 (X11/20090409) In-Reply-To: <4A048020.3070709@gmail.com> X-Enigmail-Version: 0.95.7 Sender: news Subject: Re: compatibility with Linux software RAID? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2009 12:56:52 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig692AC584C2F789B7FF3BCAA4 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable T=C3=B6r=C3=B6k Edwin wrote: > Hi, >=20 > Apologies if this has been answered before, but is there a way to acces= s > (even if just read-only) RAID arrays created by Linux software raid > tools (mdadm)? >=20 > I want to test the new superpages support in FreeBSD 7.2, and do some > performance comparisons with Linux, problem is all my data is on a > RAID10 array. RAID is not the only problem you have - how will you access the data? FreeBSD's ext2 file system driver isn't nearly as good for any kind of realistic performance testing - you'd probably need to test Linux with extX and FreeBSD with UFS2. > Also if gmirror does support the above, is there a way to tell it to > treat the disks as readonly? Both gmirror and gstripe can work in a sort of "on-the-fly" mode, without actually committing any configuration to the drives (see the "create" command in both). In theory, you could use gmirror and gstripe with exactly the same parameters as you did in Linux to reconstitute your data. You'll also probably need gnop to align data before using gmirror and gstripe. Of course, only do this if you're completely sure what you're doing and know how RAID10 is physically implemented. --------------enig692AC584C2F789B7FF3BCAA4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkoKw4UACgkQldnAQVacBcj+OACfXtYpLXksy7FM4myIrlv0TdjV lYgAnjr6OXlCJVBlLs3osoeKv+oZ9rLq =8Vng -----END PGP SIGNATURE----- --------------enig692AC584C2F789B7FF3BCAA4--