From owner-freebsd-stable@freebsd.org Wed Oct 4 07:27:07 2017 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B6E57E30BFF for ; Wed, 4 Oct 2017 07:27:07 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from elf.hq.norma.perm.ru (mail.norma.perm.ru [IPv6:2a00:7540:1::5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.norma.perm.ru", Issuer "Vivat-Trade UNIX Root CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2F8D474D39 for ; Wed, 4 Oct 2017 07:27:06 +0000 (UTC) (envelope-from emz@norma.perm.ru) Received: from bsdrookie.norma.com. (net206-94.perm.ertelecom.ru [46.146.206.94] (may be forged)) by elf.hq.norma.perm.ru (8.15.2/8.15.2) with ESMTPS id v947R0Nd018792 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Wed, 4 Oct 2017 12:27:01 +0500 (YEKT) (envelope-from emz@norma.perm.ru) Subject: Re: ctld: only 579 iSCSI targets can be created To: FreeBSD Stable References: <04e8820c2c6cc7a95d6ffdf257f00f7d@norman-vivat.ru> <20170922071554.GA3846@brick> <739fe048ccbe15c096ec79fc320eee56@norman-vivat.ru> From: "Eugene M. Zheganin" Message-ID: Date: Wed, 4 Oct 2017 12:27:00 +0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spamd-Result: default: False [1.50 / 25.00] BAYES_HAM(-3.00)[99.99%] HFILTER_HOSTNAME_UNKNOWN(2.50)[] RBL_SPAMHAUS_PBL(2.00)[94.206.146.46.zen.spamhaus.org : 127.0.0.10] MID_RHS_MATCH_FROM(0.00)[] RCVD_COUNT_1(0.00)[] FROM_EQ_ENVFROM(0.00)[] RCPT_COUNT_1(0.00)[] ONCE_RECEIVED(0.10)[] MIME_GOOD(-0.10)[text/plain] DMARC_NA(0.00)[norma.perm.ru] RECEIVED_SPAMHAUS(0.00)[94.206.146.46.zen.spamhaus.org] R_DKIM_NA(0.00)[] FROM_HAS_DN(0.00)[] TO_MATCH_ENVRCPT_ALL(0.00)[] TO_DN_ALL(0.00)[] R_SPF_SOFTFAIL(0.00)[~all] X-Rspamd-Server: localhost X-Rspamd-Scan-Time: 0.56 X-Rspamd-Queue-ID: v947R0Nd018792 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Oct 2017 07:27:07 -0000 Hi. On 02.10.2017 15:03, Edward Napierala wrote: > Thanks for the packet trace. What happens there is that the Windows > initiator logs in, requests Discovery ("SendTargets=All"), receives > the list > of targets, as expected, and then... sends "SendTargets=All" again, > instead of logging off. This results in ctld(8) dropping the session. > The initiator then starts the Discovery session again, but this time > it only > logs in and then out, without actually requesting the target list. > > Perhaps you could work around this by using "discovery-filter", > as documented in ctl.conf(5)? > Thanks a lot, that did it. Seems like that Microsoft initiator has some limitation after crossing the number of 512 targets, and this happens somewhere near 573. When discovery is portal-filtered everything seems to be working just fine. Eugene.