From owner-freebsd-scsi Sat Apr 4 12:16:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA04255 for freebsd-scsi-outgoing; Sat, 4 Apr 1998 12:16:14 -0800 (PST) (envelope-from owner-freebsd-scsi@FreeBSD.ORG) Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA04234 for ; Sat, 4 Apr 1998 12:16:12 -0800 (PST) (envelope-from gibbs@narnia.plutotech.com) Received: (from gibbs@localhost) by narnia.plutotech.com (8.8.8/8.7.3) id NAA00246; Sat, 4 Apr 1998 13:12:30 -0700 (MST) Date: Sat, 4 Apr 1998 13:12:30 -0700 (MST) From: "Justin T. Gibbs" Message-Id: <199804042012.NAA00246@narnia.plutotech.com> To: Donald Burr cc: scsi@FreeBSD.ORG Subject: Re: turning on and reprobing scsi devices? Newsgroups: pluto.freebsd.scsi In-Reply-To: User-Agent: tin/pre-1.4-971204 (UNIX) (FreeBSD/3.0-CURRENT (i386)) Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org In article you wrote: > I had always thought that it was a Very Bad Idea to turn on/off SCSI > devices while the system is running. But, from some of the things > I've been reading in the newsgroups and things I've heard, it seems > that there are people that do this fairly frequently, with no ill > effects. > > So what's the definite answer? It shouldn't cause a problem. > Also, once I turn on a scsi device, how do I get the system to recognize > it (i.e. re-probe the bus)? In CAM you do this with the camcontrol program. In stable and current, there is a facility to rebrobe the bus (scsi -r???), but I wouldn't suggest using it. If it works, it does so by accident. The old code was not very careful about dealing with open devices that went away and could get really confused in some reprobe scenarios. -- Justin To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message