Date: Wed, 13 May 2009 14:56:37 +0200 From: Ivan Voras <ivoras@freebsd.org> To: freebsd-geom@freebsd.org Subject: Re: compatibility with Linux software RAID? Message-ID: <gueg25$vbg$1@ger.gmane.org> In-Reply-To: <4A048020.3070709@gmail.com> References: <4A048020.3070709@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] Török Edwin wrote: > Hi, > > Apologies if this has been answered before, but is there a way to access > (even if just read-only) RAID arrays created by Linux software raid > tools (mdadm)? > > 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. [-- Attachment #2 --] -----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-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?gueg25$vbg$1>
