ahc and hotplug drives

Nate Lawson nate at root.org
Thu Mar 27 12:11:24 PST 2003


On Thu, 27 Mar 2003, Lukas Ertl wrote:
> I'm currently trying to set up a completely mirrored system using vinum
> (including /-on-vinum thanks to the patches from Joerg Wunsch). If I pull
> out a drive the system keeps on running, and that's good.
> 
> However, if I put the drive back in and do a "camcontrol rescan", the
> drive shows up in "camcontrol devlist", but isn't accessible at all.
> 
> The error I get after the rescan is:
> 
> cam_periph_alloc: attempt to re-allocate valid device da1 rejected
> daasync: Unable to attach to new device due to status 0x6
> 
> Is there anything I can do about it?

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.

-Nate



More information about the freebsd-scsi mailing list