From owner-freebsd-current@FreeBSD.ORG Fri Aug 6 15:58:32 2010 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 4E7B51065676 for ; Fri, 6 Aug 2010 15:58: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 210678FC19 for ; Fri, 6 Aug 2010 15:58: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 C2FFD46C06; Fri, 6 Aug 2010 11:58:31 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id C642F8A04E; Fri, 6 Aug 2010 11:58:30 -0400 (EDT) From: John Baldwin To: freebsd-current@freebsd.org Date: Fri, 6 Aug 2010 10:53:26 -0400 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20100217; KDE/4.4.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201008061053.26465.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Fri, 06 Aug 2010 11:58:30 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: Ian FREISLICH Subject: Re: problem with mfiutil 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: Fri, 06 Aug 2010 15:58:32 -0000 On Friday, August 06, 2010 7:32:00 am Ian FREISLICH wrote: > Hi > > I'm unable to make a raid10 on my servers with 6 disks in each > stripe. I tried a few ways: > > ~ # mfiutil -u1 create raid10 -s1M e1:s0,e1:s1,e1:s2,e1:s3,e1:s4,e1:s5 e1:s6,e1:s7,e1:s8,e1:s9,e1:s10,e1:s11 > mfiutil: Command failed: Invalid parameter > mfiutil: Failed to add volume: Input/output error > > ~ # mfiutil -u1 create raid10 -s1M 19,29,18,26,22,20 31,30,21,27,28,32 > mfiutil: Command failed: Invalid parameter > mfiutil: Failed to add volume: Input/output error > > It does however work with 2 disks in each stripe: > ~ # mfiutil -u1 create raid10 -s1M 19,29 31,30 > > any ideas? Yes, you have it inverted. You are creating a stripe across a bunch of RAID-1's and you need to list all the RAID-1's, so something like this: mfiutil -u 1 create raid10 -s 1M 19,31 29,39 18,21 26,27 22,28 20,32 -- John Baldwin