Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Jan 2009 11:33:25 +0200
From:      Danny Braniss <danny@cs.huji.ac.il>
To:        Angelo <nglrossi@gmail.com>
Cc:        freebsd-scsi@freebsd.org
Subject:   Re: iscsi client hangs performing I/O on a dead target 
Message-ID:  <E1LKUmz-000O18-Kp@kabab.cs.huji.ac.il>
In-Reply-To: Your message of Tue, 6 Jan 2009 18:38:27 %2B0100 .

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).
> 
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
> To unsubscribe, send any mail to "freebsd-scsi-unsubscribe@freebsd.org"
> 





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1LKUmz-000O18-Kp>