isp driver + clustered NetApp failover = strangeness
Tim Spencer
tspencer at hungry.com
Wed Jun 1 14:05:08 PDT 2005
On May 30, 2005, at 9:26 AM, Matthew Jacob wrote:
> The message you see indicates that the disk, as far as FreeBSD is
> concerned, has gone away. Since we don't really support dynamic
> reattachment, except possible with some cleverness with parts of
> FreeBSD I haven't worked much with (like the new GEOM stuff), it's
> possible you're somewhat toast.
>
Ah well, it was worth a try...
> To do this right involves some more use case scenarios about what can
> occur and deciding what policies to apply. I did this for FreeBSD 4.X
> at a company, but they declined to contribute this work back to
> FreeBSD.
>
That's too bad. Would it help if I were to call them up and ask
nicely? :-)
> A short term fix *might* be (I haven't tested this) to comment out the
> clause around line 2891 in isp_freebsd.c that looks like:
>
> } else {
> xpt_async(AC_LOST_DEVICE, tmppath,
> NULL);
> }
>
Hmm. That seems to be in the 5.x codebase, but not in the 4.x
codebase. I'm actually running 4.11. Do you have a location where I
can make a similar change in the 4.x code? The specific rev of the
driver file that I'm using is:
/* $FreeBSD: src/sys/dev/isp/isp_freebsd.c,v 1.32.2.21 2004/02/02
22:34:48 mjacob Exp $ */
> There's a long history of discussion about this going back some years-
> how much validation do you need to do when something "leaves" and then
> "returns". There are those who believe that WWN validation is enough.
> There are those who believe that WWN validation and checking
> parameters like size is enough. There are those who believe that a
> device that "leaves" and then "returns" has to be treated like a
> complete removal and reattachment event.
Yeah, it would be nice to have the knobs built in for that.
Although multipathing support would probably obviate most of the need
for these features. But that's a whole other story, I'm sure. :-)
Thanks for your help, and have fun!
-tspencer
More information about the freebsd-scsi
mailing list