From owner-freebsd-scsi@FreeBSD.ORG Sun Mar 8 20:34:35 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 A3C2A10656BF; Sun, 8 Mar 2009 20:34:35 +0000 (UTC) (envelope-from aoyama@peach.ne.jp) Received: from moon.peach.ne.jp (unknown [IPv6:2001:380:e06:127::53]) by mx1.freebsd.org (Postfix) with ESMTP id 425B68FC31; Sun, 8 Mar 2009 20:34:35 +0000 (UTC) (envelope-from aoyama@peach.ne.jp) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id 81F8978C4B; Mon, 9 Mar 2009 05:34:34 +0900 (JST) Received: from artemis (unknown [192.168.2.20]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by moon.peach.ne.jp (Postfix) with ESMTP id 6627C78C4A; Mon, 9 Mar 2009 05:34:34 +0900 (JST) Message-ID: From: "Daisuke Aoyama" To: , Date: Mon, 9 Mar 2009 05:34:32 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-current@freebsd.org Subject: Tester wanted for multipath failover iSCSI target software 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: Sun, 08 Mar 2009 20:34:40 -0000 Hello, I'm looking for test users for new iSCSI target software designed for multipath failover cluster nodes. I'm very interested in the virtual machine such as Hyper-V. So I'm also tuning the target for using VMs. I need an environmental report in particular other than FreeBSD 7.1 RELEASE p3 i386/PAE kernel w/ZFS. I welcome the report with other initiators below. If you are interested in this software, please download it from the following site. The tarball contains configure script to build it. Please read README and INSTALL in the tarball for more detail. Tested Initiators: o Microsoft Windows Server 2008 (builtin) o Microsoft iSCSI Initiator 2.08 on WS2003 o Intel iSCSI Remote Boot 2.1.22 o Sun VirtualBOX 2.1.2 (builtin) o VMware ESXi 3.5 Update 3 (builtin) Key Features: o MCS/MPIO for failover (up to 255 concurrent sessions) o SPC-3 Persistent Reservation for cluster nodes o 64bit LBA for over 2TB o Header/Data digest by CRC32C o CHAP w/Mutual authentication o Multiple LUNs and ACLs for portals (experimental features) o iSCSI boot with Intel PRO/1000 Server Adapters o virtual DVDROM/DLT emulator o pass-through device via CAM Known Issues: o globalSAN iSCSI Initiator for Mac OSX does not establish data I/O because of unexpected data segment length. I will plan to fix it in the near future. o FreeBSD initiator can't connect to the target because of StatSN error. I don't know a reason. Here is release 20090308: http://shell.peach.ne.jp/aoyama/archives/342 Later version will be uploaded in this blog. If you need anything other than Japanese, please use translator service. Thanks, -- Daisuke Aoyama From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 9 17:15:13 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 4B66610656C8 for ; Mon, 9 Mar 2009 17:15:13 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 773FE8FC1F for ; Mon, 9 Mar 2009 17:15:12 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n29HFCOr045385 for ; Mon, 9 Mar 2009 17:15:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n29HFB3n045381 for freebsd-scsi@FreeBSD.org; Mon, 9 Mar 2009 17:15:11 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 9 Mar 2009 17:15:11 GMT Message-Id: <200903091715.n29HFB3n045381@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-scsi@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-scsi@FreeBSD.org 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: Mon, 09 Mar 2009 17:15:17 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/132250 scsi [ciss] ciss driver does not support more then 15 drive o kern/132206 scsi [mpt] system panics on boot when mirroring and 2nd dri o kern/131032 scsi [panic] hald causing panic in scsi_sg o kern/130735 scsi [cam] [patch] pass M_NOWAIT to the malloc() call insid o kern/130621 scsi [mpt] tranfer rate is inscrutable slow when use lsi213 o kern/129602 scsi [ahd] ahd(4) gets confused and wedges SCSI bus o kern/128452 scsi [sa] [panic] Accessing SCSI tape drive randomly crashe o kern/128245 scsi [scsi] "inquiry data fails comparison at DV1 step" [re o kern/127927 scsi [isp] isp(4) target driver crashes kernel when set up o kern/126866 scsi [isp] [panic] kernel panic on card initialization o kern/124667 scsi [amd] [panic] FreeBSD-7 kernel page faults at amd-scsi o kern/123674 scsi [ahc] ahc driver dumping o kern/123666 scsi [aac] attach fails with Adaptec SAS RAID 3805 controll o sparc/121676 scsi [iscsi] iscontrol do not connect iscsi-target on sparc o kern/120487 scsi [sg] scsi_sg incompatible with scanners o kern/120247 scsi [mpt] FreeBSD 6.3 and LSI Logic 1030 = only 3.300MB/s o kern/119668 scsi [cam] [patch] certain errors are too verbose comparing o kern/114597 scsi [sym] System hangs at SCSI bus reset with dual HBAs o kern/110847 scsi [ahd] Tyan U320 onboard problem with more than 3 disks o kern/99954 scsi [ahc] reading from DVD failes on 6.x [regression] o kern/94838 scsi Kernel panic while mounting SD card with lock switch o o kern/92798 scsi [ahc] SCSI problem with timeouts o kern/90282 scsi [sym] SCSI bus resets cause loss of ch device o kern/76178 scsi [ahd] Problem with ahd and large SCSI Raid system o kern/74627 scsi [ahc] [hang] Adaptec 2940U2W Can't boot 5.3 s kern/61165 scsi [panic] kernel page fault after calling cam_send_ccb o kern/60641 scsi [sym] Sporadic SCSI bus resets with 53C810 under load o kern/60598 scsi wire down of scsi devices conflicts with config s kern/57398 scsi [mly] Current fails to install on mly(4) based RAID di o kern/52638 scsi [panic] SCSI U320 on SMP server won't run faster than o kern/44587 scsi dev/dpt/dpt.h is missing defines required for DPT_HAND o kern/40895 scsi wierd kernel / device driver bug o kern/39388 scsi ncr/sym drivers fail with 53c810 and more than 256MB m o kern/38828 scsi [dpt] [request] DPT PM2012B/90 doesn't work o kern/35234 scsi World access to /dev/pass? (for scanner) requires acce 35 problems total. From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 9 20:39:18 2009 Return-Path: Delivered-To: freebsd-scsi@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0398D1065746; Mon, 9 Mar 2009 20:39:17 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C91BB8FC20; Mon, 9 Mar 2009 20:39:17 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from freefall.freebsd.org (gavin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n29KdHfO009874; Mon, 9 Mar 2009 20:39:17 GMT (envelope-from gavin@freefall.freebsd.org) Received: (from gavin@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n29KdHlA009868; Mon, 9 Mar 2009 20:39:17 GMT (envelope-from gavin) Date: Mon, 9 Mar 2009 20:39:17 GMT Message-Id: <200903092039.n29KdHlA009868@freefall.freebsd.org> To: gavin@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-scsi@FreeBSD.org From: gavin@FreeBSD.org Cc: Subject: Re: amd64/132394: [isp] - bad underruns with QLogic qla2300 and amd64 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: Mon, 09 Mar 2009 20:39:22 -0000 Synopsis: [isp] - bad underruns with QLogic qla2300 and amd64 Responsible-Changed-From-To: freebsd-amd64->freebsd-scsi Responsible-Changed-By: gavin Responsible-Changed-When: Mon Mar 9 20:38:45 UTC 2009 Responsible-Changed-Why: Over to maintainer(s) http://www.freebsd.org/cgi/query-pr.cgi?pr=132394 From owner-freebsd-scsi@FreeBSD.ORG Mon Mar 9 21:53:16 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 DEC231065674; Mon, 9 Mar 2009 21:53:16 +0000 (UTC) (envelope-from jtn@jtn.cx) Received: from securemail.jtn.cx (hindenburg.jtn.cx [208.65.173.122]) by mx1.freebsd.org (Postfix) with ESMTP id AA00E8FC0A; Mon, 9 Mar 2009 21:53:16 +0000 (UTC) (envelope-from jtn@jtn.cx) Received: from localhost (localhost [127.0.0.1]) by securemail.jtn.cx (Postfix) with ESMTP id 084198A1C5; Mon, 9 Mar 2009 17:27:21 -0400 (EDT) Received: from securemail.jtn.cx ([127.0.0.1]) by localhost (hindenburg.jtn.cx [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uAh3rmSQhE2v; Mon, 9 Mar 2009 17:27:20 -0400 (EDT) Received: by securemail.jtn.cx (Postfix, from userid 1001) id 448808A16D; Mon, 9 Mar 2009 17:27:20 -0400 (EDT) Date: Mon, 9 Mar 2009 17:27:20 -0400 From: "Jason T. Nelson" To: freebsd-questions@freebsd.org Message-ID: <20090309212720.GA49294@jtn.cx> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ikeVEW9yuYc//A+q" Content-Disposition: inline User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-scsi@freebsd.org Subject: iSCSI initiator lockups X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jtn@jtn.cx List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Mar 2009 21:53:17 -0000 --ikeVEW9yuYc//A+q Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I'm running into some odd headaches regarding what looks like iSCSI initiat= ors going to sleep for approximately 30 seconds before returning to life and pumping a ton of information back to the target. While this is happening, system load climbs up alarmingly fast. Looking at tcpdumps in Wireshark, it shows what appears to be a nearly exact 30 second delay where the initiator stops talking to the target server, then abruptly restarts. Currently 8 machines are talking to 2 servers with 4 targets a piece, and while its= =20 working, we get good throughput. Activity is moderately high, as we are=20 using the iSCSI targets as spool disks in an email cluster. As it appears that iscsi-target is a single-threaded process, would it be valuable to put each target in its own process on its own port? At any rate, this is causing serious problems on the mail processing machines. --=20 Jason T. Nelson GPG key 0xFF676C9E --ikeVEW9yuYc//A+q Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkm1ibcACgkQ+rtZnf9nbJ4V6wCeJr2pr9s77kOH+PalLDQWfeu+ NuoAoL/8JEzJ0n00W1r5H+TZsNmFzSbz =YS7i -----END PGP SIGNATURE----- --ikeVEW9yuYc//A+q-- From owner-freebsd-scsi@FreeBSD.ORG Tue Mar 10 12:41:17 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 15D0810656D0; Tue, 10 Mar 2009 12:41:17 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id C1CB88FC12; Tue, 10 Mar 2009 12:41:16 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1Lh0d4-0007UV-EX; Tue, 10 Mar 2009 14:00:14 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: jtn@jtn.cx In-reply-to: <20090309212720.GA49294@jtn.cx> References: <20090309212720.GA49294@jtn.cx> Comments: In-reply-to "Jason T. Nelson" message dated "Mon, 09 Mar 2009 17:27:20 -0400." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 10 Mar 2009 14:00:14 +0200 From: Danny Braniss Message-ID: Cc: freebsd-scsi@freebsd.org, freebsd-questions@freebsd.org Subject: Re: iSCSI initiator lockups 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, 10 Mar 2009 12:41:19 -0000 > > --ikeVEW9yuYc//A+q > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > I'm running into some odd headaches regarding what looks like iSCSI initiat= > ors > going to sleep for approximately 30 seconds before returning to life and > pumping a ton of information back to the target. While this is happening, > system load climbs up alarmingly fast. Looking at tcpdumps in Wireshark, it > shows what appears to be a nearly exact 30 second delay where the initiator > stops talking to the target server, then abruptly restarts. Currently > 8 machines are talking to 2 servers with 4 targets a piece, and while its= > =20 > working, we get good throughput. Activity is moderately high, as we are=20 > using the iSCSI targets as spool disks in an email cluster. As it appears > that iscsi-target is a single-threaded process, would it be valuable to > put each target in its own process on its own port? At any rate, this is > causing serious problems on the mail processing machines. > can you send me the output of sysctl net.iscsi chears, danny From owner-freebsd-scsi@FreeBSD.ORG Wed Mar 11 07:34:41 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 A22C9106564A; Wed, 11 Mar 2009 07:34:41 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id 5D9028FC0C; Wed, 11 Mar 2009 07:34:41 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1LhIxb-000HUX-PH; Wed, 11 Mar 2009 09:34:39 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: jtn@jtn.cx In-reply-to: Your message of Tue, 10 Mar 2009 15:44:59 -0400 . Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 11 Mar 2009 09:34:39 +0200 From: Danny Braniss Message-ID: Cc: freebsd-scsi@freebsd.org, freebsd-questions@freebsd.org Subject: Re: iSCSI initiator lockups 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: Wed, 11 Mar 2009 07:34:42 -0000 > > --VbJkn9YxBvnuCH5J > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > In our last exciting episode, Danny Braniss (danny@cs.huji.ac.il) said: > > I guess it's time to fix this. > > danny > > Thank you very much for the pointer to the newer version; we have seen a=20 > marked improvement with none of the 30 second studdering. I appreciate > your rapid assistance! Good, can you send me the info of the target/s you are using to add to the list of supported targets? Cheers, danny From owner-freebsd-scsi@FreeBSD.ORG Wed Mar 11 10:26:11 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 1ED571065675; Wed, 11 Mar 2009 10:26:11 +0000 (UTC) (envelope-from aoyama@peach.ne.jp) Received: from moon.peach.ne.jp (unknown [IPv6:2001:380:e06:127::53]) by mx1.freebsd.org (Postfix) with ESMTP id BE2528FC25; Wed, 11 Mar 2009 10:26:10 +0000 (UTC) (envelope-from aoyama@peach.ne.jp) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id E559B78C4B; Wed, 11 Mar 2009 19:26:09 +0900 (JST) Received: from artemis (unknown [192.168.2.20]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by moon.peach.ne.jp (Postfix) with ESMTP id A358378C4A; Wed, 11 Mar 2009 19:26:09 +0900 (JST) Message-ID: From: "Daisuke Aoyama" To: , References: Date: Wed, 11 Mar 2009 19:26:07 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-current@freebsd.org Subject: Re: Tester wanted for multipath failover iSCSI target software 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: Wed, 11 Mar 2009 10:26:12 -0000 Hi all, Now istgt is a part of ports. (net/istgt) FreeBSD issue is solved by danny's patch. After applying the patch, iscontrol can connect to istgt. Here is release 20090309 latest committed to ports. http://shell.peach.ne.jp/aoyama/archives/345 If you need anything other than Japanese, please use translation such as google translate. Thanks, -- Daisuke Aoyama From owner-freebsd-scsi@FreeBSD.ORG Wed Mar 11 10:52:24 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 7DFA9106564A; Wed, 11 Mar 2009 10:52:24 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id 42C8E8FC15; Wed, 11 Mar 2009 10:52:24 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LhM2m-000GuW-4p; Wed, 11 Mar 2009 10:52:12 +0000 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LhM2m-000G5r-2V; Wed, 11 Mar 2009 10:52:12 +0000 To: aoyama@peach.ne.jp, freebsd-scsi@freebsd.org, freebsd-stable@freebsd.org In-Reply-To: Message-Id: From: Pete French Date: Wed, 11 Mar 2009 10:52:12 +0000 Cc: freebsd-current@freebsd.org Subject: Re: Tester wanted for multipath failover iSCSI target software 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: Wed, 11 Mar 2009 10:52:25 -0000 > Now istgt is a part of ports. (net/istgt) > FreeBSD issue is solved by danny's patch. > After applying the patch, iscontrol can connect to istgt. I am interested in giving this a try, though not immediately as I am away from the office at the moment. Do I need to apply a patch to iscontrol to make it work though ? I can't work it out from your statement above. > Here is release 20090309 latest committed to ports. > http://shell.peach.ne.jp/aoyama/archives/345 Than ks. Is the intent to integrate with the base system eventually rather than have it in ports ? It would be nice to have a native implementation which could then be integrated with ZFS. Will let you know how I get on... -pete. From owner-freebsd-scsi@FreeBSD.ORG Wed Mar 11 11:39:50 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 95B6E1065680; Wed, 11 Mar 2009 11:39:50 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from kabab.cs.huji.ac.il (kabab.cs.huji.ac.il [132.65.16.84]) by mx1.freebsd.org (Postfix) with ESMTP id 4AD7F8FC1D; Wed, 11 Mar 2009 11:39:50 +0000 (UTC) (envelope-from danny@cs.huji.ac.il) Received: from pampa.cs.huji.ac.il ([132.65.80.32]) by kabab.cs.huji.ac.il with esmtp id 1LhMmp-000Jpi-LB; Wed, 11 Mar 2009 13:39:47 +0200 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Pete French In-reply-to: References: Comments: In-reply-to Pete French message dated "Wed, 11 Mar 2009 10:52:12 +0000." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 11 Mar 2009 13:39:47 +0200 From: Danny Braniss Message-ID: Cc: freebsd-scsi@freebsd.org, freebsd-current@freebsd.org, freebsd-stable@freebsd.org Subject: Re: Tester wanted for multipath failover iSCSI target software 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: Wed, 11 Mar 2009 11:39:52 -0000 > > Now istgt is a part of ports. (net/istgt) > > FreeBSD issue is solved by danny's patch. > > After applying the patch, iscontrol can connect to istgt. > > I am interested in giving this a try, though not immediately as I > am away from the office at the moment. Do I need to apply a patch > to iscontrol to make it work though ? I can't work it out from your > statement above. english version: (ungoogled :-) the latest is in: http://www.cs.huji.ac.il/~danny/ftp/freebsd/iscsi-2.1.1.tar.gz and if you already have 2.1, apply: --- iscsi.c.orig 2008-09-21 10:01:50.000000000 +0300 +++ iscsi.c 2009-03-11 13:29:04.250472000 +0200 @@ -62,7 +62,7 @@ #include #include -static char *iscsi_driver_version = "2.1.0"; +static char *iscsi_driver_version = "2.1.1"; static struct isc_softc isc; --- isc_sm.c.orig 2008-07-19 14:04:23.000000000 +0300 +++ isc_sm.c 2009-03-11 13:30:20.672791000 +0200 @@ -508,7 +508,7 @@ sn->cmd++; case ISCSI_WRITE_DATA: - bhs->ExpStSN = htonl(sn->stat); + bhs->ExpStSN = htonl(sn->stat + 1); break; default: ---------------------------------------------------------------------------- danny From owner-freebsd-scsi@FreeBSD.ORG Wed Mar 11 12:13:02 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 3BB67106566C; Wed, 11 Mar 2009 12:13:02 +0000 (UTC) (envelope-from aoyama@peach.ne.jp) Received: from moon.peach.ne.jp (unknown [IPv6:2001:380:e06:127::53]) by mx1.freebsd.org (Postfix) with ESMTP id D6C678FC0C; Wed, 11 Mar 2009 12:13:01 +0000 (UTC) (envelope-from aoyama@peach.ne.jp) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id F2F0878C4C; Wed, 11 Mar 2009 21:13:00 +0900 (JST) Received: from artemis (unknown [192.168.2.20]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by moon.peach.ne.jp (Postfix) with ESMTP id B064478C4B; Wed, 11 Mar 2009 21:13:00 +0900 (JST) Message-ID: <34849EA9C0D3417C9784824CC0080090@artemis> From: "Daisuke Aoyama" To: , , "Pete French" References: Date: Wed, 11 Mar 2009 21:12:58 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Virus-Scanned: ClamAV using ClamSMTP Cc: freebsd-current@freebsd.org Subject: Re: Tester wanted for multipath failover iSCSI target software 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: Wed, 11 Mar 2009 12:13:03 -0000 >I am interested in giving this a try, though not immediately as I >am away from the office at the moment. Do I need to apply a patch >to iscontrol to make it work though ? I can't work it out from your >statement above. Yes, you need. >Than ks. Is the intent to integrate with the base system eventually >rather than have it in ports ? It would be nice to have a native >implementation which could then be integrated with ZFS. istgt is still under development. so I don't think integration. before thinking, I should work to fix more bugs. thank you. -- Daisuke Aoyama From owner-freebsd-scsi@FreeBSD.ORG Thu Mar 12 08:07:20 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 A1647106566B for ; Thu, 12 Mar 2009 08:07:20 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from sorbesgroup.com (mail.sorbesgroup.com [217.159.241.118]) by mx1.freebsd.org (Postfix) with ESMTP id 5B6168FC1C for ; Thu, 12 Mar 2009 08:07:20 +0000 (UTC) (envelope-from antik@bsd.ee) Received: from localhost (localhost.localdomain [127.0.0.1]) by sorbesgroup.com (Postfix) with ESMTP id 272EA3C530D7; Thu, 12 Mar 2009 09:26:16 +0200 (EET) Received: from sorbesgroup.com ([127.0.0.1]) by localhost (sorbesgroup.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 13341-04; Thu, 12 Mar 2009 09:26:15 +0200 (EET) Received: from [192.168.0.80] (andrei [192.168.0.80]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by sorbesgroup.com (Postfix) with ESMTP id DABF23C530D4; Thu, 12 Mar 2009 09:26:14 +0200 (EET) Message-ID: <49B8BE06.1010105@bsd.ee> Date: Thu, 12 Mar 2009 09:47:18 +0200 From: Andrei Kolu User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Daisuke Aoyama , FreeBSD Stable , freebsd-scsi@freebsd.org References: <34849EA9C0D3417C9784824CC0080090@artemis> In-Reply-To: <34849EA9C0D3417C9784824CC0080090@artemis> Content-Type: text/plain; charset=ISO-2022-JP Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at localhost Cc: Subject: Re: Tester wanted for multipath failover iSCSI target software 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: Thu, 12 Mar 2009 08:07:20 -0000 Daisuke Aoyama wrote: >> I am interested in giving this a try, though not immediately as I >> am away from the office at the moment. Do I need to apply a patch >> to iscontrol to make it work though ? I can't work it out from your >> statement above. > > Yes, you need. > >> Than ks. Is the intent to integrate with the base system eventually >> rather than have it in ports ? It would be nice to have a native >> implementation which could then be integrated with ZFS. > > istgt is still under development. > so I don't think integration. > before thinking, I should work to fix more bugs. > > I have tested "net/istgt" for couple of days with Windows XP and it works more reliable than NetBSD "net/iscsi-target". With NetBSD implementation sometimes I lost partition filesystem information after disconnecting server from network or rebooting my computer. Is there any particular testcases you want to perform? Tested on FreeBSD 7.1-STABLE #0: Wed Mar 11 22:29:33 EET 2009 P.S. Strange, but I can't find istgt in ports anymore... From owner-freebsd-scsi@FreeBSD.ORG Thu Mar 12 13:07:02 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 D6A3910656D4 for ; Thu, 12 Mar 2009 13:07:02 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id AA3E98FC0A for ; Thu, 12 Mar 2009 13:07:02 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LhkJr-0006rh-JU for freebsd-scsi@freebsd.org; Thu, 12 Mar 2009 05:47:27 -0700 Message-ID: <22475632.post@talk.nabble.com> Date: Thu, 12 Mar 2009 05:47:27 -0700 (PDT) From: sathees To: freebsd-scsi@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: psuganya@hcl.in Subject: how do i identify the version of SCSI that my disk supports 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: Thu, 12 Mar 2009 13:07:03 -0000 Hi.. I want to know the version of SCSI that my disk supports.. how can i know that by using the command.. I have used the INQUIRY but still i can't find the version from the version descriptor field..as because the values for this field is zero -- View this message in context: http://www.nabble.com/how-do-i-identify-the-version-of-SCSI-that-my-disk-supports-tp22475632p22475632.html Sent from the freebsd-scsi mailing list archive at Nabble.com. From owner-freebsd-scsi@FreeBSD.ORG Thu Mar 12 13:09:03 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 EFDCB106564A; Thu, 12 Mar 2009 13:09:03 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id B3F1F8FC19; Thu, 12 Mar 2009 13:09:03 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Lhked-000I5b-PC; Thu, 12 Mar 2009 13:08:55 +0000 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Lhked-000DtH-Mr; Thu, 12 Mar 2009 13:08:55 +0000 To: antik@bsd.ee, aoyama@peach.ne.jp, freebsd-scsi@freebsd.org, freebsd-stable@freebsd.org In-Reply-To: <49B8BE06.1010105@bsd.ee> Message-Id: From: Pete French Date: Thu, 12 Mar 2009 13:08:55 +0000 Cc: Subject: Re: Tester wanted for multipath failover iSCSI target software 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: Thu, 12 Mar 2009 13:09:04 -0000 > I have tested "net/istgt" for couple of days with Windows XP and it > works more reliable than NetBSD "net/iscsi-target". > With NetBSD implementation sometimes I lost partition filesystem > information after disconnecting server from network or rebooting my > computer. I am just trying it against the latest FreeBSD initiator. One thing I have noticed compared to the netbsd target is that it appears to have somewhat higer performance. cerrainly the speed that gstat says data is comming off the disc during a scrub is faster than with iscsi_target. On the other hand I have got some errors that I am trying to get to the bottom of. I set up a zpool laast night on a remote disc using the netbsd initiator and copied about 50 gig of data to it as lots of small files. I then switched to the istgt initiator this morning and am running a scrub on the pool. But it is telling me that there are a sigificant number of errors on the disc, which I wasnt expecting. I am now trying to find out if that is due to write errors using the taret last night, or read errors with the new target this morning. BTW, is there any way to get istgt to accept connections without needing to specify the initator string ? I am new to all these options for iSCSI having only used the simple netbsd one before. cheers, -pete. From owner-freebsd-scsi@FreeBSD.ORG Thu Mar 12 13:21:56 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 234E21065672; Thu, 12 Mar 2009 13:21:56 +0000 (UTC) (envelope-from aoyama@peach.ne.jp) Received: from moon.peach.ne.jp (unknown [IPv6:2001:380:e06:127::53]) by mx1.freebsd.org (Postfix) with ESMTP id C13928FC08; Thu, 12 Mar 2009 13:21:55 +0000 (UTC) (envelope-from aoyama@peach.ne.jp) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id DDD4178C4B; Thu, 12 Mar 2009 22:21:54 +0900 (JST) Received: from artemis (unknown [192.168.2.20]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by moon.peach.ne.jp (Postfix) with ESMTP id B5C3378C4A; Thu, 12 Mar 2009 22:21:54 +0900 (JST) Message-ID: From: "Daisuke Aoyama" To: "Andrei Kolu" , "FreeBSD Stable" , References: <34849EA9C0D3417C9784824CC0080090@artemis> <49B8BE06.1010105@bsd.ee> Date: Thu, 12 Mar 2009 22:21:52 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Virus-Scanned: ClamAV using ClamSMTP Cc: Subject: Re: Tester wanted for multipath failover iSCSI target software 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: Thu, 12 Mar 2009 13:21:56 -0000 Hi, Thank you for reporting. >I have tested "net/istgt" for couple of days with Windows XP and it >works more reliable than NetBSD "net/iscsi-target". >With NetBSD implementation sometimes I lost partition filesystem >information after disconnecting server from network or rebooting my >computer. Yes, it is one of differences. istgt reports connected information such as SCSI port to the initiator for discriminating multipath and failover path. As a side effect, perhaps more accurate identification is possible. >Is there any particular testcases you want to perform? If you use it as usual, it is tested enough. If I had to say, I want to know how much a CPU usage on the target machine. Because istgt is more complicated than iscsi-target. >Tested on FreeBSD 7.1-STABLE #0: Wed Mar 11 22:29:33 EET 2009 Did you use the target with ZFS? or UFS? Did you use MCS feature? Thanks, -- Daisuke Aoyama From owner-freebsd-scsi@FreeBSD.ORG Thu Mar 12 13:42:53 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 C595310656C5; Thu, 12 Mar 2009 13:42:53 +0000 (UTC) (envelope-from aoyama@peach.ne.jp) Received: from moon.peach.ne.jp (unknown [IPv6:2001:380:e06:127::53]) by mx1.freebsd.org (Postfix) with ESMTP id 8C45D8FC24; Thu, 12 Mar 2009 13:42:53 +0000 (UTC) (envelope-from aoyama@peach.ne.jp) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id 8456778C4B; Thu, 12 Mar 2009 22:42:52 +0900 (JST) Received: from artemis (unknown [192.168.2.20]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by moon.peach.ne.jp (Postfix) with ESMTP id 5B9C278C4A; Thu, 12 Mar 2009 22:42:52 +0900 (JST) Message-ID: <8F8EA08BAC924788A58736AADB2849BA@artemis> From: "Daisuke Aoyama" To: , , , "Pete French" References: Date: Thu, 12 Mar 2009 22:42:49 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Virus-Scanned: ClamAV using ClamSMTP Cc: Subject: Re: Tester wanted for multipath failover iSCSI target software 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: Thu, 12 Mar 2009 13:42:54 -0000 Thank you for reporting. >On the other hand I have got some errors that I am trying to get to the >bottom of. I set up a zpool laast night on a remote disc using the >netbsd initiator and copied about 50 gig of data to it as lots of small >files. I then switched to the istgt initiator this morning and am running >a scrub on the pool. But it is telling me that there are a sigificant >number >of errors on the disc, which I wasnt expecting. I am now trying to find >out if that is due to write errors using the taret last night, or read >errors >with the new target this morning. I'm very interested in this case. >BTW, is there any way to get istgt to accept connections without needing to >specify the initator string ? I am new to all these options for iSCSI >having only used the simple netbsd one before. sorry for no documents. special word "ALL" matches any initiator name/IPs. you can find more sample in istgt.large.conf.sample. [InitiatorGroup256] Comment "ALL initiators from ALL IP" InitiatorName ALL Netmask ALL Thanks, -- Daisuke Aoyama From owner-freebsd-scsi@FreeBSD.ORG Thu Mar 12 13:52:55 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 4D3DA1065675 for ; Thu, 12 Mar 2009 13:52:55 +0000 (UTC) (envelope-from aoyama@peach.ne.jp) Received: from moon.peach.ne.jp (unknown [IPv6:2001:380:e06:127::53]) by mx1.freebsd.org (Postfix) with ESMTP id 14C478FC1E for ; Thu, 12 Mar 2009 13:52:55 +0000 (UTC) (envelope-from aoyama@peach.ne.jp) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id 1DFC478C4B for ; Thu, 12 Mar 2009 22:52:54 +0900 (JST) Received: from artemis (unknown [192.168.2.20]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by moon.peach.ne.jp (Postfix) with ESMTP id D3A3278C4A for ; Thu, 12 Mar 2009 22:52:53 +0900 (JST) Message-ID: <3646CF8FF05F431D992698D2F1CF2A2E@artemis> From: "Daisuke Aoyama" To: References: <22475632.post@talk.nabble.com> Date: Thu, 12 Mar 2009 22:52:51 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: how do i identify the version of SCSI that my disk supports 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: Thu, 12 Mar 2009 13:52:55 -0000 Hi, >Hi.. I want to know the version of SCSI that my disk supports.. how can i >know that by using the command.. I have used the INQUIRY but still i can't >find the version from the version descriptor field..as because the values >for this field is zero Did you see VERSION field (offset 2 of standard inquiry data)? -- Daisuke Aoyama From owner-freebsd-scsi@FreeBSD.ORG Thu Mar 12 13:55:38 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 1BB761065673; Thu, 12 Mar 2009 13:55:38 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id D585C8FC0A; Thu, 12 Mar 2009 13:55:37 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LhlNj-000J0i-KS; Thu, 12 Mar 2009 13:55:31 +0000 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LhlNj-000E81-IQ; Thu, 12 Mar 2009 13:55:31 +0000 To: antik@bsd.ee, aoyama@peach.ne.jp, freebsd-scsi@freebsd.org, freebsd-stable@freebsd.org In-Reply-To: <8F8EA08BAC924788A58736AADB2849BA@artemis> Message-Id: From: Pete French Date: Thu, 12 Mar 2009 13:55:31 +0000 Cc: Subject: Re: Tester wanted for multipath failover iSCSI target software 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: Thu, 12 Mar 2009 13:55:38 -0000 > Thank you for reporting. ... > I'm very interested in this case. Well, I just finihsed doing a 'zpool scrub' on the disc image mounted locally on the machine which was running istgt. That still shows some errors - but only 36 of them, compares to the 9000+ I get when running the scrub mounted remotely! I am going to do the whole test again just using istgt this time to see what happens. Some more information about my setup: Both machines are amd64 - running kernels from March 9th. The client has the latest version of iscsi_initiator on it as well. The server is using a file as the disc image, and the file is stored on a pair of terrabyte SATA drives in a mirrored zpool. > special word "ALL" matches any initiator name/IPs. > you can find more sample in istgt.large.conf.sample. Ah, thanks, thats helps a lot :-) I will let you know what happens witha new test. -pete. From owner-freebsd-scsi@FreeBSD.ORG Thu Mar 12 14:39:10 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 3846B10656D4; Thu, 12 Mar 2009 14:39:10 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id F24568FC15; Thu, 12 Mar 2009 14:39:09 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1Lhm3n-0000Wg-3p; Thu, 12 Mar 2009 14:38:59 +0000 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LhlmY-000EFM-Io; Thu, 12 Mar 2009 14:21:10 +0000 To: antik@bsd.ee, aoyama@peach.ne.jp, freebsd-scsi@freebsd.org, freebsd-stable@freebsd.org In-Reply-To: <8F8EA08BAC924788A58736AADB2849BA@artemis> Message-Id: From: Pete French Date: Thu, 12 Mar 2009 14:21:10 +0000 Cc: Subject: Re: Tester wanted for multipath failover iSCSI target software 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: Thu, 12 Mar 2009 14:39:11 -0000 Oh dear.... doing the test again caused the client machine to panic, with the following message: panic: solaris assert: 0 == dmu_buf_hold(os, lr->lr_foid, boff, zgd, &db), file /usr/src/sys/modules/zfs/../../cddl/controb/opensolaris/uts/common/fs/zfs/zfs_nops.c, line: 955 (that was copied out by hand so there might be typos). Since that was on the client side it makes me think there is a mproblem with the initiator. But the same test to the netbsd-target works fine, so it's some interaction between the two bits of software I guess. -pete. From owner-freebsd-scsi@FreeBSD.ORG Fri Mar 13 04:39:20 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 087F5106564A for ; Fri, 13 Mar 2009 04:39:20 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id CE6DE8FC27 for ; Fri, 13 Mar 2009 04:39:19 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LhzB1-0002i5-3O for freebsd-scsi@freebsd.org; Thu, 12 Mar 2009 21:39:19 -0700 Message-ID: <22490123.post@talk.nabble.com> Date: Thu, 12 Mar 2009 21:39:19 -0700 (PDT) From: sathees To: freebsd-scsi@freebsd.org In-Reply-To: <3646CF8FF05F431D992698D2F1CF2A2E@artemis> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: psuganya@hcl.in References: <22475632.post@talk.nabble.com> <3646CF8FF05F431D992698D2F1CF2A2E@artemis> Subject: Re: how do i identify the version of SCSI that my disk supports 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: Fri, 13 Mar 2009 04:39:20 -0000 Daisuke Aoyama wrote: > > Hi, > >>Hi.. I want to know the version of SCSI that my disk supports.. how can i >>know that by using the command.. I have used the INQUIRY but still i can't >>find the version from the version descriptor field..as because the values >>for this field is zero > > Did you see VERSION field (offset 2 of standard inquiry data)? > ya i have seen that field .. the version field is set to 03h which i > decoded as SPC. But i want to know which version od SAS that my device > supports..Can you give me a hint > > -- > Daisuke Aoyama > > _______________________________________________ > 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" > > -- View this message in context: http://www.nabble.com/how-do-i-identify-the-version-of-SCSI-that-my-disk-supports-tp22475632p22490123.html Sent from the freebsd-scsi mailing list archive at Nabble.com. From owner-freebsd-scsi@FreeBSD.ORG Fri Mar 13 16:04:16 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 691B31065689; Fri, 13 Mar 2009 16:04:16 +0000 (UTC) (envelope-from aoyama@peach.ne.jp) Received: from moon.peach.ne.jp (unknown [IPv6:2001:380:e06:127::53]) by mx1.freebsd.org (Postfix) with ESMTP id 300E88FC12; Fri, 13 Mar 2009 16:04:16 +0000 (UTC) (envelope-from aoyama@peach.ne.jp) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id 537AE78C4B; Sat, 14 Mar 2009 01:04:15 +0900 (JST) Received: from artemis (unknown [192.168.2.20]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by moon.peach.ne.jp (Postfix) with ESMTP id 13DFB78C4A; Sat, 14 Mar 2009 01:04:15 +0900 (JST) Message-ID: <9D628199E66F424A80D214FA277EEEA3@artemis> From: "Daisuke Aoyama" To: , , "Pete French" References: Date: Sat, 14 Mar 2009 01:04:11 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-2022-jp"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Virus-Scanned: ClamAV using ClamSMTP Cc: Subject: Re: Tester wanted for multipath failover iSCSI target software 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: Fri, 13 Mar 2009 16:04:17 -0000 > Oh dear.... doing the test again caused the client machine to panic, > with the following message: > > panic: solaris assert: 0 == dmu_buf_hold(os, lr->lr_foid, boff, zgd, &db), > file > /usr/src/sys/modules/zfs/../../cddl/controb/opensolaris/uts/common/fs/zfs/zfs_nops.c, > line: 955 > I have not read the message in my experience. Do you have encountered frequency? -- Daisuke Aoyama From owner-freebsd-scsi@FreeBSD.ORG Fri Mar 13 16:11:05 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 19736106566C for ; Fri, 13 Mar 2009 16:11:05 +0000 (UTC) (envelope-from aoyama@peach.ne.jp) Received: from moon.peach.ne.jp (unknown [IPv6:2001:380:e06:127::53]) by mx1.freebsd.org (Postfix) with ESMTP id D4C378FC15 for ; Fri, 13 Mar 2009 16:11:04 +0000 (UTC) (envelope-from aoyama@peach.ne.jp) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id 237CF78C4B for ; Sat, 14 Mar 2009 01:11:04 +0900 (JST) Received: from artemis (unknown [192.168.2.20]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by moon.peach.ne.jp (Postfix) with ESMTP id E450878C4A for ; Sat, 14 Mar 2009 01:11:03 +0900 (JST) Message-ID: From: "Daisuke Aoyama" To: References: <22475632.post@talk.nabble.com><3646CF8FF05F431D992698D2F1CF2A2E@artemis> <22490123.post@talk.nabble.com> Date: Sat, 14 Mar 2009 01:11:01 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Virus-Scanned: ClamAV using ClamSMTP Subject: Re: how do i identify the version of SCSI that my disk supports 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: Fri, 13 Mar 2009 16:11:05 -0000 >>>Hi.. I want to know the version of SCSI that my disk supports.. how can i >>>know that by using the command.. I have used the INQUIRY but still i >>>can't >>>find the version from the version descriptor field..as because the values >>>for this field is zero >> >> Did you see VERSION field (offset 2 of standard inquiry data)? >> ya i have seen that field .. the version field is set to 03h which i >> decoded as SPC. But i want to know which version od SAS that my device >> supports..Can you give me a hint I don't know why you need version of SAS. I think it is transport and physical interconnect specification. Do you need physical port access to the unit? I'm sorry, I don't have information about it. -- Daisuke Aoyama From owner-freebsd-scsi@FreeBSD.ORG Fri Mar 13 16:30:23 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 8FA6810656C4; Fri, 13 Mar 2009 16:30:23 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from constantine.ticketswitch.com (constantine.ticketswitch.com [IPv6:2002:57e0:1d4e:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id 53F998FC0C; Fri, 13 Mar 2009 16:30:23 +0000 (UTC) (envelope-from petefrench@ticketswitch.com) Received: from dilbert.rattatosk ([10.64.50.6] helo=dilbert.ticketswitch.com) by constantine.ticketswitch.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LiAGx-000Ej0-K1; Fri, 13 Mar 2009 16:30:11 +0000 Received: from petefrench by dilbert.ticketswitch.com with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LiAGx-000JwA-Ho; Fri, 13 Mar 2009 16:30:11 +0000 To: aoyama@peach.ne.jp, freebsd-scsi@freebsd.org, freebsd-stable@freebsd.org In-Reply-To: <9D628199E66F424A80D214FA277EEEA3@artemis> Message-Id: From: Pete French Date: Fri, 13 Mar 2009 16:30:11 +0000 Cc: Subject: Re: Tester wanted for multipath failover iSCSI target software 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: Fri, 13 Mar 2009 16:30:25 -0000 > I have not read the message in my experience. > Do you have encountered frequency? Only once. I did not try it again because that is our work server. I did two testrs, copying files. 1) Using iscsi-target ... copies OK, but ZFS pool has errors 2) Using istgt - causes the panic described. The copy is 53 gigabytes of small files. -pete. From owner-freebsd-scsi@FreeBSD.ORG Sat Mar 14 06:29:33 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 8A264106564A for ; Sat, 14 Mar 2009 06:29:33 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 5ABF98FC15 for ; Sat, 14 Mar 2009 06:29:33 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LiNNE-00024a-Fa for freebsd-scsi@freebsd.org; Fri, 13 Mar 2009 23:29:32 -0700 Message-ID: <22509811.post@talk.nabble.com> Date: Fri, 13 Mar 2009 23:29:32 -0700 (PDT) From: sathees To: freebsd-scsi@freebsd.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: psuganya@hcl.in References: <22475632.post@talk.nabble.com> <3646CF8FF05F431D992698D2F1CF2A2E@artemis> <22490123.post@talk.nabble.com> Subject: Re: how do i identify the version of SCSI that my disk supports 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: Sat, 14 Mar 2009 06:29:33 -0000 Daisuke Aoyama wrote: > >>>>Hi.. I want to know the version of SCSI that my disk supports.. how can i >>>>know that by using the command.. I have used the INQUIRY but still i >>>>can't >>>>find the version from the version descriptor field..as because the values >>>>for this field is zero >>> >>> Did you see VERSION field (offset 2 of standard inquiry data)? >>> ya i have seen that field .. the version field is set to 03h which i >>> decoded as SPC. But i want to know which version od SAS that my device >>> supports..Can you give me a hint > > I don't know why you need version of SAS. > I think it is transport and physical interconnect specification. > Do you need physical port access to the unit? > I'm sorry, I don't have information about it. > > -- > Daisuke Aoyama > > thanks for your reply > I have got a hint from you... > I will try..:handshake: > _______________________________________________ > 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" > > -- View this message in context: http://www.nabble.com/how-do-i-identify-the-version-of-SCSI-that-my-disk-supports-tp22475632p22509811.html Sent from the freebsd-scsi mailing list archive at Nabble.com.