iscsi client hangs performing I/O on a dead target

Angelo nglrossi at gmail.com
Tue Jan 6 18:03:14 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).

Is this the expected behaviour?

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


More information about the freebsd-scsi mailing list