Not all disks come back after power cycling a JBOD
Jan Bramkamp
crest at rlwinm.de
Wed Apr 1 13:43:05 UTC 2020
On 30.03.20 18:05, Alan Somers wrote:
> If I remove a hot-swappable SCSI drive and reinsert it, FreeBSD always
> seems to handle that just fine. But if instead I unplug or power off an
> entire JBOD, then reattach it, frequently FreeBSD fails to fails to
> recreate all of the device nodes. Using "mpsutil show devices" or "mprutil
> show devices" I can see all of the devices that I'm expecting. However,
> "camcontrol devlist" doesn't show them, and "camcontrol rescan" doesn't
> help.
>
> This has been the situation for as long as I can remember, several years at
> least. But now it's starting to cause problems for me. Before I try to
> debug this myself, does anybody know anything about the problem?
The only time I encountered a similar problem a "camcontrol rescan all"
was enough to discover all disks. If that's enough to discover all disks
in your case you could probably write an ugly devd rule triggered by the
addition of new ses devices to hide the problem.
More information about the freebsd-scsi
mailing list