From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 15 18:28:11 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 2A3DF106566B for ; Thu, 15 Dec 2011 18:28:11 +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 D079A8FC0A for ; Thu, 15 Dec 2011 18:28:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by zimbra.averesystems.com (Postfix) with ESMTP id 43B4F446006; Thu, 15 Dec 2011 13:29:06 -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 gFo9t+IGhat2; Thu, 15 Dec 2011 13:29:04 -0500 (EST) Received: from riven.arriad.com (fw.arriad.com [10.0.0.16]) by zimbra.averesystems.com (Postfix) with ESMTPSA id 93F5B446001; Thu, 15 Dec 2011 13:29:04 -0500 (EST) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Andrew Boyer In-Reply-To: <4EEA382A.1000900@barafranca.com> Date: Thu, 15 Dec 2011 13:28:07 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: <8CBA93DE-9352-4FAC-A59E-96E4DFC364E1@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> <4EEA382A.1000900@barafranca.com> To: Hugo Silva X-Mailer: Apple Mail (2.1084) Cc: freebsd-hackers@freebsd.org, Jan Mikkelsen 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: Thu, 15 Dec 2011 18:28:11 -0000 On Dec 15, 2011, at 1:10 PM, Hugo Silva wrote: > On 12/15/11 16:40, Andrew Boyer wrote: >> I'm not sure it would even be possible to come up with a worse = interface. It boggles the mind. >>=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 >=20 > Any gotchas with this enabled? I'm thinking putting in a disk from > another card, which is part of a raid, in this server, for instance. >=20 My understanding is that it only imports a foreign configuration if it's = complete - but I've never tested it. >> To bring in a foreign disk without rebooting: >>=20 >> # MegaCli -CfgForeign -Scan -aALL >> # MegaCli -CfgForeign -Import [x] -aN (where x is the config number = listed in the scan, and N is the adapter number) >>=20 >> Adding these capabilities to mfiutil is on my list of things to do, = but it's not ready yet. >>=20 >> Has anyone managed to get the real JBOD mode working on this = controller? It advertises support in the firmware but doesn't seem to = do anything. The documentation only lists JBOD mode as a feature of the = lower-end controllers. >>=20 >> Hope this helps. >>=20 >> -Andrew >=20 > It does help - thanks! For the same disk being removed and then > reinserted, the provided commands brought the disk/volume back to > mfiutil show drives/volumes output, and after a zpool clear, ZFS has = no > complains. >=20 >=20 > For recovery from a software-induced fail (mfiutil fail eX:sX), I > couldn't perform a recovery using just mfiutil. MegaCli -PDOnline > -PhysDrv[eX:sX] -aN did it, in that case. >=20 > For the still-untested case of an altogether new disk being inserted, = I > guess mfiutil create jbod N would do the trick. >=20 >=20 > BTW, the mfiutil is coredumping when provided with inexistant disks > (just noticed) Can you provide the exact command that produces a core? -Andrew -------------------------------------------------- Andrew Boyer aboyer@averesystems.com