Date: Mon, 29 Sep 2008 15:43:26 +0200 From: Miroslav Lachman <000.fbsd@quip.cz> To: Jeremy Chadwick <koitsu@FreeBSD.org> Cc: Charles Sprickman <spork@bway.net>, freebsd-stable@FreeBSD.org Subject: Re: Recommendations for servers running SATA drives Message-ID: <48E0DB7E.20804@quip.cz> In-Reply-To: <20080927202250.GA60980@icarus.home.lan> 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> <Pine.OSX.4.64.0809271453550.4630@toasty.nat.fasttrackmonkey.com> <20080927202250.GA60980@icarus.home.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
Jeremy Chadwick wrote: > On Sat, Sep 27, 2008 at 03:16:11PM -0400, Charles Sprickman wrote: > >>On Fri, 26 Sep 2008, Jeremy Chadwick wrote: [...] > This also leads me a little off-topic -- when it comes to disk > replacements, administrators want to be able to do this without taking > the system down. There are problems with this, but it often depends > greatly on hardware and BIOS configuration. > > 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). It sometimes panics on atacontrol detach, but never panics if disk was marked as failed by gmirror and detached by system it-self, then just removed from running machine. It sometimes panics immediately after the re-insertion of disk, sometimes after atacontrol attach. Sometimes it detects and attach disk without my intervention, so I can easily insert the disk in to gmirror. Then I stopped playing with hot-swapping and now always do power off before disk swapping. Miroslav Lachman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48E0DB7E.20804>