From owner-freebsd-current@FreeBSD.ORG Tue Jan 4 16:44:32 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 BA439106566B for ; Tue, 4 Jan 2011 16:44:32 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 8E2D08FC20 for ; Tue, 4 Jan 2011 16:44:32 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 48B8046B5B; Tue, 4 Jan 2011 11:44:32 -0500 (EST) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 563E88A01D; Tue, 4 Jan 2011 11:44:31 -0500 (EST) From: John Baldwin To: "Danilo G. Baio" Date: Tue, 4 Jan 2011 11:37:59 -0500 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20101102; KDE/4.4.5; amd64; ; ) References: <20110104130541.GA1377@warlock.localdomain.com> <201101041005.43095.jhb@freebsd.org> <4D233C1A.3000400@bsd.com.br> In-Reply-To: <4D233C1A.3000400@bsd.com.br> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201101041137.59865.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Tue, 04 Jan 2011 11:44:31 -0500 (EST) X-Virus-Scanned: clamav-milter 0.96.3 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.9 required=4.2 tests=BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bigwig.baldwin.cx Cc: freebsd-current@freebsd.org 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: Tue, 04 Jan 2011 16:44:32 -0000 On Tuesday, January 04, 2011 10:26:18 am Danilo G. Baio wrote: > Em 04/01/2011 13:05, John Baldwin escreveu: > > On Tuesday, January 04, 2011 8:06:25 am Danilo G. Baio wrote: > >> Hi guys, > >> > >> mfiutil don't show raid level right with Perc H700. > >> Before to post i've read all /usr/src/usr.sbin/mfiutil > >> and sorry, i dont have the knowledge for that. :( > > > > Can you get the output of 'mfiutil show debug' when compiled with DEBUG? > > > > Sorry... i forgot to post. > > 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 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). -- John Baldwin