From owner-freebsd-hackers@FreeBSD.ORG Fri Dec 16 05:47:37 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 7D2EF106564A for ; Fri, 16 Dec 2011 05:47:37 +0000 (UTC) (envelope-from janm-freebsd-hackers@transactionware.com) Received: from midgard.transactionware.com (mail2.transactionware.com [203.14.245.36]) by mx1.freebsd.org (Postfix) with SMTP id CFD8E8FC08 for ; Fri, 16 Dec 2011 05:47:36 +0000 (UTC) Received: (qmail 15791 invoked by uid 907); 16 Dec 2011 05:47:35 -0000 Received: from jmmacpro.transactionware.com (HELO jmmacpro.transactionware.com) (192.168.1.33) by midgard.transactionware.com (qpsmtpd/0.82) with ESMTP; Fri, 16 Dec 2011 16:47:35 +1100 Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=us-ascii From: Jan Mikkelsen In-Reply-To: <3A13B3B1-4CDE-4D5A-A6F3-E7DC5BB0E4E3@averesystems.com> Date: Fri, 16 Dec 2011 16:47:34 +1100 Content-Transfer-Encoding: quoted-printable Message-Id: 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: Andrew Boyer X-Mailer: Apple Mail (2.1251.1) 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 05:47:37 -0000 On 16/12/2011, at 3:40 AM, Andrew Boyer wrote: >=20 > 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. 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. > On Dec 15, 2011, at 11:03 AM, Hugo Silva wrote: >=20 >> On 12/15/11 15:28, Hugo Silva wrote: >>> As Borja said, part of the difficulty is the H700 abstracting a = single >>> disk as a RAID-0, I guess. So far I've been unable to find a way to >>> bring the drive back, except by rebooting and recreating. >>=20 >> Turns out no interaction is needed after reboot. It was something = else >> unrelated. The main issue then is convincing the controller to once >> again accept the hard disk. I'm going through MegaCli "documentation" >> (ie --help).. it's not a pretty place. >=20 > I'm not sure it would even be possible to come up with a worse = interface. It boggles the mind. I agree. It is insanely bad. > 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. What does PD Fail History actually do? > Adding these capabilities to mfiutil is on my list of things to do, = but it's not ready yet. Thanks. > 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. You mean using "MegaCli -PDMakeJBOD"? No, it doesn't work from me on the = 9281-8i. I get "Failed to change PD state". Single disk RAID-0 works = fine. > Hope this helps. It does, thank you. Regards, Jan.