iscsi client hangs performing I/O on a dead target

Danny Braniss danny at cs.huji.ac.il
Wed Jan 7 09:33:27 UTC 2009


> Hi,
> 
> I'm experimenting on iscsi; both the target and the initiator are vmware
> virtual machines and are running 7.0-RELEASE.
> So far everything works fine except that the client hangs forever (state is
> PHYSWR) if it is accessing (dd if=/dev/zero of=/dev/da0) the device while it
> "dies" (shutdown of the target machine).
> 
what happens when you bring back the target?

> Is this the expected behaviour?
> 
yes. 
but maybe it can be 'fixed', I'm concidering adding some kind of timeout
flag/option.

> I would like to be able to configure a timeout so the command that is trying
> to access the unavailable device fails and I can handle the problem but I
> can't find anything in iscontrol man pages.
> 
> Thanks,
> Angelo
> _______________________________________________
> freebsd-scsi at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
> To unsubscribe, send any mail to "freebsd-scsi-unsubscribe at freebsd.org"
> 




More information about the freebsd-scsi mailing list