From owner-freebsd-scsi@FreeBSD.ORG Tue Jan 6 18:03:14 2009 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 780CE1065672 for ; Tue, 6 Jan 2009 18:03:14 +0000 (UTC) (envelope-from nglrossi@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.31]) by mx1.freebsd.org (Postfix) with ESMTP id 299388FC1A for ; Tue, 6 Jan 2009 18:03:14 +0000 (UTC) (envelope-from nglrossi@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so3433599ywe.13 for ; Tue, 06 Jan 2009 10:03:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=ioNgNdPHLWcvf1xvaZ1XCVT8cf7QjdU99ueF6zIpsrg=; b=flZ6a9NFAhwVgP30gIBlxxIhq4vNKeSnlL5xlRD7K3sHrvVmfpUly2IIqwV0USnqKG SdVYW+5ceP4MNwuu5BhGAxHjBR56FUcea3JJWhNNqnjg/0h4IDMZF6Afl8Kl8i6lKiaK /xKl6u6j7SG5e/x79MnGNMpMr0vDe4nrDVhj4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=NbWhYixzZjl1gncstLFcPBDzSIndYHNdTfOklGl4J+VzA9abtaSp7W6WQij6PMcBAl uFJ6Zn5/a377FqE5TOa8xDwkTAVP8AJgoKaDvypfvdk6y8zuHtbQzIVow7/lqf2jwpXv 9vVpt+ecWUDOlqfdJxQ3pat1+dGOIBF1reO1A= Received: by 10.100.207.14 with SMTP id e14mr11837802ang.60.1231263507088; Tue, 06 Jan 2009 09:38:27 -0800 (PST) Received: by 10.100.136.13 with HTTP; Tue, 6 Jan 2009 09:38:27 -0800 (PST) Message-ID: <6c1e076a0901060938i5450a1fnc4dd68ff9690862d@mail.gmail.com> Date: Tue, 6 Jan 2009 18:38:27 +0100 From: Angelo To: freebsd-scsi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: iscsi client hangs performing I/O on a dead target X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jan 2009 18:03:14 -0000 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