How can I rescan the scsi-bus in freebsd?

Mike Meyer mwm-dated-1049475466.b3f14c at mired.org
Sun Mar 30 08:57:49 PST 2003


In <20030330174932.H78282-100000 at xs1.xs4all.nl>, Eveline <eveline at xs4all.nl> typed:
> 
> I'd like to know how to rescan the scsi bus in FreeBSD 4.7. I have an
> external scsi harddisk that I only switch on when needed. I would like to
> be able to mount the hd as soon as I've switched it on, without having to
> reboot my FreeBSD machine.

Camcontrol takes a rescan command. "camcontrol rescan all" is the
simple way, but see the camcontrol man page for details on how to
specify what to rescan.

	<mike
-- 
Mike Meyer <mwm at mired.org>		http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.


More information about the freebsd-questions mailing list