From owner-freebsd-current@FreeBSD.ORG Wed Jan 5 11:02:50 2011 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 EA61810656A8; Wed, 5 Jan 2011 11:02:50 +0000 (UTC) (envelope-from dbaio@bsd.com.br) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 99D898FC19; Wed, 5 Jan 2011 11:02:50 +0000 (UTC) Received: by gxk8 with SMTP id 8so6327876gxk.13 for ; Wed, 05 Jan 2011 03:02:49 -0800 (PST) Received: by 10.90.114.5 with SMTP id m5mr493410agc.25.1294225369684; Wed, 05 Jan 2011 03:02:49 -0800 (PST) Received: from [192.168.6.125] ([201.86.94.44]) by mx.google.com with ESMTPS id 17sm14971290anx.33.2011.01.05.03.02.47 (version=SSLv3 cipher=RC4-MD5); Wed, 05 Jan 2011 03:02:48 -0800 (PST) Message-ID: <4D244FF1.8040005@bsd.com.br> Date: Wed, 05 Jan 2011 09:03:13 -0200 From: "Danilo G. Baio" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; pt-BR; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: jhb@freebsd.org, freebsd-current@freebsd.org References: <20110104130541.GA1377@warlock.localdomain.com> <201101041005.43095.jhb@freebsd.org> <4D233C1A.3000400@bsd.com.br> <201101041137.59865.jhb@freebsd.org> In-Reply-To: <201101041137.59865.jhb@freebsd.org> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: Re: mfiutil and raid level X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2011 11:02:51 -0000 Em 04/01/2011 14:37, John Baldwin escreveu: > > Previous RAID-10 volumes that I've seen MFI BIOSes create used a non-zero > secondary raid level (they all used '3', which is what mfiutil uses to > create RAID-10 volumes itself). > Thank you for the answer, i will use the array created with mfiutil... Just for confirm, i´ve made more tests and more one time the array from bios still stay with secondary raid level = 0 when creates a raid 10. Creating with mfiutil, OK... mfiutil create raid10 e1:s0,e1:s1 e1:s2,e1:s3 mfiutil name mfid1 DADOS noname# mfiutil show volumes mfi0 Volumes: Id Size Level Stripe State Cache Name mfid0 ( 465G) RAID-1 64K OPTIMAL Disabled mfid1 ( 272G) RAID-10 64K OPTIMAL Writes noname# ./mfiutil debug mfi0 Configuration (Debug): 3 arrays, 2 volumes, 0 spares array size: 288 volume size: 256 spare size: 40 array 0 of 2 drives: size = 975699968 drive 4 ONLINE raw size: 976773168 non-coerced size: 975724592 coerced size: 975699968 drive 5 ONLINE raw size: 976773168 non-coerced size: 975724592 coerced size: 975699968 array 1 of 2 drives: size = 285474816 drive 0 ONLINE raw size: 286749480 non-coerced size: 285700904 coerced size: 285474816 drive 1 ONLINE raw size: 286749480 non-coerced size: 285700904 coerced size: 285474816 array 2 of 2 drives: size = 285474816 drive 2 ONLINE raw size: 286749480 non-coerced size: 285700904 coerced size: 285474816 drive 3 ONLINE raw size: 286749480 non-coerced size: 285700904 coerced size: 285474816 volume mfid0 RAID-1 OPTIMAL primary raid level: 1 raid level qualifier: 0 secondary raid level: 0 stripe size: 7 num drives: 2 init state: 0 consistent: 1 no bgi: 0 spans: array 0 @ 0 : 975699968 volume mfid1 RAID-10 OPTIMAL primary raid level: 1 raid level qualifier: 0 secondary raid level: 3 stripe size: 7 num drives: 2 init state: 0 consistent: 0 no bgi: 0 spans: array 1 @ 0 : 285474816 array 2 @ 0 : 285474816 noname# ------------------------------------------------------------ Creating with BIOS... secondary raid level = 0 noname# mfiutil show volumes mfi0 Volumes: Id Size Level Stripe State Cache Name mfid0 ( 465G) RAID-1 64K OPTIMAL Disabled mfid1 ( 272G) RAID-1 64K OPTIMAL Disabled noname# ./mfiutil debug mfi0 Configuration (Debug): 3 arrays, 2 volumes, 0 spares array size: 288 volume size: 256 spare size: 40 array 0 of 2 drives: size = 975699968 drive 4 ONLINE raw size: 976773168 non-coerced size: 975724592 coerced size: 975699968 drive 5 ONLINE raw size: 976773168 non-coerced size: 975724592 coerced size: 975699968 array 1 of 2 drives: size = 285474816 drive 0 ONLINE raw size: 286749480 non-coerced size: 285700904 coerced size: 285474816 drive 1 ONLINE raw size: 286749480 non-coerced size: 285700904 coerced size: 285474816 array 2 of 2 drives: size = 285474816 drive 2 ONLINE raw size: 286749480 non-coerced size: 285700904 coerced size: 285474816 drive 3 ONLINE raw size: 286749480 non-coerced size: 285700904 coerced size: 285474816 volume mfid0 RAID-1 OPTIMAL primary raid level: 1 raid level qualifier: 0 secondary raid level: 0 stripe size: 7 num drives: 2 init state: 0 consistent: 1 no bgi: 0 spans: array 0 @ 0 : 975699968 volume mfid1 RAID-1 OPTIMAL primary raid level: 1 raid level qualifier: 0 secondary raid level: 0 stripe size: 7 num drives: 2 init state: 0 consistent: 0 no bgi: 0 spans: array 1 @ 0 : 285474816 array 2 @ 0 : 285474816 noname# Screen from BIOS: http://img808.imageshack.us/i/dellr510h70003lds.jpg/ http://img824.imageshack.us/i/dellr510h70002create.jpg/ http://img338.imageshack.us/i/dellr510h70001noarray.jpg/ Regards. -- Danilo G. Baio (dbaio)