Re: IPv4/IPv6 initiator-target--automatic mapping of targets

2008-05-07 Thread Michael Christie
On Tue, 6 May 2008, Padmanabhan wrote: Hello Mike, Let me explain the sequence of events -- The system reboots -- Open iscsi is enabled at start up Issue 1 == From the database, the initiator logins twice to the same target via TWO TCP connections which are established on IPv4 and IPv6

Re: high read latency on low read workload

2012-08-08 Thread Michael Christie
On Aug 8, 2012, at 10:26 AM, squadra j...@internetx.de wrote: Hi, we are experiencing some really strange issues in our Setup, Based up on several Linux Hostsystems and Equallogic Storagesystems. Our normal workload is 95% write and 5% read (both together about 10mb/sec avg), under this

Re: high read latency on low read workload

2012-08-09 Thread Michael Christie
On Aug 9, 2012, at 1:49 AM, squadra j...@internetx.de wrote: my max_sectors_kb setting is 512 at the moment. you mean i should set it to 192? 64. I would try Anil's suggestion first. -- You received this message because you are subscribed to the Google Groups open-iscsi group. To

Re: high read latency on low read workload

2012-08-09 Thread Michael Christie
On Aug 9, 2012, at 2:49 AM, squadra j...@internetx.de wrote: i tried this on a empty system, it leads to: blk_rq_check_limits: over max size limit. device-mapper: multipath: Failing path 8:16. blk_rq_check_limits: over max size limit. device-mapper: multipath: Failing path 8:32. In the

Re: INFO: HARDIRQ-safe - HARDIRQ-unsafe lock order detected

2012-08-09 Thread Michael Christie
On Aug 8, 2012, at 4:42 AM, Fubo Chen fubo.c...@gmail.com wrote: Anyone seen this before ? Also occurs with 3.4.1. == [ INFO: HARDIRQ-safe - HARDIRQ-unsafe lock order detected ] 3.6.0-rc1-debug+ #1 Not tainted

Re: [PATCH] libiscsi: avoid unnecessary multiple NULL assignments

2012-08-12 Thread Michael Christie
Replacing linux-scsi list with linux-kernel. On Aug 12, 2012, at 9:15 AM, Masatake YAMATO yam...@redhat.com wrote: In iscsi_free_task, NULL is assigned to task-sc twice: before and after kfifo_in invocatoin. Allocating and freeing iscsi_task are guarded with session-lock, so multiple NULL

Re: What does detected conn error (1001) mean and how to diagnose

2012-08-12 Thread Michael Christie
On Aug 11, 2012, at 9:37 PM, Bob Zscharnagk bob.zscharn...@gmail.com wrote: I'm new to open-iscsi. I'm receiveing lots of detected conn error (1001) errors and slow iSCSI usage. Are you sure it is conn error 1001 and not 1011? 1001 is really rare. It indicates there was a data

Re: Q: displaying the login settings for a node

2012-08-16 Thread Michael Christie
On Aug 16, 2012, at 3:02 AM, Ulrich Windl ulrich.wi...@rz.uni-regensburg.de wrote: Hi! I have a problem with iscsiadm version 2.0-872.suse (SLES11 SP2): On boot my nodes did not log in automatically. The SUSE script does $ISCSIADM -m node --loginall=automatic 2 /dev/null. Now my

Re: Antw: Re: Q: displaying the login settings for a node

2012-08-16 Thread Michael Christie
On Aug 16, 2012, at 10:11 AM, Ulrich Windl ulrich.wi...@rz.uni-regensburg.de wrote: Michael Christie micha...@cs.wisc.edu schrieb am 16.08.2012 um 16:16 in Nachricht 74fc4f8a-86c0-4c90-b29f-d5c665631...@cs.wisc.edu: On Aug 16, 2012, at 3:02 AM, Ulrich Windl ulrich.wi...@rz.uni

Re: iscsid: Kernel reported iSCSI connection 1:0 error (1011) state (3)

2012-08-16 Thread Michael Christie
On Aug 15, 2012, at 1:12 PM, parveen kumar coolbudy1...@gmail.com wrote: Dear Mike Christie, :) Oki tell me that what file to edit for Retry-Relogin from initiator to target when connection get lost in CentOS5.3. Like: defaults is 4 tries and 120 sec how to increase this and what file to

Re: Hi, I have a question, can you help me? Or is a bug?

2012-08-28 Thread Michael Christie
On Aug 27, 2012, at 8:37 PM, guangjie qu qu.guang...@gmail.com wrote: Thanks for reply Michael Christie. I have set the open-iscsi timeout seconds: node.session.timeo.replacement_timeout = 0 Do iscsiadm -m node -T yourtarget | grep replacement_timeout -- You received this message

Re: Antw: Re: Q: Slow extraordinarily slow performance of dmraid -s -c -c -c

2012-08-28 Thread Michael Christie
sg_inq -E /dev/sdc # time sg_inq -E /dev/sdc VPD INQUIRY: extended INQUIRY data page SPT=0 GRD_CHK=0 APP_CHK=0 REF_CHK=0 UASK_SUP=0 GROUP_SUP=0 PRIOR_SUP=0 HEADSUP=0 ORDSUP=0 SIMPSUP=0 WU_SUP=0 CRD_SUP=0 NV_SUP=1 V_SUP=1 P_I_I_SUP=0 LUICLR=0 CBCS=0 R_SUP=0 Multi I_T nexus

Re: Correlating TCP connections with iSCSI connections

2012-08-28 Thread Michael Christie
On Aug 28, 2012, at 5:39 PM, Jeffrey Caughel jcaug...@gmail.com wrote: In order to further dig into performance issues we're seeing, I am trying to correlate individual iSCSI connections with specific TCP connections. I don't want to negatively impact performance more than it already is so

Re: Cannot do FITRIM

2012-08-30 Thread Michael Christie
On Aug 30, 2012, at 11:18 AM, Spelic spe...@shiftmail.org wrote: Hello all I am trying to fstrim a filesystem on an iSCSI disk through open-iscsi. The target is on LIO . I am receiving: fstrim: /: FITRIM ioctl failed: Operation not supported At LIO side there is nothing in dmesg, so I

Re: Cannot do FITRIM

2012-08-30 Thread Michael Christie
On Aug 30, 2012, at 11:49 AM, Michael Christie micha...@cs.wisc.edu wrote: On Aug 30, 2012, at 11:18 AM, Spelic spe...@shiftmail.org wrote: Hello all I am trying to fstrim a filesystem on an iSCSI disk through open-iscsi. The target is on LIO . I am receiving: fstrim: /: FITRIM

Re: Cannot do FITRIM

2012-08-31 Thread Michael Christie
On Aug 31, 2012, at 9:55 AM, Spelic spe...@shiftmail.org wrote: On 08/30/12 18:51, Michael Christie wrote: On Aug 30, 2012, at 11:49 AM, Michael Christie micha...@cs.wisc.edu wrote: On Aug 30, 2012, at 11:18 AM, Spelic spe...@shiftmail.org wrote: Hello all I am trying to fstrim

Re: Antw: Re: Q: Slow extraordinarily slow performance of dmraid -s -c -c -c

2012-09-23 Thread Michael Christie
From what I can tell, it is a dm raid issue or a target issue. The len dm raid is using might not be right, but I am not sure. I do not know why the target does not like it. On Sep 21, 2012, at 5:59 AM, Ulrich Windl ulrich.wi...@rz.uni-regensburg.de wrote # time sg_inq -e -p 80- /dev/sdc

Re: Couldn't recognize text com.ardistech.avfs_server=192.168.216.2 on login

2012-09-26 Thread Michael Christie
On Sep 26, 2012, at 4:08 AM, HC henri.c...@gmail.com wrote: Hi all, I'm trying to connect to a third party piece of storage which is presenting an iSCSI drive - it's made by DDP (Dynamic Drive Pool) which uses AVFS technology and it looks like they're passing a custom header, I assume

Re: conn error 1011 1020

2012-09-27 Thread Michael Christie
On Sep 27, 2012, at 4:42 PM, iscsi developer man iscsidevel...@gmail.com wrote: 2.6.32-37-generic if scsi commands are timing out, we would expect to see TASK ABORTS, correct? Yes. Are you taking a tcpdump trace at this time and seeing task aborts? With the 2.6.32 based kernel setup

Re: Open-iSCSI support of multiple connections per session (MC/S)

2012-10-02 Thread Michael Christie
On Sep 30, 2012, at 5:06 PM, Tom Gardner tom94...@comcast.net wrote: I’m a newbie to open-iscsi and have been poking various sites to see if open-iscsi does, has or will support MC/S. To date I have found no way to configure the feature and have found a few tantalizing statements that it

Re: iscsi connection errors

2012-10-05 Thread Michael Christie
On Oct 5, 2012, at 2:39 PM, squadra j...@internetx.de wrote: Hi, from time to time i see connection errors like this to our equallogic 6100xv / 4100e stack. ct 5 21:22:20 xxx kernel: connection4:0: detected conn error (1020) Do you see something before this? Maybe something about a

rejected pdu when doing discovery

2012-10-07 Thread Michael Christie
On Oct 6, 2012, at 2:08 AM, rok...@gmail.com wrote: Hello, I have similar error, when i try to discover another lun i lost the connection to the current lun using multipath. The log say this: Your error is nothing like what was being discussed in this thread. Changing subject for you :)

Re: rejected pdu when doing discovery

2012-10-08 Thread Michael Christie
On Oct 8, 2012, at 3:38 AM, Jose Joaquin Anton Herrerias jan...@abserver.es wrote: As you can see there are an error before the pdu rejected. Oct 8 10:20:33 robin fe: 25043 (/usr/sbin/stunnel -fd 6) exitted with code 0 It's not helpful. We want to know why the target is returning this

Re: rejected pdu when doing discovery

2012-10-08 Thread Michael Christie
What target are you using? What is the vendor and model? On Oct 8, 2012, at 2:42 AM, Jose Joaquin Anton Herrerias jan...@abserver.es wrote: Hello, We are using xenserver 5.6 with open-iscsi-2.0.871-0.20.3.xs647, whe use the xenserver tool for discover and attach the lun. The Kenerl

Re: [PATCH 1/2] ISCSID: Fixed the syncing of ibft/iscsi_boot disk connections with vlan

2012-10-09 Thread Michael Christie
On Oct 8, 2012, at 7:47 PM, Eddie Wai eddie@broadcom.com wrote: For the case when iscsid is invoked for the first time after pivot root during iSCSI boot, the boot connection would fail to re-connect if the ibft/iscsi_boot sysfs entry contains tagged vlan. The problem was caused by the

Re: [PATCH 2/2] ISCSID: Fixed the syncing of non-boot sessions with tagged vlan

2012-10-09 Thread Michael Christie
On Oct 8, 2012, at 7:47 PM, Eddie Wai eddie@broadcom.com wrote: For the syncing of non-boot sessions, the vlan info would have to be extracted from the iface config file. This patch adds such a call to retrieve the additional net params from the iface config file. Signed-off-by:

Re: [PATCH 0/2] ISCSID - Fixed sync_session

2012-10-09 Thread Michael Christie
On Oct 8, 2012, at 7:44 PM, Eddie Wai eddie@broadcom.com wrote: Upon the startup of iscsid in both the iSCSI boot and the non-boot environment, the sync_session procedure fails to recover the connection when the connection require additional net param setup for the sync. For boot,

Re: RFC: Doc: FLASH DDB Management using iscsiadm

2012-10-09 Thread Michael Christie
On Oct 1, 2012, at 5:31 AM, Lalit Chandivade lalit.chandiv...@qlogic.com wrote: -Original Message- From: Mike Christie [mailto:micha...@cs.wisc.edu] Sent: Tuesday, August 07, 2012 10:25 PM To: open-iscsi@googlegroups.com Cc: Lalit Chandivade; Ravi Anand; Vikas Chaudhary; Manish

Re: Slow copy from Initiator to Target

2012-10-19 Thread Michael Christie
On Oct 17, 2012, at 3:53 AM, targol...@gmail.com wrote: hi, I have a question, about Target and Initiator, is it a norman when i do copy on mounted iscsi FS on Initiator, to see these files on Target after 10 or 20 sec? I thinking that ISCSI do this realtime or may I wrong? iSCSI does

Re: Slow copy from Initiator to Target

2012-10-20 Thread Michael Christie
On Oct 18, 2012, at 11:51 PM, Muthuraman viv.mr...@gmail.com wrote: Hi Groups, I am also facing the same problem when I was read and write. The write performance was bad. Is there any workaround for this problem. How bad? What is your setup? How are you driving IO? What tool? What

Re: XenServer - LUN iscsci

2012-10-20 Thread Michael Christie
On Oct 19, 2012, at 6:23 AM, pascal.roland...@gmail.com wrote: Hi, I'm running Xencenter on a r520. Got a Debian squeeze VM as file server. Just got a md1200 with 12*2Tb SAS drives that I attached to XenServer. How can I use this iscsi storage on the debian ? Not sure what you want to do.

Re: Automatic deleting of LUNs possible?

2012-10-31 Thread Michael Christie
On Oct 30, 2012, at 7:31 PM, amit.ut...@gmail.com wrote: I apologize if this has been asked in the list before, I did some research but did not find a clear answer/recommendation. Currently, I use udev to monitor new devices added by the open-iscsi initiator. This works great. However,

Re: iSCSI timeouts on login with 32/64bit user/kernel

2012-11-01 Thread Michael Christie
On Nov 1, 2012, at 12:46 AM, Lisa Marie nullo...@sdf.org wrote: The problem with these type of patches has not been that we cannot find a solution that works on new setups with the patches. The problem is that we are not allowed to merge patches in the upstream kernel that break existing

Re: Timeout settings not working?

2012-11-03 Thread Michael Christie
On Nov 2, 2012, at 4:35 PM, Ian Pilcher arequip...@gmail.com wrote: Checkout 8. Advanced Configuration of the readme in /usr/share/docs/iscsi-intiator-utils-$VERSION/REAMDE Believe me, I read that before posting. Ultimately, I just didn't realize that changes to the settings in

Re: Automatic deleting of LUNs possible? [WORKS w/PATCH]

2012-11-03 Thread Michael Christie
On Nov 3, 2012, at 10:51 AM, Amit amit.ut...@gmail.com wrote: Mike Christie michaelc@... writes: Regarding dev_loss_tmo, this has to be implemented at the kernel level correct? Since this feature is important to me, I can go ahead and try to implement that. Ok. Here is some info on

Re: Automatic deleting of LUNs possible?

2012-11-03 Thread Michael Christie
On Nov 2, 2012, at 4:54 PM, Boaz Harrosh bharr...@panasas.com wrote: On 11/02/2012 12:47 PM, Mike Christie wrote: Yeah, I updated the iscsi dev loss tmo patch and posted it to the list. I think I hit some bugs with lots of sessions and lots of removals at the same time due to some

Re: iscsi connection error 1020

2012-11-07 Thread Michael Christie
On Nov 6, 2012, at 9:54 AM, guidry.m...@gmail.com wrote: [root@holly ~]# iscsiadm -m node -p 172.16.50.1 -T iqn.2001-05.com.equallogic:0-8a0906-172228806-45a001b4e1a50980-workflow-software-6 --login Logging in to [iface: eth1, target:

Re: Retry of failed I/O

2012-11-07 Thread Michael Christie
On Nov 6, 2012, at 8:49 AM, Suresh Rajagopalan r.raj...@gmail.com wrote: I'd like to find out what SAM codes in Tgtd notify open-iscsi block layer to retry a failed I/O. To clarify, in the current tgtd backing store code (bs_rdwr.c), a failed read or writes sets the following: static

Re: [RFC_V2 PATCH 1/2] iscsi_flash_sysfs: Add flash target mgmt support through sysfs.

2012-11-13 Thread Michael Christie
On Nov 9, 2012, at 5:35 AM, vikas.chaudh...@qlogic.com wrote: From: Adheer Chandravanshi adheer.chandravan...@qlogic.com This patch allows iscsiadm to manage iSCSI target information stored on adapter flash on per host basis. The sysfs entries will look as cited below:

Re: open-iscsi - Cant reconnect after moving a VM - connection1:0: detected conn error (1021)

2012-12-03 Thread Michael Christie
On Dec 3, 2012, at 1:31 AM, Nico Visser nicolaas.vis...@gmail.com wrote: Environment: NETAPP SAN storage Hyper-V Cluster OS: Cloud Linux 6.3 Im in the process of moving individual VM's off to a separate Hyper-V cluster as we are having some stability issues. The VM connects fine to

Re: Can I set up multiple initiators using open-iscsi?

2012-12-09 Thread Michael Christie
On Dec 5, 2012, at 10:36 PM, Lee Duncan leeman.dun...@gmail.com wrote: On Dec 5, 2012, at 8:12 PM, Mike Christie micha...@cs.wisc.edu wrote: On 12/04/2012 06:58 PM, Lee Duncan wrote: On Dec 4, 2012, at 4:51 PM, Mike Christie micha...@cs.wisc.edu wrote: On 12/04/2012 05:22 PM, Lee

Re: Limit iscsi drive 2TB in Centos 6.3 ??

2012-12-31 Thread Michael Christie
The iSCSI initiator layer does not control/manage this. It looks like it might be a target issue since we see both the scsi layer and sg utile reporting zero logical blocks. Are you using SCST for the target, or did you buy a target from some vendor that is using SCST? On Dec 30, 2012, at

Re: Initiator name missing

2013-01-08 Thread Michael Christie
You have a older version. Just rm the old setup files: rm /etc/iscsi/nodes rm /etc/iscsi/send_targets or your version/distro might put it in /var/lib rm /var/lib/iscsi/nodes rm /var/lib/iscsisend_targets Also make sure that in iscsid.conf both the discovery username/password and node

Re: iscsiadm returns 'This is not supported with software iSCSI (iscsi_tcp).' Now what?

2013-01-28 Thread Michael Christie
On Jan 24, 2013, at 4:03 AM, levi.govae...@gmail.com wrote: iscsiadm: iface_for_each_iface found iqn.2000-01.com.synology iscsiadm: looking for iface conf /etc/iscsi/ifaces/iqn.2000-01.com.synology iscsiadm: updated 'iface.iscsi_ifacename', 'iqn.2000-01.com.synology' =

Re: Software iSCSI Error Handler not getting enabled

2013-02-13 Thread Michael Christie
On Feb 13, 2013, at 1:23 PM, Gowrav Mahadevaiah gowrav...@gmail.com wrote: HI, I'm working on the a Software iSCSI configuration with IPv4 iSCSI session and want to enable iscsi error handling debug flag for analyzing an issue. Here is the steps i followed to enable error handling debug

Re: iscsiadm logging off and back on to initiator during reboot HOWTO please?

2013-02-18 Thread Michael Christie
On Feb 16, 2013, at 11:18 PM, David Hostetler dbhostte...@gmail.com wrote: Okay still learning. Sorry about the dumb newb questions on this subject. The only docs I have found so far are the man pages... So let's get down to brass tacks shall we? I have 3 CentOS 6.3 64 bit boxes, one

Re: Controlling ISID values

2013-02-18 Thread Michael Christie
On Feb 17, 2013, at 11:01 AM, אייל בן דוד bde...@gmail.com wrote: Hi, Thanks for your answer. 2013/2/14 Mike Christie micha...@cs.wisc.edu On 02/13/2013 08:38 AM, bde...@gmail.com wrote: Hello all, In order to test a storage device I would like to set ISID in advance (e.g same

Re: Meaning of SCSI return codes?

2013-02-18 Thread Michael Christie
#define DID_TRANSPORT_FAILFAST 0x0f /* Transport class fastfailed the io */ It means the replacement/recovery timeout fired and the iscsi/scsi layer failed the IO. On Feb 18, 2013, at 12:26 PM, yying...@gmail.com wrote: what sd 5:0:0:0: SCSI error: return code = 0x000f means? On

Re: iscsiadm documentation on sendtargets/st inexact

2013-02-19 Thread Michael Christie
On Feb 18, 2013, at 1:43 AM, Jan Engelhardt jeng...@inai.de wrote: iscsiadm(8) in open-iscsi-2.0.870 documents: -t, --type=type type must be sendtargets (or abbreviated as st), slp, isns or fw. However, sendtargets and st seem to work differently, in that st autocreates an entry,

Re: Antw: Re: iscsiadm documentation on sendtargets/st inexact

2013-02-19 Thread Michael Christie
On Feb 19, 2013, at 3:07 AM, Ulrich Windl ulrich.wi...@rz.uni-regensburg.de wrote: Michael Christie micha...@cs.wisc.edu schrieb am 19.02.2013 um 06:42 in Nachricht 75829b62-f5b7-4a3e-9adb-b1e888a31...@cs.wisc.edu: On Feb 18, 2013, at 1:43 AM, Jan Engelhardt jeng...@inai.de wrote

Re: Antw: Re: iscsiadm documentation on sendtargets/st inexact

2013-02-19 Thread Michael Christie
On Feb 19, 2013, at 3:07 AM, Ulrich Windl ulrich.wi...@rz.uni-regensburg.de wrote: Michael Christie micha...@cs.wisc.edu schrieb am 19.02.2013 um 06:42 in Nachricht 75829b62-f5b7-4a3e-9adb-b1e888a31...@cs.wisc.edu: On Feb 18, 2013, at 1:43 AM, Jan Engelhardt jeng...@inai.de wrote

Re: open-iscsi kernel

2013-04-07 Thread Michael Christie
I am not sure what the second sentence about it really being about the initiator means. The kernel dir in the open-iscsi dir is not used any more for newer kernels. If you have a older supported kernel then you can use the kernel modules by doing make kernel They are not updated any more

Re: How to contribute changes?

2013-05-14 Thread Michael Christie
Do you have a kernel driver too? Are you going to get that upstream? I do not care if it closed source or if you are not going to get it upstream. Just wondering what other iscsi hardware is out there. I will merge the patch either way. Can you say what ocs stands for? On May 14, 2013, at

Re: [PATCH] iscsid: Fix strlen parameter

2013-06-28 Thread Michael Christie
On Jun 26, 2013, at 7:45 AM, Jan Vesely jves...@redhat.com wrote: From: Jan Vesely jves...@redhat.com The target socket name is passed as parameter, don't use the hardwired one. Thanks. Merged in commit b0ba4d6288f87d33508add1b680cf22d2c3dbfe4. -- You received this message because you

Re: [PATCH] iscsiuio: Change socket bind to use the same struct size as iscsid

2013-06-28 Thread Michael Christie
On Jun 26, 2013, at 8:55 AM, Jan Vesely jves...@redhat.com wrote: From: Jan Vesely jves...@redhat.com Without this patch connections to iscsiuio fail, and strace prints: connect(8, {sa_family=AF_FILE, path=@ISCSID_UIP_ABSTRACT_NAMESPACE}, 32) = -1 ECONNREFUSED (Connection refused)

Re: [PATCH] IB/iser: Add Discovery support

2013-07-02 Thread Michael Christie
On Jun 27, 2013, at 2:57 PM, Or Gerlitz or.gerl...@gmail.com wrote: On Thu, Jun 27, 2013 at 7:25 PM, Mike Christie micha...@cs.wisc.edu wrote: On 06/27/2013 08:46 AM, Or Gerlitz wrote: @@ -501,6 +503,18 @@ iscsi_iser_set_param(struct iscsi_cls_conn *cls_conn, return

Re: [PATCH] IB/iser: Add Discovery support

2013-07-03 Thread Michael Christie
On Jul 2, 2013, at 4:59 PM, Or Gerlitz or.gerl...@gmail.com wrote: that's too bad, he wrote Linus that this pull request is the 1st for the 3.11 merge window, so if there's another one, the patches of Vikas deserve to be there It might still make it then. -- You received this message

Re: [PATCH V1] IB/iser: Add Discovery support

2013-07-31 Thread Michael Christie
On Jul 31, 2013, at 5:35 AM, Or Gerlitz ogerl...@mellanox.com wrote: To run discovery over iSER we need to advertize the CAP_TEXT_NEGO capability towards user space. Also need to make sure the login RX buffer is posted when SendTargets TEXT PDUs are sent. For that end, we use a setting of the

Re: [PATCH RFC] SCSI/libiscsi: Reduce locking contention in fast path

2013-08-12 Thread Michael Christie
Tomorrow. Reviewing the qlogic net ones then have this on my todo. On Aug 12, 2013, at 5:00 PM, Or Gerlitz or.gerl...@gmail.com wrote: On Thu, Aug 8, 2013 at 4:25 PM, Or Gerlitz ogerl...@mellanox.com wrote: Replace the session lock with two locks, a forward lock and a backwards lock named

Re: Distro network scripts and root-on-iscsi interface: what is the recommended practice?

2013-08-14 Thread Michael Christie
On Aug 11, 2013, at 8:39 AM, ppcner8x8x ascanio.al...@gmail.com wrote: What is the recommended behaviour of distro network scripts with the root-on-iscsi interface? If sessions are logged in then when iscsid is started from the init scripts/systemd the network interfaces that iscsi uses

Re: for help

2013-08-14 Thread Michael Christie
You probably did not setup the target correctly. Take a tcpdump/wireshark trace and when you login look at the REPORT_LUNS and INQUIRY command results. Do they indicate disks there? On Aug 11, 2013, at 8:20 AM, cxywms cxy...@163.com wrote: Hi, OPEN-ISCSI TEAM I have a problem that there is

Re: iscsi device created but disappears (mount: special device /dev/sdb1 does not exist)

2013-11-19 Thread Michael Christie
On Nov 18, 2013, at 9:21 AM, cputt...@gmail.com wrote: Hi Having an odd issue with a iscsi volume, following a forced reboot on the server that uses it. Using iscsiadm to login to the target successfully (it has always been manually attached and mounted for historic reasons). Logs

Re: PDU digests and discovery sessions

2013-12-14 Thread Michael Christie
On Dec 3, 2013, at 10:59 AM, wireis...@gmail.com wrote: I have discovered that open-iscsi treats discovery and normal sessions differently with respect to login parameters. Regardless of the PDU digest settings in the /etc/iscsid.conf configuration file, open-iscsi _always_ attempts to

Re: iscsid: Kernel reported iSCSI connection 8:0 error (1021 - ISCSI_ERR_SCSI_EH_SESSION_RST: Session was dropped as a result of SCSI error recovery) state (3)

2013-12-14 Thread Michael Christie
On Dec 8, 2013, at 8:39 PM, w00ste...@gmail.com wrote: I have a Synology DS1511+ NAS where I have 4 logical volumes shared via iscsi. 2 of these are OCFS2 partitions, 2 are truecrypt encrypted partitions. I have lately started seeing errors such as : iscsid: Kernel reported iSCSI

Re: iscsi login failure ubuntu 12.04

2014-02-03 Thread Michael Christie
On Jan 30, 2014, at 7:40 PM, ianil.ir...@gmail.com wrote: root@Blade15:~# iscsid -f -d 8 iscsid: sysfs_init: sysfs_path='/sys' iscsid: sysfs_attr_get_value: open '/module/scsi_transport_iscsi'/'version' iscsid: sysfs_attr_get_value: new uncached attribute

Re: ISCSI error in centos 6

2014-03-16 Thread Michael Christie
On Mar 16, 2014, at 4:20 AM, Muthu Kumaran muthu86@gmail.com wrote: Hi, I am trying to configure ISCSI storage in my vm ware, But when tried to login to the ISCSI target from the client it throws the following errors. [root@localhost ~]# iscsiadm --mode discoverydb --type

Re: [PATCH] fix login_timeout timer handling when retrying connect/login

2014-07-25 Thread Michael Christie
On Jul 24, 2014, at 4:46 PM, Eddie Wai eddie@broadcom.com wrote: On Thu, 2014-07-24 at 12:50 -0500, Mike Christie wrote: Hey Roi, Vikas and Eddie, The attached patch fixes the issue Roi reported where the login_timer was not deleted and so we end up with a infinite loop. Roi, could you

Re: Correlating TCP connections with iSCSI connections

2014-08-11 Thread Michael Christie
Hey, I made patches for this a while back. I am in the middle of finishing up some work release stuff then changing jobs. I should be able to get back to this next week. On Aug 6, 2014, at 4:20 PM, abhinav.srivast...@gmail.com wrote: Hi Mike, I am trying to extract the same information

Re: Any help or hint to compile open-iscsi-2.0-870.2 for kernel 2.6.18 ?

2014-08-22 Thread Michael Christie
What distro are you running and what version? Why are you using such a old kernel? Is this a RHEL 5 based distro? If so, it is best to use the tools/kernel modules that come with it. They are pretty up to date and stable. On Aug 20, 2014, at 10:44 PM, loulang...@163.com wrote: Any help or

Re: iscsi over RBD performance tips?

2014-08-22 Thread Michael Christie
Are you using linux for the initiator? If so, what is the throughput you get from just using this open-iscsi initiator connected to tgt with a ram disk? I just installed RBD here for work, so let me check it out. What io tool are using and if it is something like fio could you post the

Re: Best way to create multiple TCP flows on 10 Gbps link

2014-08-22 Thread Michael Christie
On Aug 22, 2014, at 12:07 PM, Redwood Hyd redwood...@gmail.com wrote: Hi All, I am trying to achieve10Gbps in my single initiator/single target env. (open-iscsi and IET) I exported 3 Ramdisks, via 3 different IP aliases to initator, did three iscsi logins , 3 mounts points and then 3

Re: Best way to create multiple TCP flows on 10 Gbps link

2014-08-26 Thread Michael Christie
On Aug 26, 2014, at 3:11 PM, Learner learner.st...@gmail.com wrote: Another related observation and some questions; I am using open iscsi on init with IET on trgt over a single 10gbps link There are three ip aliases on each side I have 3 ramdisks exported by IET to init I do iscsi

Re: Best way to create multiple TCP flows on 10 Gbps link

2014-08-26 Thread Michael Christie
On Aug 26, 2014, at 6:49 PM, Michael Christie micha...@cs.wisc.edu wrote: On Aug 26, 2014, at 3:11 PM, Learner learner.st...@gmail.com wrote: Another related observation and some questions; I am using open iscsi on init with IET on trgt over a single 10gbps link There are three ip

Re: [PATCHES] Fixup iBFT and IPv6, some cleanup

2014-11-14 Thread Michael Christie
On Nov 13, 2014, at 5:56 PM, The Lee-Man leeman.dun...@gmail.com wrote: On Tuesday, November 11, 2014 8:25:56 PM UTC-8, Mike Christie wrote: On 10/30/2014 08:16 PM, The Lee-Man wrote: 0002-Represent-DHCP-origin-as-an-integer-not-string.patch This just changes the origin attribute

Re: open-isns repository moving, under new stewardship

2014-11-21 Thread Michael Christie
Thanks for doing this! On Nov 21, 2014, at 6:52 PM, The Lee-Man leeman.dun...@gmail.com wrote: Hi All: Mike has generously been carrying the open-isns code under the utils directory in open-iscsi for a while now. As one of the main users of this code, Mike asked if I wanted to take

Re: [PATCH 00] iscsid compute bound when bouncing many targets, one LUN per target

2014-11-21 Thread Michael Christie
On Nov 18, 2014, at 3:35 PM, Lee Duncan leeman.dun...@gmail.com wrote: The following patch fixes a problem where the CPU becomes compute bound when rediscovering targets, when there are hundreds of sessions. When his occurs, most of the time is spent in the function

Re: Current Portal vs Persistent Portal Question

2014-11-28 Thread Michael Christie
On Nov 28, 2014, at 5:51 PM, The Lee-Man leeman.dun...@gmail.com wrote: On Wednesday, November 26, 2014 1:31:30 PM UTC-8, Mike Christie wrote: On 11/25/2014 06:58 PM, The Lee-Man wrote: Hi Mike: I am dealing with a problem in Equallogic, and it looks like the Current Portal and

Re: [PATCH 00] iscsid compute bound when bouncing many targets, one LUN per target

2014-11-28 Thread Michael Christie
On Nov 28, 2014, at 5:46 PM, The Lee-Man leeman.dun...@gmail.com wrote: On Wednesday, November 26, 2014 1:11:46 PM UTC-8, Mike Christie wrote: On 11/25/2014 05:15 PM, The Lee-Man wrote: On Tuesday, November 25, 2014 2:00:22 PM UTC-8, Mike Christie wrote: On 11/25/2014 12:49 PM,

Re: iSCSI request keep rejected by microsoft iSCSI target because of write_same check

2014-12-01 Thread Michael Christie
Hey Vaughan, This was the issue we worked with Microsoft on wasn’t it? You guys figured out it was fixed in their target in a recent release right? On Dec 1, 2014, at 3:01 AM, vaughan vaughan@oracle.com wrote: On 12/01/2014 03:25 PM, j...@deti74.ru wrote: I has some sproblem and only one

Re: Could not logout of all requested sessions when working with centos 7

2014-12-02 Thread Michael Christie
Thanks for reporting back. If this happens again, give us the /var/log/messages and the output of iscsiadm -m session -P 3 when the iscsiadm ….. —logout command is returning the errors you pasted below. On Nov 30, 2014, at 12:08 AM, Shay Katz shak...@gmail.com wrote: Hi, during the last

Re: [Lsf-pc] [LSF/MM TOPIC] iSCSI MQ adoption via MCS discussion

2015-01-09 Thread Michael Christie
On Jan 8, 2015, at 11:03 PM, Nicholas A. Bellinger n...@linux-iscsi.org wrote: On Thu, 2015-01-08 at 15:22 -0800, James Bottomley wrote: On Thu, 2015-01-08 at 14:57 -0800, Nicholas A. Bellinger wrote: On Thu, 2015-01-08 at 14:29 -0800, James Bottomley wrote: On Thu, 2015-01-08 at 14:16

Re: iscsi_tcp bound to network interface issues after iscsid: retry login for ISCSI_ERR_HOST_NOT_FOUND

2015-01-08 Thread Michael Christie
On Jan 6, 2015, at 6:40 PM, Chris Leech cle...@redhat.com wrote: Hi all, It looks to me that the changes in iscsid: retry login for ISCSI_ERR_HOST_NOT_FOUND have broken interface binding for iscsi_tcp (and iser, assuming interface bindin iser does not do binding. Is this a regression

Re: Reconnects and I/O errors with Synology iSCSI targets

2015-05-15 Thread Michael Christie
On May 7, 2015, at 7:06 AM, Ancoron Luciferis ancoron.lucife...@googlemail.com wrote: Hi, I currently have some trouble with LUNs exposed by Synology boxes. As of Linux kernel 3.19, the max_sectors_kb value always is 32767 for any LUN, which results into errors on the Synology target

Re: [PATCH 0/4] Assorted fixes

2015-06-02 Thread Michael Christie
Hey Christian, I was trying to email you about this patch set, but I keep getting bounce backs when sending mail to christ...@iwakd.de. Email me off list. Thanks. On May 28, 2015, at 11:33 AM, Christian Seiler christ...@iwakd.de wrote: Hi, I've been going through Debian's packaging of

Re: recovering from a ping timeout, gracefully

2015-06-22 Thread Michael Christie
On Jun 21, 2015, at 8:55 AM, Brian J. Murrell br...@interlinx.bc.ca wrote: So, clearly I have some kind of temporary/intermittent issues with my network, unfortunately. :-( Fortunately they do seem to be infrequently intermittent and most of the time things work. But every now and then I

Re: Setting firmware/offload engine parameter Large_Frames on QLogic HBAs

2015-08-06 Thread Michael Christie
On Aug 5, 2015, at 3:33 PM, Frank Fegert fra.nospam...@gmx.de wrote: achieved with the iscsiadm -m fw [...] or a similar command. You want the iscsiadm host flashnode mode, and I think the setting is the iface mtu one. I do not have a qlogic card handy, but I think the command would be

Re: [PATCH 0/2] Remove local open-isns, using system-installed version

2015-08-24 Thread Michael Christie
On Jul 14, 2015, at 4:01 PM, leeman.dun...@gmail.com wrote: From: Lee Duncan ldun...@suse.com This set of patches tells open-iscsi to use the system-resident open-isns files instead of the ones in utils/open-isns. This patch *requires* that you've installed open-isns (from

Re: [PATCH 1/1] iscsi: fix regression caused by session lock patch

2015-11-16 Thread Michael Christie
> On Nov 15, 2015, at 4:10 AM, Or Gerlitz wrote: > > On Fri, Nov 13, 2015 at 6:51 PM, Mike Christie wrote: >> On 11/13/2015 09:06 AM, Or Gerlitz wrote: The patch has caused multiple regressions, did not even compile when > sent to me, and

Re: Possible issue in commit 659743b02c41 ("libiscsi: Reduce locking contention in fast path")

2015-11-06 Thread Michael Christie
> On Nov 5, 2015, at 6:56 PM, Chris Leech wrote: > > On Thu, Nov 05, 2015 at 02:33:44PM -0200, Guilherme G. Piccoli wrote: >> Hello Shlomo and Or, >> >> I'm Guilherme Piccoli from LTC/IBM - firstly, sorry to bother you. >> >> >> We are running some tests with iSCSI and we

Re: Updated iscsi timeout and retry values in iscsi.conf file are not getting effective

2015-09-08 Thread Michael Christie
Sorry. I thought I replied to the original. Basically, iscsiadm is racey. For the operations you listed, the behavior is not defined. On Aug 23, 2015, at 11:53 PM, Manish Singh wrote: > Hi All, > > Can anyone reply on above queries?? It will be really helpful if

Re: Performance issues when logging into a large number of targets

2016-06-08 Thread Michael Christie
Wait to test with Chris's patches. If he does not reply I will dig them up from the list. His fixes should provide the best boost and I think he was saying there are some other patches that are needed. > On Jun 8, 2016, at 2:05 PM, Syed Mushtaq wrote: > > Thanks for

Re: Do you prefer pull requests or patches submitted?

2016-01-15 Thread Michael Christie
> On Jan 15, 2016, at 1:49 PM, The Lee-Man wrote: > > Hi Mike: > > I see you have taken some pull requests using the github issue/pull-request > mechanism. Do you prefer this over the mailing list? I know I kind of prefer > it, myself, from both directions, since it

Re: login times when scaling out targets (Re: ISID uniqueness)

2016-02-05 Thread Michael Christie
> On Feb 4, 2016, at 7:00 PM, Chris Leech wrote: > > > So increasing the ISID space gets this working, but the described setup > here (4 sessions x 256 targets) takes a _long_ time to connect to all > the targets. In a virtual setup I'm seeing up to 10 minutes, and with >

Re: login times when scaling out targets (Re: ISID uniqueness)

2016-02-10 Thread Michael Christie
> On Feb 9, 2016, at 8:53 PM, Chris Leech wrote: > > On Tue, Feb 09, 2016 at 03:24:04PM -0800, Chris Leech wrote: >> But there may be more straightforward gains to be had in cleaning up the >> sysfs code. Every attribute read ends up in >> sysfs_lookup_devpath_by_subsys_id

Re: ISID uniqueness

2016-01-31 Thread Michael Christie
> On Jan 29, 2016, at 4:50 PM, Chris Leech wrote: > > On Thu, Jan 28, 2016 at 06:11:28PM -0800, shiva krishna merla wrote: >> Thanks Mike, Yes, we have one LUN per target and testing with large >> number of LUN's. 100 - 1024. With this each LUN will have a volume >> level

Re: iscsiadm didn't discovery the LUNs when LUN0 is removed

2016-02-03 Thread Michael Christie
> On Feb 3, 2016, at 1:11 PM, RenShu Xiao wrote: > > Hi > > in the target server, I have 2 luns in one host and I removed LUN0 and using > iscsiadm log in fine but the disks won't be discovered. Hence can't be > mounted. > > The following listed the network trace.

Re: [PATCH] iscsi: Do Not set param when sock is NULL

2020-11-23 Thread Michael Christie
> On Nov 4, 2020, at 11:40 PM, Gulam Mohamed wrote: > > Description > = > 1. This Kernel panic could be due to a timing issue when there is a race > between the sync thread and the initiator was processing of a login response > from the target. The session re-open can be invoked

Re: [PATCH V2] scsi: iscsi_tcp: Fix use-after-free when do get_host_param

2021-03-21 Thread michael . christie
On 3/21/21 1:47 AM, Wu Bo wrote: > From: Wu Bo > > iscsid(cpu1): Logout of iscsi session, will do destroy session, > tcp_sw_host->session is not set to NULL before release the iscsi session. > in the iscsi_sw_tcp_session_destroy(). > > iscsadm(cpu2): Get host parameters access to

Re: [PATCH] iscsi_tcp: fix the NULL pointer dereference

2021-10-10 Thread michael . christie
On 10/10/21 2:19 AM, Li Feng wrote: > drivers/scsi/iscsi_tcp.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/drivers/scsi/iscsi_tcp.c b/drivers/scsi/iscsi_tcp.c > index 1bc37593c88f..2ec1405d272d 100644 > --- a/drivers/scsi/iscsi_tcp.c > +++ b/drivers/scsi/iscsi_tcp.c > @@ -724,6

Re: Question about iscsi session block

2022-02-15 Thread michael . christie
On 2/15/22 7:28 PM, Zhengyuan Liu wrote: > On Wed, Feb 16, 2022 at 12:31 AM Mike Christie > wrote: >> >> On 2/15/22 9:49 AM, Zhengyuan Liu wrote: >>> Hi, all >>> >>> We have an online server which uses multipath + iscsi to attach storage >>> from Storage Server. There are two NICs on the server

  1   2   >