From owner-freebsd-hackers Mon Jul 26 16:20:14 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id 08DB114E2F for ; Mon, 26 Jul 1999 16:20:10 -0700 (PDT) (envelope-from ken@panzer.kdm.org) Received: (from ken@localhost) by panzer.kdm.org (8.9.3/8.9.1) id RAA15586; Mon, 26 Jul 1999 17:18:31 -0600 (MDT) (envelope-from ken) Message-Id: <199907262318.RAA15586@panzer.kdm.org> Subject: Re: hot-swapping ata disks In-Reply-To: <379CDF04.334D0A6F@bulinfo.net> from Iani Brankov at "Jul 27, 1999 01:19:48 am" To: ian@bulinfo.net (Iani Brankov) Date: Mon, 26 Jul 1999 17:18:31 -0600 (MDT) Cc: freebsd-hackers@FreeBSD.ORG From: "Kenneth D. Merry" X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [ I don't know about the IDE code, but I can say something about the SCSI code. ] Iani Brankov wrote... > Hi, > I tried 'camcontrol rescan' and I found it works when I add a SCSI device while > the system is on. I find it useful for adding/removing devices w/o restarting > the box. (Maybe it's risky, but useful. I supposed that's the idea of the > 'rescan' command in camcontrol) Hot-swapping SCSI devices may or may not be risky. It really depends on your bus topology and whether your setup was designed for it. In general, it's best to only do it in a hot-swap chassis. You can also do it with more conventional cable layouts, provided you don't end up disabling termination or taking something off the bus while I/O is going to it, etc. I wrote a fair bit of the hot swap code with an external CDROM drive in the middle of a terminated external chain. The drive stayed on the chain at all times, but I turned it off and on to make it go away and come back between rescans. > Is there a way to do the same with the new 'ata' code. (I know IDE isn't SCSI > anyway). I dunno about the IDE code, although I'm sure Soren will have an answer. Ken -- Kenneth Merry ken@plutotech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message