From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 16 15:00:47 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50B04106564A for ; Fri, 16 Dec 2011 15:00:47 +0000 (UTC) (envelope-from aboyer@averesystems.com) Received: from zimbra.averesystems.com (75-149-8-245-Pennsylvania.hfc.comcastbusiness.net [75.149.8.245]) by mx1.freebsd.org (Postfix) with ESMTP id 043828FC16 for ; Fri, 16 Dec 2011 15:00:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra.averesystems.com (Postfix) with ESMTP id EE474446002; Fri, 16 Dec 2011 10:01:42 -0500 (EST) X-Virus-Scanned: amavisd-new at averesystems.com Received: from zimbra.averesystems.com ([127.0.0.1]) by localhost (zimbra.averesystems.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HGaCTJFrvwJw; Fri, 16 Dec 2011 10:01:39 -0500 (EST) Received: from riven.arriad.com (fw.arriad.com [10.0.0.16]) by zimbra.averesystems.com (Postfix) with ESMTPSA id EDB0C446009; Fri, 16 Dec 2011 10:01:38 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Andrew Boyer In-Reply-To: Date: Fri, 16 Dec 2011 10:00:40 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <937308E9-F456-4DB6-9C3C-215DE07E92B4@averesystems.com> References: <4EE8A005.5030607@barafranca.com> <9317551F-CBE0-4368-B798-498E58E240B2@sarenet.es> <2EA3FFF4-E6A2-4371-8891-26E99C551C67@transactionware.com> <4EEA1215.8060507@barafranca.com> <4EEA1A64.1040104@barafranca.com> <3A13B3B1-4CDE-4D5A-A6F3-E7DC5BB0E4E3@averesystems.com> To: Jan Mikkelsen X-Mailer: Apple Mail (2.1084) Cc: freebsd-hackers@freebsd.org, Hugo Silva Subject: Re: mfi (Dell H700) + hot swapping doesn't appear to work with RC1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 15:00:47 -0000 On Dec 16, 2011, at 12:47 AM, Jan Mikkelsen wrote: > On 16/12/2011, at 3:40 AM, Andrew Boyer wrote: >> On Dec 15, 2011, at 4:19 AM, Jan Mikkelsen wrote: >>=20 >>> For the mfi controllers I have been testing recently (MegaRAID = 9261-8i), you need to install the sysutils/megacli port, and use that to = clear the "foreignness" of the disk you just added. Something like: >>>=20 >>> MegaCli -CfgForeign -Clear -a0 >>=20 >> I don't think that's what you want. You want to use -Import, not = -Clear, to keep your data intact. >=20 > OK. When I did a -Clear and recreated the drive as a single disk raid0 = volume, the data was still there, but I wanted it to go away. The RAID identity is stored on a 512MB partition at the end of the disk. = Clearing and recreating it doesn't actually affect your data, as you = discovered. You can even plug one of your RAID0 disks into a non-RAID = controller and your data will be there. mfiutil has a 'drive clear' feature to zero disks. Or you could just dd = a few megs of zeroes to the beginning of the disk. >=20 >> I recommend you always run with this configuration: >>=20 >> # MegaCli -AdpSetProp AutoEnhancedImportEnbl -aALL >> # MegaCli -AdpSetProp MaintainPdFailHistoryEnbl -0 -aALL >>=20 >> AutoEnhancedImportEnbl will bring the foreign disk back in on a = reboot. LSI recommends turning off MaintainPdFailHistory when using = single-disk RAID0 configurations. >=20 > What does PD Fail History actually do? See: http://kb.lsi.com/KnowledgebaseArticle16570.aspx -Andrew -------------------------------------------------- Andrew Boyer aboyer@averesystems.com