From owner-freebsd-geom@FreeBSD.ORG Fri May 8 19:19:11 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 50A6A1065673 for ; Fri, 8 May 2009 19:19:11 +0000 (UTC) (envelope-from edwintorok@gmail.com) Received: from mail-fx0-f168.google.com (mail-fx0-f168.google.com [209.85.220.168]) by mx1.freebsd.org (Postfix) with ESMTP id CFC568FC17 for ; Fri, 8 May 2009 19:19:10 +0000 (UTC) (envelope-from edwintorok@gmail.com) Received: by fxm12 with SMTP id 12so1573442fxm.43 for ; Fri, 08 May 2009 12:19:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=cjcNTTlm7bdEC8bDeDUvSYYqa4kd6YZQzNgjXOPfkIw=; b=Bo9Eseysl6wOLcd6Ui8laIgqHNR5z/HKfeaC2jJ5Fkyq4dBif/1XP25VbrIGgyZNbo r4mMqz2IXQCC+uDDUJo0iW9nLRyjM7zgx4xyQwFZ9Ykw7fuBN9YgjrI52ZTkVPobw95w vwOiznIclNcfI6l3QhyZ0ajcmiw/fTjhqdTH8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=LXV5bSeEAX+Cd/e7FZWYG7t2a0+8jIf7C5JqmznwpsxQ4kY0wxdEnIDk9BpssBod8F w48XQUOvjhTGZlJMY0QXB2FwhrPAA7uVj2lA8WVzs9/LipK+At6sJPIUUs+zJ7Ss/0/4 eIVEIdNLQ7nzuoDUoAgynfhNa1+byERJvIYeo= Received: by 10.103.49.12 with SMTP id b12mr2511157muk.98.1241808930662; Fri, 08 May 2009 11:55:30 -0700 (PDT) Received: from debian ([79.114.104.192]) by mx.google.com with ESMTPS id g1sm1452996muf.26.2009.05.08.11.55.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 08 May 2009 11:55:30 -0700 (PDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by debian (Postfix) with ESMTP id 46049392F9 for ; Fri, 8 May 2009 21:55:29 +0300 (EEST) Message-ID: <4A048020.3070709@gmail.com> Date: Fri, 08 May 2009 21:55:28 +0300 From: =?ISO-8859-1?Q?T=F6r=F6k_Edwin?= User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: freebsd-geom@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: 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: Fri, 08 May 2009 19:19:11 -0000 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. I have this RAID10 array (according to /proc/mdstat Linux): md4 : active raid10 sda3[0] sdc3[5] sdf3[4] sdd3[3] sde3[2] sdb3[1] 2159617728 blocks 64K chunks 2 near-copies [6/6] [UUUUUU] See here for how Linux's md driver lays out data: http://en.wikipedia.org/wiki/Non-standard_RAID_levels#Linux_MD_RAID_10 Does FreeBSD support reading this RAID format? Alternatively I also have a RAID1 array on same disks: md3 : active raid1 sda1[0] sdd1[5] sde1[4] sdf1[3] sdb1[2] sdc1[1] 9767424 blocks [6/6] [UUUUUU] I see that FreeBSD supports RAID1, but will it read in parallel from all 6 disks? (if not I can just mount one of them readonly) Also if gmirror does support the above, is there a way to tell it to treat the disks as readonly? Also is there support for recognizing Linux RAID superblocks (partition type 0xf Linux raid autodetect)? Best regards, --Edwin