From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 3 18:57:24 2015 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7BEB38C5 for ; Tue, 3 Mar 2015 18:57:24 +0000 (UTC) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0526E8BF for ; Tue, 3 Mar 2015 18:57:24 +0000 (UTC) Received: by widex7 with SMTP id ex7so23741275wid.1 for ; Tue, 03 Mar 2015 10:57:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-type:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=BEqfvz2JdzWAF3YE5jhRjrYBPYl5HQ0j76gx1IBHpp0=; b=NsjwDNfQZt4zaXt02OWmzpOctpPGI1+HXgHgv+KWh2rOjpR0Mz6mmqWxp1vwC7X2m2 xsDffpk/8ecSec1udRbNrZ7cfwgcVJPl6WH6vdOXFD98aGkGUwVba7aeVdWcsB3HYYwR oYcB5sGeOjON3DerDubTAQ2LTNHmNBM60c4EHm5NefF6oqzkhGc9lzCaMEot5m3YMVwJ mRiTNpfz/Kb3wMA6NtGmBF3cq5LPJsK7EKEhEPdbvK41OMFH8y/B+JAiHjvjNnCTZV7e eBaTSNpX4q+0KSufEoilzmj+qH2zWMTQinFH+hXVJ6ZbeAKCsFEnZswqKRq5J/EfBZdu kmxg== X-Received: by 10.194.177.195 with SMTP id cs3mr162866wjc.141.1425409042262; Tue, 03 Mar 2015 10:57:22 -0800 (PST) Received: from brick.home (adir20.neoplus.adsl.tpnet.pl. [79.184.199.20]) by mx.google.com with ESMTPSA id dn1sm211235wid.11.2015.03.03.10.57.20 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 03 Mar 2015 10:57:21 -0800 (PST) Sender: =?UTF-8?Q?Edward_Tomasz_Napiera=C5=82a?= Date: Tue, 3 Mar 2015 19:23:23 +0100 From: Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= To: Aafak Mohammad Subject: Re: iSCSI initiator: iscontrol cannot be stopped or killed Message-ID: <20150303182323.GA5941@brick.home> Mail-Followup-To: Aafak Mohammad , freebsd-scsi@freebsd.org References: <20150303084606.GA4495@brick.home> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-scsi@freebsd.org X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2015 18:57:24 -0000 I believe the iXsystems has their fork based on 9 with iSCSI backport, but I'm not sure if it includes the client. Their source tree can be found here: https://github.com/trueos/trueos. On 0303T1508, Aafak Mohammad wrote: > Thanks for helping. > But for now i cannot upgrade it. > Can i get only iscsictl for 9.2? > i mean get it from 10.1 and use only this feature in 9.2 > will it work ? > > On Tue, Mar 3, 2015 at 2:16 PM, Edward Tomasz NapieraƂa > wrote: > > > On 0303T1445, Aafak Mohammad wrote: > > > Problem: the iscontrol process starts normally and establishes > > > a session and brings up a device, but it cannot be stopped. > > > It does not react to a HUP signal, and neither to KILL. > > > > > > The /dev/da0 device is operational and the remote disk remains > > > normally accessible, regardless of how I try to (unsuccessfully) > > > shutdown the iscontrol process. The ps reports the state of the > > > process as "Ds", not doing anything. A ktrace does not show any > > > reaction to a received signal. A restart seems to be necessary > > > to break the iSCSI session. > > > > Well, that's one of the reasons it's obsolete. Could you try > > to upgrade to 10.1 and try the new iSCSI initiator, iscsictl/iscsid?