From owner-freebsd-scsi Thu Oct 31 11:34:05 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id LAA00902 for freebsd-scsi-outgoing; Thu, 31 Oct 1996 11:34:05 -0800 (PST) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id LAA00869 for ; Thu, 31 Oct 1996 11:33:53 -0800 (PST) Received: from current1.whistle.com (current1.whistle.com [207.76.205.22]) by alpo.whistle.com (8.8.2/8.8.2) with SMTP id LAA21169; Thu, 31 Oct 1996 11:31:53 -0800 (PST) Message-ID: <3278FE9E.167EB0E7@whistle.com> Date: Thu, 31 Oct 1996 11:31:42 -0800 From: Julian Elischer Organization: Whistle Communications X-Mailer: Mozilla 3.0b6 (X11; I; FreeBSD 2.2-CURRENT i386) MIME-Version: 1.0 To: FreeBSD SCSI list CC: Joe Karthauser Subject: Re: probing scsi bus after boot? References: <199610311817.TAA16208@uriah.heep.sax.de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk J Wunsch wrote: > > (Moved to the freebsd-scsi list) > > As Joe Karthauser wrote: > > > Is it possible to reprobe the scsi bus after a reboot for allow for > > drive swapping? I guess that there must be some support for that in > > there somewhere. > > There's ``scsi -r'', though it used to be horribly broken for quite > some time. It worked fine in FreeBSD 1.1.5.1, and started to be ok > again in -current of not too long ago (about a month or two). > > _However_, drive _swapping_ is probably unsupported. I think the sd > driver gets royally screwed if you exchange the drive that was present > at boot time by one with another total number of blocks later. Even > the `od' driver (that is supposed to catch up with such situations) > doesn't do it right now, but there's a patch pending in one of the PRs > that allows for it. > you shouldn't need to reprobe to swap drives.. teh new drive will return a "unit attention" error when first powered up and that will invalidate all information on the drive. the drive will then be inaccessible untill ALL references to it have been closed when that has happenned, ist should be possible to re-mount the new drive. (all in theory only mind you.. I haven't tried it, but it works that way for removable drives) julian