From owner-freebsd-geom@FreeBSD.ORG Thu Aug 22 16:19:27 2013 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 07651611 for ; Thu, 22 Aug 2013 16:19:27 +0000 (UTC) (envelope-from rp_freebsd@mac.com) Received: from st11p00mm-asmtp001.mac.com (st11p00mm-asmtpout001.mac.com [17.172.81.0]) by mx1.freebsd.org (Postfix) with ESMTP id D42CB28C5 for ; Thu, 22 Aug 2013 16:19:26 +0000 (UTC) Received: from [192.168.1.3] (c-98-207-91-59.hsd1.ca.comcast.net [98.207.91.59]) by st11p00mm-asmtp001.mac.com (Oracle Communications Messaging Server 7u4-27.07(7.0.4.27.6) 64bit (built Jun 21 2013)) with ESMTPSA id <0MRX00I0EUJVWX80@st11p00mm-asmtp001.mac.com> for freebsd-geom@freebsd.org; Thu, 22 Aug 2013 15:19:20 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8794,1.0.431,0.0.0000 definitions=2013-08-22_07:2013-08-22,2013-08-22,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1305240000 definitions=main-1308220094 User-Agent: Microsoft-MacOutlook/14.3.6.130613 Date: Thu, 22 Aug 2013 08:19:05 -0700 Subject: Re: Bootable RAID10 on 9.0-RELEASE From: Ravi Pokala Sender: Ravi Pokala To: freebsd-geom@freebsd.org Message-id: Thread-topic: Bootable RAID10 on 9.0-RELEASE In-reply-to: MIME-version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Aug 2013 16:19:27 -0000 -----Original Message----- >From: freeiron >To: freebsd-geom@freebsd.org >Subject: Re: Bootable RAID10 on 9.0-RELEASE >Message-ID: <1377127128386-5837809.post@n5.nabble.com> >Content-Type: text/plain; charset=us-ascii > >Hi Ravi, > >Can you please help with software RAID 10 on LSI 9207-8I adapter with 20 >drives on FreeBSD 9.1. i am new to FreeBSD and will appreciate your help. >Seems like you have mentioned something using with LSI drivers and then i >might not have to use a spare drive. > >-- >View this message in context: >http://freebsd.1045724.n5.nabble.com/Bootable-RAID10-on-9-0-RELEASE-tp5437 >647p5837809.html >Sent from the freebsd-geom mailing list archive at Nabble.com. Hi freeiron, As described in the last post on the thread ( http://freebsd.1045724.n5.nabble.com/Bootable-RAID10-on-9-0-RELEASE-tp54376 47p5452951.html ), I ended up just using the LSI controller firmware to create the RAID10: | When I got a chance to play with the actual hardware, I found that it | has an LSI SAS controller which is supported by mfi(4). I ended up | setting up the RAID10 in the pre-boot environment, then just creating | GPT partitions on mfid0 and going from there. *Much* easier (once I | dug up the documentation on LSI's website), works fine, and the | interface offered by `mfiutil' looks pretty reasonable. FreeBSD recognized my controller as being supported by mfi(4), so the resulting array showed up as a drive named 'mfid0', which I then treated in the usual manner in `bsdinstall' (i.e. partitioned w/ GPT, created filesystems, etc.). The only thing that gave me trouble was that I accidentally configured one of the servers with a very small stripe size (8KB?), which lead to terrible performance; nuking the array and reconfiguring it with a 64KB stripe yielded *much* better performance. Manipulating and reporting status can be done from a running system using mfiutil(8). | [server:~] root% mfiutil show adapter | mfi0 Adapter: | Product Name: Supermicro SMC2108 | Serial Number: | Firmware: 12.12.0-0047 | RAID Levels: JBOD, RAID0, RAID1, RAID5, RAID6, RAID10, RAID50 | Battery Backup: not present | NVRAM: 32K | Onboard Memory: 512M | Minimum Stripe: 8k | Maximum Stripe: 1M | [server:~] root% mfiutil show firmware | mfi0 Firmware Package Version: 12.12.0-0047 | mfi0 Firmware Images: | Name Version Date Time Status | APP 2.120.53-1235 Mar 25 2011 17:37:57 active | BIOS 3.22.00_4.11.05.00_0x05020000 3/16/2011 | 3/16/2011 | active | PCLI 04.04-017:#%00008 Oct 12 2010 11:32:58 active | BCON 6.0-37-e_32-Rel Mar 23 2011 10:30:10 active | NVDT 2.09.03-0013 Mar 29 2011 02:35:36 active | BTBL 2.02.00.00-0000 Sep 16 2009 21:37:06 active | BOOT 01.250.04.219 4/28/2009 12:51:38 active | [server:~] root% mfiutil -de show config | mfi0 Configuration: 2 arrays, 1 volumes, 0 spares | array 0 of 2 drives: | drive 8 E1:S0 ( 558G) ONLINE SAS | drive 9 E1:S1 ( 558G) ONLINE SAS | array 1 of 2 drives: | drive 10 E1:S2 ( 558G) ONLINE SAS | drive 11 E1:S3 ( 558G) ONLINE SAS | volume mfid0 (1115G) RAID-1 64k OPTIMAL spans: | array 0 | array 1 | [server:~] root% mfiutil show volumes | mfi0 Volumes: | Id Size Level Stripe State Cache Name | mfid0 ( 1115G) RAID-1 64k OPTIMAL Enabled Of course, all that is only applicable if your controller is also recognized by mfi(4). If not, then I can't really help you. I hope that helps, rp