From owner-freebsd-stable@FreeBSD.ORG Mon Sep 29 15:25:11 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 1EB671065691; Mon, 29 Sep 2008 15:25:11 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from elsa.codelab.cz (elsa.codelab.cz [91.103.162.4]) by mx1.freebsd.org (Postfix) with ESMTP id C09A88FC23; Mon, 29 Sep 2008 15:25:10 +0000 (UTC) (envelope-from 000.fbsd@quip.cz) Received: from localhost (localhost.codelab.cz [127.0.0.1]) by elsa.codelab.cz (Postfix) with ESMTP id B51CF19E02A; Mon, 29 Sep 2008 17:25:09 +0200 (CEST) Received: from [192.168.1.2] (r5bb235.net.upc.cz [86.49.61.235]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by elsa.codelab.cz (Postfix) with ESMTPSA id 3023C19E027; Mon, 29 Sep 2008 17:24:59 +0200 (CEST) Message-ID: <48E0F36C.1080400@quip.cz> Date: Mon, 29 Sep 2008 17:25:32 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.12) Gecko/20050915 X-Accept-Language: cz, cs, en, en-us MIME-Version: 1.0 To: Gavin Atkinson References: <20080921213426.GA13923@0lsen.net> <20080921215203.GC9494@icarus.home.lan> <20080921215930.GA25826@0lsen.net> <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> In-Reply-To: <1222699642.24339.12.camel@buffy.york.ac.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: Jeremy Chadwick , 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:25:11 -0000 Gavin Atkinson wrote: > On Mon, 2008-09-29 at 15:43 +0200, Miroslav Lachman wrote: > >>Jeremy Chadwick wrote: >> >> >>>On Sat, Sep 27, 2008 at 03:16:11PM -0400, Charles Sprickman wrote: >>> >>>I've successfully done a hot-swap (hardware: SATA hot-swap backplane, >>>AHCI in use, SATA2 disks), but it required me to issue "atacontrol >>>detach" first (I am very curious to know what would've happened had I >>>just yanked the disk). Upon inserting the new disk, one has to be >>>*very* careful about the order of atacontrol commands given -- there >>>are cases where "attach" will cause the system to panic or SATA bus to >>>lock up, but it seems to depend upon what commands were executed >>>previously (such as "reinit"). >>> >>>Sorry if this is off-topic, but I wanted to mention it. >> >>Hot-swapping is totally upredictable on FreeBSD (from my experiences). I >>tried it many times on Asus 1U servers and on Sun Fire X2100 / X2100 M2 >>with FreeBSD 6.2 and 7.0 (both i386). > > > I can't speak for the Dell, but I can at least say that at least on the > X2100, not even Solaris supports either hot-swapping or the built in > software RAID. When they were first released the advertising said that > they had these, but those claims was quietly removed from the website > some weeks after release. Short answer: give up on hot-swap the X2100. > > As for the X2100 M2, that is supposed to support it, and I believe it > works fine for us under Solaris. I'm not sure if I've got any spare > M2's here, if so I'll have a play. 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. Miroslav Lachman