Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Jan 2009 18:38:27 +0100
From:      Angelo <nglrossi@gmail.com>
To:        freebsd-scsi@freebsd.org
Subject:   iscsi client hangs performing I/O on a dead target
Message-ID:  <6c1e076a0901060938i5450a1fnc4dd68ff9690862d@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6c1e076a0901060938i5450a1fnc4dd68ff9690862d>