Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2003 09:34:01 -0600
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        "Prabhakaran, Rajesh" <rajeshpr@lsil.com>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: how to make scsi subsystem scan, the scsi bus for new drives attached ?
Message-ID:  <20031015153401.GA44396@panzer.kdm.org>
In-Reply-To: <0E3FA95632D6D047BA649F95DAB60E570345DE7E@exa-atlanta.se.lsil.com>
References:  <0E3FA95632D6D047BA649F95DAB60E570345DE7E@exa-atlanta.se.lsil.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Oct 15, 2003 at 11:29:15 -0400, Prabhakaran, Rajesh wrote:
> 
> If the user hot plugs new drives to the SCSI controller,how to make the scsi
> subsystem scan, the scsi bus for new drives attached & the OS to use those
> drives ?
> for example in linux, a user can echo "scsi add-single-device %d %d %d %d"
> to proc/scsi to scan for new drives attached.

camcontrol rescan

e.g.:

camcontrol rescan 0
 - rescans SCSI bus 0

camcontrol rescan 0:4:0
 - rescans bus 0, target 4, LUN 0

Ken
-- 
Kenneth Merry
ken@kdm.org



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