ahc and hotplug drives

Justin T. Gibbs gibbs at scsiguy.com
Thu Mar 27 12:37:38 PST 2003


> On Thu, 27 Mar 2003, Nate Lawson wrote:
> 
>> On Thu, 27 Mar 2003, Lukas Ertl wrote:
>> > 
>> > cam_periph_alloc: attempt to re-allocate valid device da1 rejected
>> > daasync: Unable to attach to new device due to status 0x6
>> > 
>> 
>> Do a camcontrol rescan with the drive gone so that cam notices it has
>> disappeared.  Then do it again once you have reinstalled it and things
>> should work fine.
> 
> I tried that:
> 
> pull drive out - camcontrol rescan (drive is gone in devlist) - put drive
> back in - camcontrol rescan (drive shows up in devlist); but I still get
> the error.
> 
> Oh, BTW, system is FreeBSD 4.8-RC #0: Thu Mar 27 11:48:39 CET 2003.

The drive has to go through "last-close" before it can "come-back"
at the same location.  You'll have to somehow convince Vinum to
close devices that are marked dead.

--
Justin



More information about the freebsd-scsi mailing list