From owner-freebsd-stable@FreeBSD.ORG Mon Sep 29 15:32:23 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCD1410656A3 for ; Mon, 29 Sep 2008 15:32:23 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from QMTA06.westchester.pa.mail.comcast.net (qmta06.westchester.pa.mail.comcast.net [76.96.62.56]) by mx1.freebsd.org (Postfix) with ESMTP id 35F8F8FC16 for ; Mon, 29 Sep 2008 15:32:22 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from OMTA12.westchester.pa.mail.comcast.net ([76.96.62.44]) by QMTA06.westchester.pa.mail.comcast.net with comcast id Ld2D1a00M0xGWP856fYNg0; Mon, 29 Sep 2008 15:32:22 +0000 Received: from koitsu.dyndns.org ([67.180.253.227]) by OMTA12.westchester.pa.mail.comcast.net with comcast id LfYM1a0044v8bD73YfYMCt; Mon, 29 Sep 2008 15:32:22 +0000 X-Authority-Analysis: v=1.0 c=1 a=zWTp1yHTipkA:10 a=6gU17RteXIwA:10 a=QycZ5dHgAAAA:8 a=Qe9082PCmkl5Zm7JRmEA:9 a=R2NeaqguzN5PgmoUEx2_V3vK6sUA:4 a=EoioJ0NPDVgA:10 a=LY0hPdMaydYA:10 Received: by icarus.home.lan (Postfix, from userid 1000) id C3959C9437; Mon, 29 Sep 2008 08:32:20 -0700 (PDT) Date: Mon, 29 Sep 2008 08:32:20 -0700 From: Jeremy Chadwick To: Miroslav Lachman <000.fbsd@quip.cz> Message-ID: <20080929153220.GA11459@icarus.home.lan> References: <20080921220720.GA9847@icarus.home.lan> <249873145.20080926213341@takeda.tk> <20080927051413.GA42700@icarus.home.lan> <765067435.20080926223557@takeda.tk> <20080927064417.GA43638@icarus.home.lan> <20080927202250.GA60980@icarus.home.lan> <48E0DB7E.20804@quip.cz> <1222699642.24339.12.camel@buffy.york.ac.uk> <48E0F36C.1080400@quip.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48E0F36C.1080400@quip.cz> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Gavin Atkinson , freebsd-stable@FreeBSD.org Subject: Re: Recommendations for servers running SATA drives [hot-swap] X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Sep 2008 15:32:24 -0000 On Mon, Sep 29, 2008 at 05:25:32PM +0200, Miroslav Lachman wrote: > It was about year ago with Asus and Sun Fire X2100. I don't have Asus > servers now (all returned as reclamation). Now I am running one X2100 > and about ten X2100 M2. I have one spare X2100 M2, so if somebody have > exact order of commands used to "hot-swap" the disk, I can test it in > few days. I believe the correct order of operation is to do a "detach" on the channel before physically removing the disk, insert the new disk, then do "attach" on the same channel. "list" should be done afterwards to ensure the new disk shows up. If you want me to verify for certain, I have a test box built in the other room which has a SATA hot-swap backplane on it. I've also seen cases where the "attach" works, but upon doing "list", the old disk ID/string is still shown. In this case I had to do a "detach", remove the disk, insert the new disk, "reinit", then an "attach" for things to work. Finally, I've also seen the kernel panic or hard-lock after running "reinit", but this may have had something to do with Intel MatrixRAID. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |