Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2004 00:01:55 +0100
From:      Scott Mitchell <scott+freebsd@fishballoon.org>
To:        luke <lgrady@gmail.com>
Cc:        freebsd <freebsd-questions@freebsd.org>
Subject:   Re: hot swap scsi drive
Message-ID:  <20041019230154.GA42775@llama.fishballoon.org>
In-Reply-To: <5fee5e3004101819175f701744@mail.gmail.com>
References:  <5fee5e30041018140451b31d6@mail.gmail.com> <1098135925.2229.6.camel@localhost> <5fee5e3004101819175f701744@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Oct 18, 2004 at 09:17:55PM -0500, luke wrote:
> > Is this box designed do be hot pluggable? the IBM p-series servers I use
> > at work have a back plane that allows this and sets the address
> 
> the drives are designed to be hot pluggable they are in removable
> trays that slide in and out. i'm just asking if there is a
> freebsd-specific action that i should take before pulling a drive.
> thx,

I guess it will depend a lot on the hardware you have, but you probably
want to try one or both of 'camcontrol stop' or 'camcontrol eject' before
pulling the drive.  One of these should spin the drive down and leave it
in a safe state to be removed.

Again, when plugging a new drive in, it might be recognised automatically,
or you might need a 'camcontrol rescan' or 'camcontrol start' to get it to
appear.  Note that all of these commands expect to be given a bus or device
number to work on - you can find the right numbers with 'camcontrol
devlist'.

I assume you're in a position to try a few things out before you put this
machine into production?  The Intel L440GX+ boards we have here are quite
happy for you to stop a drive then pull it, and new drives come up all by
themselves when plugged in, but your hardware might need some extra
incantations to make it work - you really need to try a few of these
commands and see what happens.

Cheers,

	Scott

-- 
===========================================================================
Scott Mitchell           | PGP Key ID | "Eagles may soar, but weasels
Cambridge, England       | 0x54B171B9 |  don't get sucked into jet engines"
scott at fishballoon.org | 0xAA775B8B |      -- Anon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041019230154.GA42775>