Re: Root reconnection doesn't seem to work on Fedora 16

2011-12-01 Thread Mike Christie
On 12/01/2011 02:20 PM, Mike Christie wrote: Note that if the connection is lost for longer than node.session.timeo.replacement_timeout then you are basically out of luck. IO errors will get to the root fs and it will panic. For F16 you would want to set that to -1 instead of 999. To do

Re: iSCSI on Fedora 16

2011-12-01 Thread Mike Christie
On 12/01/2011 09:30 AM, Charles DeVoe wrote: This was a clean install. I went to F16 because F15 would not install on the Dell servers for some reason. Ok. Make sure that new initiator name is in your target's ACLs if that is needed. Send me a tcpdump or wireshark trace of the discovery to

Re: New iface parameters to iscsiuio

2011-12-01 Thread Mike Christie
On 12/01/2011 04:46 PM, Eddie Wai wrote: Hello Mike, I found that although the new iface additions of gateway/subnet/etc. are now present in the iface file in rhel6.2 inbox open-iscsi util, however, the particular parameters are not being passed to iscsiuio upon connection request. The

Re: iSCSI on Fedora 16

2011-12-01 Thread Mike Christie
On 12/01/2011 02:53 PM, Charles DeVoe wrote: I am now getting the target data [root@node1 ~]# iscsiadm -m discovery -t sendtargets -p 172.16.1.200:3260 172.16.1.200:3260,1 iqn.2001-05.com.equallogic: 0-8a0906-8eb96420a-18600244e00b-volume1 172.16.1.200:3260,1

Re: New iface parameters to iscsiuio

2011-12-01 Thread Mike Christie
On 12/01/2011 06:32 PM, Mike Christie wrote: On 12/01/2011 04:46 PM, Eddie Wai wrote: Hello Mike, I found that although the new iface additions of gateway/subnet/etc. are now present in the iface file in rhel6.2 inbox open-iscsi util, however, the particular parameters are not being passed

Re: New iface parameters to iscsiuio

2011-12-01 Thread Mike Christie
On 12/01/2011 08:57 PM, Eddie Wai wrote: On Thu, 2011-12-01 at 16:32 -0800, Mike Christie wrote: On 12/01/2011 04:46 PM, Eddie Wai wrote: Hello Mike, I found that although the new iface additions of gateway/subnet/etc. are now present in the iface file in rhel6.2 inbox open-iscsi util

Re: iSCSI on Fedora 16

2011-11-30 Thread Mike Christie
On 11/30/2011 11:25 AM, Charles DeVoe wrote: iscsiadm: InitiatorName=iqn.1994-05.com.redhat:5db816517ee7 Did you do a OS upgrade or clean install? Is that the correct initiator name you wanted to use? I think in the upgrade case we might be overwriting the old initiator name and using a new

Re: Root reconnection doesn't seem to work on Fedora 16

2011-11-30 Thread Mike Christie
On 11/30/2011 11:46 AM, Jeremy Sanders wrote: Hi - We have some working Fedora 14 diskless systems with root on iscsi. On upgrading to Fedora 16 the system seems to hang if the network connection to the target is lost and regained. Did you use the installer from fedora to setup iscsi root

Re: iscsitarget open-iscsi 'connection timed out' when trying to login

2011-11-30 Thread Mike Christie
On 11/30/2011 02:31 AM, Turbo Fredriksson wrote: On Tue, 29 Nov 2011 18:42:06 -0600, Mike Christie wrote: Could you send all of the iscsid log you have? http://bayour.com/misc/ietd.log.txt http://bayour.com/misc/iscsid.log.txt If you do not use ifaces does it work? No. Could you send

Re: iSCSI on Fedora 16

2011-11-29 Thread Mike Christie
On 11/29/2011 12:13 PM, Charles DeVoe wrote: I have used iscsi successfully on Feodora 14 to connect to the SAN device, I have used it in Fedora 15 VMs to connect to an open-filer device. I recently installed fedora 16 on a new node and when I run iscsiadm -m discover -t sendtargets -p

Re: iscsitarget open-iscsi 'connection timed out' when trying to login

2011-11-29 Thread Mike Christie
On 11/29/2011 04:34 AM, Turbo Fredriksson wrote: I'm trying to learn and setup iSCSI on my server at home, but I don't have much luck so far. I can run a discover (and almost anything else): - s n i p - celia:~# iscsiadm -m discovery -t isns [...] 192.168.69.8:43070,1

Re: ping timeout of 5 secs expired, recv timeout 5, last rx 4393885396, last ping 4393886646, now 4393887896

2011-11-27 Thread Mike Christie
On 11/27/2011 06:06 PM, Matt Lundstrom wrote: Hi Mike, Well, the log above was just a sample. The underlying 1011 error sometimes appears without a ping error, for example: Could you try the kernel I sent in the other mail:

Re: crc32 option detection?

2011-11-27 Thread Mike Christie
On 11/27/2011 05:00 PM, Michal Suchanek wrote: On 27 November 2011 22:14, Mike Christie micha...@cs.wisc.edu wrote: On 11/27/2011 02:28 PM, Michal Suchanek wrote: Hello, I configured my target with crc32 option and open-iscsi would not connect to it. More specifically, I tried iscsitarget

Re: crc32 option detection?

2011-11-27 Thread Mike Christie
On 11/27/2011 10:56 PM, Mike Christie wrote: On 11/27/2011 05:00 PM, Michal Suchanek wrote: On 27 November 2011 22:14, Mike Christie micha...@cs.wisc.edu wrote: On 11/27/2011 02:28 PM, Michal Suchanek wrote: Hello, I configured my target with crc32 option and open-iscsi would not connect

Re: Deconnection Problem with netapp

2011-11-23 Thread Mike Christie
map (uevent) Nov 21 10:32:36 bdd4a multipathd: dm-8: devmap already registered On Nov 18, 9:06 pm, Mike Christie micha...@cs.wisc.edu wrote: On 11/16/2011 09:58 AM, Amaury FRANCOIS wrote: Hi, I've configured iscsi on RHEL 5.7 (last kernel) with a netapp disk array and I'm seeing connection

Re: ping timeout of 5 secs expired, recv timeout 5, last rx 4393885396, last ping 4393886646, now 4393887896

2011-11-22 Thread Mike Christie
On 11/21/2011 08:48 PM, Matt wrote: Greetings, I have seen this error covered in other places in this group but none of the solutions I have found seem to be the issue I am facing. I get errors like the one below at random. As you can see, almost immediately the system says it is back

Re: Problem with multiple root-users (UID=0)

2011-11-18 Thread Mike Christie
On 11/07/2011 01:37 PM, Thomas Weichert wrote: Is there a chance to fix this issue just by checking if the user has sufficient rights, e.g. has uid=0, or is there any special reason for demanding a user named root? I have been checking with the security people at various distros and they

Re: Kernel Panic: Ubuntu Hardy

2011-11-10 Thread Mike Christie
On 11/10/2011 01:40 PM, Mark Luntzel wrote: Hi there - I'm experiencing issues, this seems to be the same or similar problem I posed about at http://comments.gmane.org/gmane.linux.iscsi.open-iscsi/5752 Linux 2.6.24.6 #1 SMP Wed Oct 13 14:58:24 PDT 2010 x86_64 GNU/Linux Also seeing

Re: Problem with multiple root-users (UID=0)

2011-11-09 Thread Mike Christie
On 11/07/2011 01:37 PM, Thomas Weichert wrote: Hi, in the last few days I encountered a problem on my SLES 11.1 Linux with the open-iscsi package in version 2.0-871 respectively 0.872. I investigated the problem and found out that in my system there are two root users with uid = 0 (sadly,

Re: Is there a bug tracking system?

2011-11-09 Thread Mike Christie
On 11/09/2011 01:16 PM, Vivek wrote: Hi, Is there any bug tracking system, where I can follow a bug. We don't have one. Recommendations for one? -- You received this message because you are subscribed to the Google Groups open-iscsi group. To post to this group, send email to

Re: Using multiple initiator interfaces

2011-11-06 Thread Mike Christie
On 11/07/2011 12:24 AM, Székelyi Szabolcs wrote: Hello, I'd like to exploit more than one Ethernet interface on the initiator side for improved performance and availablity. Actually what I want to do is to log in from all initiator interfaces to all target interfaces creating a full mesh

Re: iser problem with open-iscsi 2.0.871.3-2squeeze

2011-11-04 Thread Mike Christie
On 11/04/2011 04:27 AM, Sebastian Riemer wrote: On 03/11/11 17:58, Mike Christie wrote: Do you mean iscsi_tcp reconnects before the replacement_timeout? If so iser should be doing this too. It is a bug if it is not coming back until after replcement_timeout seconds if the problem has been

Re: iser problem with open-iscsi 2.0.871.3-2squeeze

2011-11-03 Thread Mike Christie
On 11/03/2011 08:23 AM, Sebastian Riemer wrote: Hi all, we've found out that open-iscsi (also with newest userspace source from Git, 3.0.4 kernel) immediately trys to disconnect the iSER session upon connection loss. Why is that so? This is blocked if the device is in use. If there is a

Re: Antw: open-iscsi /w suspend to ram / resume.

2011-10-31 Thread Mike Christie
On 10/30/2011 08:01 AM, Vincent Pelletier wrote: On Dec 7 2010, 11:12 pm, Mike Christie micha...@cs.wisc.edu wrote: It could, but you should be ok. If the notification that the connection is dead comes after IO is sent then we would try to send IO to the network layer, but the iscsi layer

Re: Discovery of iSCSI communication on a switch.

2011-10-31 Thread Mike Christie
On 10/31/2011 05:10 AM, Sita Allamudi wrote: Hi, I develop s/w for a switch. I would like to discover iSCSI sessions that pass through my switch. For this I feel that it is not enough to snoop on just TCP-SYN messages. According to me, TCP-SYN messages are sent during TCP- Session

Re: how default interface works

2011-10-31 Thread Mike Christie
On 10/31/2011 08:15 AM, vipul vaid wrote: hi, I want to know ,when we didn't login using -I iface ,then how default interface figure out which interface to use to connect. please explain. It depends. It will log into all sessions that are using the default iface for that portal. Or if you

Re: Antw: open-iscsi /w suspend to ram / resume.

2011-10-31 Thread Mike Christie
the problems on it, I need a motivation to switch this box to nouveau ;) . On Mon, Oct 31, 2011 at 7:07 PM, Mike Christie micha...@cs.wisc.edu wrote: Are these coming from accesses to the iscsi disk that is root? If so when the replacement timeout fires, do you get IO errors for the root

Re: iser problem with open-iscsi 2.0.871.3-2squeeze

2011-10-26 Thread Mike Christie
On 10/26/2011 06:48 AM, Sebastian Riemer wrote: Hi all, we have OpenIndiana storage servers as iSER targets and Debian Squeeze with open-iscsi 2.0.871.3-2squeeze as initiators. The Debian systems run lots of QEMU/KVM VMs on the iSER SCSI devices. What kind of connection error is shown

Re: [PATCH] make if.ipaddress optional in iface configuration files for offload iscsi

2011-10-25 Thread Mike Christie
On 10/25/2011 01:58 PM, Anish Bhatt wrote: Currently, the iface.ipaddress field is required in iface files for offload iscsi. This is not generated by `iscsiadm –m iface` , requiring manual editing of the files. However, some transports (like Chelsio) can work without needing the ipaddress to

Re: [PATCH] make if.ipaddress optional in iface configuration files for offload iscsi

2011-10-25 Thread Mike Christie
On 10/25/2011 06:20 PM, Anish Bhatt wrote: Update patch attached. Left .set_host_ip = 0 untouched though. Added some comments. Why is that? If you are going to change it you should clean it all up. -- You received this message because you are subscribed to the Google Groups open-iscsi

Re: TODO list- userspace2.

2011-10-25 Thread Mike Christie
On 10/11/2011 10:59 AM, rahul gupta wrote: Hi Mike/all, I am working on a part of user space 1 of TODO list, which precisely says- No comments still. I guess logging is not fun :) the functions that were run (FUNCTION) the iSCSI packets that were sent/receieved (PDUS) print out

Re: question on the DCB support

2011-10-21 Thread Mike Christie
On 10/21/2011 04:12 PM, Mike Christie wrote: On 10/21/2011 03:11 PM, Or Gerlitz wrote: On Thu, Oct 20, 2011 at 2:23 AM, Mike Christie micha...@cs.wisc.edu wrote: Yeah, Anish is right there is no iscsiadm setup for DCB. It is all done in lldp. I should probably add a line to the readme

Re: question on the DCB support

2011-10-19 Thread Mike Christie
in another mail. -Anish One socket to bind them all. -Original Message- From: open-iscsi@googlegroups.com [mailto:open-iscsi@googlegroups.com] On Behalf Of Or Gerlitz Sent: Monday, October 10, 2011 7:27 AM To: open-iscsi@googlegroups.com Cc: Mike Christie Subject: question

Re: open-iscsi problem

2011-10-19 Thread Mike Christie
On 10/19/2011 09:15 AM, Edward Flores, all-connect GmbH wrote: hallo dear Programmers, im trying to use open-iscsi, but it does not work, and i dont know what is the problem. im using debian. n i get login successful but on sg_map -i i get this: /dev/sg0 /dev/sda VMwareVirtual

Re: b2iscsi and LeftHand P4500

2011-10-11 Thread Mike Christie
On 09/22/2011 12:02 AM, coec wrote: Hi all I'm using RHEL 6.1 (fully patched, 2.6.32-131.12.1.el6.x86_64 with iscsi-initiator-utils-6.2.0.872-21.el6.x86_64) on HP BL460c G7 blades talking to a P4500 14.4TB Virt SAN (two clustered P4500 boxes). As the blade has two FlexHBA (iSCSI)

Re: b2iscsi and LeftHand P4500

2011-10-11 Thread Mike Christie
On 10/11/2011 08:24 PM, Colin Coe wrote: Do you actually have a LUN with that value 4194304? Maybe the LeftHand target needs some blacklist entry in the scsi mid layer to scan for devices properly. No, this LUN was the first one created. I don't know where the 4194304 came from.

Re: [PATCH] Do not run configure for open-isns on every build

2011-10-10 Thread Mike Christie
On 10/07/2011 09:09 AM, Hannes Reinecke wrote: We only need to run configure in open-isns if either the configure script or Makefile.in has changed. Otherwise it's perfectly okay just to call a plain 'make' here. Signed-off-by: Hannes Reinecke h...@suse.de diff --git a/Makefile

Re: [PATCH] iscsid: Fixed iscsid restart issue for offload iSCSI login

2011-10-03 Thread Mike Christie
On 10/03/2011 12:42 PM, vikas.chaudh...@qlogic.com wrote: From: Manish Rangankar manish.rangan...@qlogic.com For offload iSCSI login, if there are existing active sessions and iscsid is restarted then iscsid is unable to rediscover all active sessions. On LLD side fixed sending response on

Re: [PATCH 1/1] added code to display verbose messages on session connection errors

2011-10-03 Thread Mike Christie
aef7832ce520634d1f68564fc0e1fd45df4c8c30 Mon Sep 17 00:00:00 2001 From: Mike Christie mchri...@redhat.com Date: Mon, 3 Oct 2011 20:11:49 -0500 Subject: [PATCH] iscsid: print more descriptive error value for iscsi kernel errors --- usr/Makefile |2 +- usr/initiator.c |6 +++- usr

Re: kernel oops error

2011-09-26 Thread Mike Christie
On 09/26/2011 12:28 AM, Vivek S wrote: On Mon, Sep 26, 2011 at 5:51 AM, Mike Christie micha...@cs.wisc.edu wrote: On 09/25/2011 01:57 AM, Vivek S wrote: It's not working because the locking changed in that upstream kernel. Hmm, okay. I will go back to a kernel that is supported

Re: kernel oops error

2011-09-25 Thread Mike Christie
On 09/25/2011 01:57 AM, Vivek S wrote: It's not working because the locking changed in that upstream kernel. Hmm, okay. I will go back to a kernel that is supported by upstream open-iscsi. I think you misunderstood me. With newer kernels you should just use the kernel modules in the

Re: how to specify port no in iet.

2011-09-25 Thread Mike Christie
On 09/25/2011 12:34 PM, rahul gupta wrote: Hi, Does any one now how to specify port no in iet target., any clue? if I discover iet target from open-iscsi it always get discovered on 3260. Posting to iscsitarget-devel-requ...@lists.sourceforge.net for IET questions is best. -- You

Re: Newbie trying to troubleshoot iSCSI

2011-09-25 Thread Mike Christie
On 09/24/2011 03:58 PM, Mikkel Hansen wrote: Hi everyone, I'll admit that I'm a compltely newbie to iSCSI. I have a CentOS Linux server that I want to use as an iSCSI target for my ESXi server to back up its virtual machines. I have managed to compile and install the iSCSI target software

Re: Newbie trying to troubleshoot iSCSI

2011-09-25 Thread Mike Christie
On 09/25/2011 07:26 PM, Mike Christie wrote: I don't know where to look for logging from the iSCSI deamon Oh yeah, for IET and open-iscsi the default place is /var/log/messages for logging. -- You received this message because you are subscribed to the Google Groups open-iscsi group. To post

Re: kernel oops error

2011-09-24 Thread Mike Christie
On 09/24/2011 02:40 PM, Vivek S wrote: Hi, I am on Dell laptop running Ubuntu 11.04, kernel 2.6.38.11. I modified the kernel Makefile to include the line linux_2_6_38: You should just use the kernel modules that come with that kernel. $(unpatch_code) to help me build open-iscsi. After

Re: iscsi session recovery work

2011-09-23 Thread Mike Christie
On 09/23/2011 02:43 AM, Vivek S wrote: Hi, iscsi session recovery work is queued by function __iscsi_block_session which is in turn called by iscsi_block_session. This is the function call sequence i figured out (using sw iscsi over tcp/ip) iscsi_if_recv_msg (ISCSI_UEVENT_STOP_CONN)

Re: multiple LUNs

2011-09-23 Thread Mike Christie
On 09/23/2011 05:25 PM, Anish Bhatt wrote: Assuming all your LUNs are under the same target, you can check what LUNs are being served by `iscsiadm -m session -P 3` after you log in. Maybe 4 is not the correct LUN number (the first LUN being LUN 0) ? -Anish Yeah, if all the luns are under the

Re: Ubuntu troubleshooting

2011-09-23 Thread Mike Christie
On 09/23/2011 01:03 PM, pferrill wrote: Can someone point me to a troubleshooting guide for Ubuntu 11.04? I have the target setup on Ubuntu 11.04 server and it seems to be up and running. root@ubuntusrv1104:~# lsof | grep ietd ietd 1453 root cwd DIR 251,0

Re: dramatic performance drop after Linux 2.6.38 ( tested 2.6.39 and 3.0.1 )

2011-09-21 Thread Mike Christie
On 09/21/2011 10:33 AM, Heinrich Langos wrote: Since dd / sg_dd performance is already pretty bad I don't think we need to get into testing fs performance on top of this, right? Yeah. I would not waste time on it. -- You received this message because you are subscribed to the Google Groups

[ANNOUNCE] open-iscsi git tree has moved

2011-09-19 Thread Mike Christie
kernel.org is down, so I have moved the open-iscsi git tree to github. You can get the tree by doing: git clone g...@github.com:mikechristie/open-iscsi.git A online viewer is here: http://github.com/mikechristie/open-iscsi/commits/master -- You received this message because you are subscribed

Re: [ANNOUNCE] open-iscsi git tree has moved

2011-09-19 Thread Mike Christie
On 09/19/2011 05:33 PM, Mike Christie wrote: kernel.org is down, so I have moved the open-iscsi git tree to github. You can get the tree by doing: git clone g...@github.com:mikechristie/open-iscsi.git Actually you can just use: git clone git://github.com/mikechristie/open-iscsi.git

Re: dramatic performance drop after Linux 2.6.38 ( tested 2.6.39 and 3.0.1 )

2011-09-16 Thread Mike Christie
On 09/16/2011 09:01 AM, Heinrich Langos wrote: What it boils down to is no significant effect of iptables ! Ok. Different issues maybe then. Let me do some more digging. I have to kill some other regression that I have been working on for work (also seen in that Re: open-iscsi issue thread)

Re: dramatic performance drop after Linux 2.6.38 ( tested 2.6.39 and 3.0.1 )

2011-09-15 Thread Mike Christie
On 09/15/2011 05:26 AM, Heinrich Langos wrote: Hi Mike, On Thu, Sep 08, 2011 at 09:25:29PM -0500, Mike Christie wrote: On 09/08/2011 09:23 PM, Mike Christie wrote: On 09/08/2011 04:36 PM, Mike Christie wrote: On 09/08/2011 02:06 AM, Heinrich Langos wrote: This is raw dd throughput

Re: open-iscsi issue

2011-09-14 Thread Mike Christie
Ahmed ahmed.far...@gmail.comwrote: Thanks Mike, could you please let me know when it is fixed and new package released On Fri, Sep 9, 2011 at 6:15 AM, Mike Christie micha...@cs.wisc.eduwrote: On 09/06/2011 10:38 PM, Farhan Ahmed wrote: Thanks Mike, I hope it will fix soon, when can we expect

Re: open-iscsi issue

2011-09-08 Thread Mike Christie
On 09/06/2011 10:38 PM, Farhan Ahmed wrote: Thanks Mike, I hope it will fix soon, when can we expect the new stable release? Found the problem. The new iscsi tools are sending the netlink request in a way the iscsi class does not like. I should have a fix around Tues (I am leaving on vacation

Re: dramatic performance drop after Linux 2.6.38 ( tested 2.6.39 and 3.0.1 )

2011-09-08 Thread Mike Christie
On 09/08/2011 04:36 PM, Mike Christie wrote: On 09/08/2011 02:06 AM, Heinrich Langos wrote: Hi htere, I am using the open-iscsi initiator to access a storage back end for my Xen based virtualization infrastructure. Since The current 3.0.x Linux kernel finally has everything that I need

Re: Function to discover targets

2011-09-07 Thread Mike Christie
On 09/05/2011 01:29 PM, Vivek S wrote: Hi, Who fills up the iscsi_transport structure ? I am having difficulty in finding the function pointed to by tgt_dscvr function pointer in iscsi_transport structure. If you are doing cleanup or fixing a bug you can probably ignore that specific

Re: multiple portals for a single target

2011-09-07 Thread Mike Christie
On 09/06/2011 01:22 PM, Vivek S wrote: Hi, When multiple portals are configured for a single target and we login to the target, will there be directories created for each portal under /etc/iscsi/send_targets/ ? When you do discovery and we find multitple portals there are multiple dirs

Re: open-iscsi issue

2011-09-06 Thread Mike Christie
On 09/06/2011 07:41 PM, Farhan Ahmed wrote: Hi Mike, I tried to login target/portal one by one and it hanged when I was logging to number 16 [root@nfs01 ~]# iscsiadm -m node -T iqn.2001-05.com.equallogic:0-8a0906-7531ed402-a680012bfde4e55e-nfs01-users -I eth6 -p 192.168.42.190 -l

Re: Antw: Re: [patch] iscsiadm cli help update

2011-09-03 Thread Mike Christie
On 09/03/2011 04:02 AM, Vivek S wrote: Any update ? Looks ok. Thanks for all your work on it. And thanks to Ulrich for the review. Just one stye comment though. The coding style we follow has us put the leading { on the first line for structs, for, and if/else blocks. So +struct option_help

Re: [PATCH 1/1] added code to display verbose messages on session connection errors

2011-09-03 Thread Mike Christie
On 08/31/2011 11:57 AM, Aastha Mehta wrote: Hello, Attached is the patch for the first kernel TODO item in the TODO list circulated earlier. I could not send the patch through git send-email, so have attached it here. Thanks, Aastha. - You do not need the changes to

Re: Full duplex

2011-09-02 Thread Mike Christie
On 09/01/2011 10:04 PM, Vladislav Bolkhovitin wrote: Hi, I've done some tests and looks like open-iscsi doesn't support full duplex speed on bidirectional data transfers from a single drive. My test is simple: 2 dd's doing big transfers in parallel over 1 GbE link from a ramdisk or

Re: task set full and /or busy?

2011-09-02 Thread Mike Christie
kernel. The bug must be in my code then! I'll look deeper at the wireshark traces. thanks iscsi devel man. On Thu, Aug 25, 2011 at 4:39 PM, Mike Christie micha...@cs.wisc.edu mailto:micha...@cs.wisc.edu wrote: On 08/25/2011 05:23 PM, iscsi

Re: open-iscsi 2.0.872 + 2.6.38 kernel build conflict

2011-08-29 Thread Mike Christie
On 08/27/2011 09:54 AM, lev...@avia.kfkipark.hu wrote: Is there a version of 2.0.872 building on a 2.6.38 kernel? I need it bacuse I need to boot my 2.6.38 system (ubuntu 11.04 32 bit) with root on iSCSI. The 2.0.871 iscsid does not recconect the root device once started and I read on the net

Re: task set full and /or busy?

2011-08-25 Thread Mike Christie
On 08/25/2011 10:28 AM, iscsi developer man wrote: Hey everyone, I am writing an iscsi target, and I am working on some experimental features for dealing with rebuilds. Right now, I am considering sending back to the initiator a TASK_SET_FULL SCSI Status, and/or a BUSY SCSI Status, in

Re: task set full and /or busy?

2011-08-25 Thread Mike Christie
On 08/25/2011 05:23 PM, iscsi developer man wrote: Thanks Mike, So what happens if we return the task set full or the busy status forever? Does the host get an io error at a certain timeout, does the host silently return back to the application that the operation has completed successfully,

Re: [Issue] Many Reinstated messages

2011-08-22 Thread Mike Christie
On 08/19/2011 04:29 AM, BriK wrote: Hi there ! I got a question regarding thoses messages on a multipathed iscsi initiator (using an IET target) : Aug 19 11:20:55 s_local@mta1 multipathd: 8:48: reinstated Aug 19 11:21:00 s_local@mta1 multipathd: 8:16: reinstated Aug 19 11:21:00

Re: Connections dropped on noop when logged in with more than one initiator

2011-08-22 Thread Mike Christie
On 08/22/2011 09:38 AM, Boes wrote: Hi, I have a weird issue with my iscsi setup that I can't figure out.. I have the feeling this has something to do with the networking, but i can't put my finger on it. Any help would be much appreciated. My setup is as follows: - 2 servers, both with a

Re: Connections dropped on noop when logged in with more than one initiator

2011-08-22 Thread Mike Christie
On 08/22/2011 09:38 AM, Boes wrote: Discovery works perfectly fine on both machines and when I login either one of the two on the target, everything is fine as well. However, as soon as I login the second machine, i start getting Kernel reported iSCSI connection 1:0 error (1011) state (3) on

Re: [PATCH] USERSPACE: usr/strings.c: check NULL pointer first and add limit check in str_remove_initial

2011-08-18 Thread Mike Christie
heck NULL pointer first before reference its member, and check the limit on the data buffer in function str_remove_initial. Signed-off-by: Wang Sheng-Hui shh...@gmail.com --- usr/strings.c | 13 + 1 files changed, 9 insertions(+), 4 deletions(-) diff --git a/usr/strings.c

Re: How can I contribute to open-iscsi?

2011-08-17 Thread Mike Christie
On 08/17/2011 05:23 AM, Ryan Wang wrote: E.g who can I submit patches to? Post them to this list. They will get reviewed and when the review is done, I will merge it to the open-iscsi git tree or pass along to the upstream kernel. -- You received this message because you are subscribed to

Re: [PATCH] USERSPACE: usr/strings.c: check NULL pointer first and add limit check in str_remove_initial

2011-08-17 Thread Mike Christie
Did you actually hit this or just find it by searching the code? On 08/15/2011 07:37 PM, Wang Sheng-Hui wrote: diff --git a/usr/strings.c b/usr/strings.c index ee6a51c..6432c2c 100644 --- a/usr/strings.c +++ b/usr/strings.c @@ -97,11 +97,16 @@ int str_enlarge_data(struct str_buffer *s, int

Re: [PATCH] usr/config.h: fix comment for struct iscsi_session_timeout_config

2011-08-17 Thread Mike Christie
On 08/16/2011 12:55 AM, Wang Sheng-Hui wrote: struct iscsi_session_timeout_config is used for per-session timeouts, and per-connection timeouts should go to struct struct iscsi_connection_timeout_config. Signed-off-by: Wang Sheng-Hui shh...@gmail.com --- usr/config.h |2 +- 1 files

Re: [PATCH] open-iscsi-fix-iSCSI-actor-list-corruption

2011-08-17 Thread Mike Christie
On 08/17/2011 07:06 AM, s...@i3.noreply.com wrote: Index: open-iscsi-2.0-871/usr/initiator.c === --- open-iscsi-2.0-871.orig/usr/initiator.c +++ open-iscsi-2.0-871/usr/initiator.c @@ -592,6 +592,7 @@ static void

Re: [PATCH] open-iscsi-dont-call-configure.patch

2011-08-17 Thread Mike Christie
On 08/17/2011 09:14 AM, Foo Bar wrote: Hi List, the configure is not needed. --- open-iscsi-2.0-872.orig/Makefile +++ open-iscsi-2.0-872/Makefile @@ -27,7 +27,7 @@ IFACEFILES = etc/iface.example all: user kernel user: ; - cd utils/open-isns; ./configure; $(MAKE) + cd

Re: [PATCH] open-iscsi-dont-call-configure.patch

2011-08-17 Thread Mike Christie
On 08/17/2011 05:39 PM, Mike Christie wrote: On 08/17/2011 09:14 AM, Foo Bar wrote: Hi List, the configure is not needed. --- open-iscsi-2.0-872.orig/Makefile +++ open-iscsi-2.0-872/Makefile @@ -27,7 +27,7 @@ IFACEFILES = etc/iface.example all: user kernel user: ; - cd utils

Re: [PATCH] open-iscsi-ldflags.patch

2011-08-17 Thread Mike Christie
On 08/17/2011 10:16 AM, Foo Bar wrote: Hi, attached you will find a patch for the Makefile to respect LDFLAGS. It would be nice to see it in the next release, thanks! diff --git a/usr/Makefile b/usr/Makefile index 3ee0cb4..5e3128a 100644 --- a/usr/Makefile +++ b/usr/Makefile @@ -30,7

Re: open-iscsi issue

2011-08-16 Thread Mike Christie
On 08/15/2011 05:28 PM, Farhan Ahmed wrote: Hi Mike, You mentioned new version is coming on 15th of this month. But it is not released yet. When do you have plan to release? You can grab my test version here if you want the rpm:

Re: iSCSI and LVM Volume Groups

2011-08-15 Thread Mike Christie
On 08/12/2011 11:26 AM, Andrei Bănaru wrote: Hello, To work with KVM on RHEL6 I'm thinking about exporting a LVM Volume Group directly as an iSCSI target LUN. The idea is to export it and then on each server which hosts virtual machines create logical volumes for each virtual machine. I

Re: Antw: Re: [patch] iscsiadm cli help update

2011-08-11 Thread Mike Christie
-Dl, ..., NULL }; const char **txt; for (txt = help_text; *txt; ++txt) print_str(*txt); // new implementation! Regards, Ulrich I did not paste the patch contents as it was pretty long. On Tue, Aug 9, 2011 at 8:24 AM, Mike Christie micha...@cs.wisc.edu wrote: On 07

Re: open-iscsi 2.0-872

2011-08-09 Thread Mike Christie
On 08/09/2011 07:47 AM, William Dauchy wrote: Hello, On http://www.open-iscsi.org/ we can still read The current semi- stable release: open-iscsi-2.0-871.tar.gz. I was wondering why the 2.0-872 version (from git repository) is not available on http://www.open-iscsi.org/. We were not able

Re: Login to iSCSI volumes fails during boot

2011-08-08 Thread Mike Christie
On 08/05/2011 04:52 AM, Molin Olof wrote: Hi I have a problem to boot my servers after adding more volumes to my storage group. Today we have 30 volumes in total in the group. First 15 is used for a Oracle RAC cluster and the other for a second Oracle RAC cluster. Servers in first

Re: TODO list- userspace2.

2011-08-08 Thread Mike Christie
On 08/03/2011 12:24 PM, rahul gupta wrote: For integers, like timeout:- while fetching from sysfs_get_str(), I am setting timeouts to -1 for indicating error and also in qla card's case where chap is not supported in /sys, and then while printing, checking same value by taking its complement.

Re: [patch] iscsiadm cli help update

2011-08-08 Thread Mike Christie
On 07/22/2011 12:09 PM, Vivek S wrote: Changed the way iscsiadm displays usage help about its commands. Rather than simply displaying each possible mode along with its options on a single line, the user can now ask help for each mode separately which describes the various options and also

citrix iscsi problem

2011-08-04 Thread Mike Christie
Hi list, Could the person that posted about a citrix iscsi problem please email me offlist. I accidentally marked the mail as spam, so the mail did not make it to the list. -- You received this message because you are subscribed to the Google Groups open-iscsi group. To post to this group,

Re: iSCSI Session Change for Storage Live Migration

2011-08-04 Thread Mike Christie
On 08/02/2011 06:19 AM, Sebastian Riemer wrote: Hi, I want to live migrate the iSCSI storage of QEMU/KVM virtual machines to another portal when getting out of storage capacity. The VMs are running on a diskless Linux server (Open-iSCSI initiator). When migration starts on the storage

Re: [PATCH] Replace iscsi_get_next_target_id with IDA

2011-08-03 Thread Mike Christie
On 08/02/2011 09:23 PM, John Soni Jose wrote: Replaced the iscsi_get_next_target_id with IDA to make target-id allocation efficient for iscsi offload drivers This patch should be applied after Jonathen Cameron Patch ida : simplified functions for id allocation Signed-off-by: John Soni

Re: [patch] iscsiadm cli help update

2011-08-03 Thread Mike Christie
Hey Vivek, Sorry for not commenting sooner. I thought I did. First, here is some useful git commands to make and send patches. The patch that made it to the list got its formatting mangled by your mailer. To make a patch for sending to the list that is already merged in your copy of the tree

Re: open-iscsi issue

2011-08-01 Thread Mike Christie
at 1:52 PM, Mike Christie micha...@cs.wisc.edu mailto:micha...@cs.wisc.edu wrote: On 07/29/2011 01:36 AM, Farhan Ahmed wrote: I ran three commands and their tpcdump output is attached 1) iscsiadm -m discovery -t st -p 192.168.42.190 -I eth3 -d 8 2) iscsiadm -m

Re: [PATCH 1/7] Fix dcb_app.c compile error with old kernels

2011-08-01 Thread Mike Christie
Merged all these patches. They should show up on the kernel.org git tree in a couple of hours. On 07/20/2011 08:06 AM, Jim Ramsay wrote: Linux kernels 2.6.28 and earlier do not have RTM_GETDCB or RTM_SETDCB defined in their rtnetlink.h. Defining them in dcb_app.c should be safe since they

Re: iscsi_sysfs_read_iface

2011-08-01 Thread Mike Christie
On 07/26/2011 01:38 AM, Hannes Reinecke wrote: diff --git a/usr/iscsi_sysfs.c b/usr/iscsi_sysfs.c index e82fe80..145816d 100644 --- a/usr/iscsi_sysfs.c +++ b/usr/iscsi_sysfs.c @@ -489,7 +489,7 @@ static int iscsi_sysfs_read_iface(struct iface_rec *iface, int host_no, if (ret) {

Re: open-iscsi issue

2011-07-29 Thread Mike Christie
On 07/28/2011 06:49 PM, Farhan Ahmed wrote: Thanks Mike for your help. Here is the attached debug without following patch. I will send another debug after the patch installed I changed the iface file to remove the mac address now it looks like [root@nfs02 ~]# more /etc/iscsi/ifaces/eth3 #

Re: open-iscsi issue

2011-07-29 Thread Mike Christie
On 07/29/2011 01:14 AM, Mike Christie wrote: eth3 is just ignored here and we try to use all interfaces. You have to pass in the iface with -I iscsiadm -m discovery -t st -p 192.168.42.190 -I eth3 -d 8 Ignore this. I see you figured it out in the other mail. -- You received

Re: open-iscsi issue

2011-07-29 Thread Mike Christie
On 07/28/2011 07:07 PM, Farhan Ahmed wrote: Hi Mike, I applied the patch and here is the debug of all the commands. Seems like it all worked there, right? -- You received this message because you are subscribed to the Google Groups open-iscsi group. To post to this group, send email to

Re: open-iscsi issue

2011-07-29 Thread Mike Christie
On 07/29/2011 01:19 AM, Farhan Ahmed wrote: I wish it could work well but not , still iscsiadm cant login to initiator and it is still throwing connection time out Could you take a tcpdump/wireshark trace? Do not worry about discovery. Just do the normal session login. I see us bind ok. I

Re: open-iscsi issue

2011-07-28 Thread Mike Christie
On 07/27/2011 06:25 PM, Farhan Ahmed wrote: Thanks Mike, Yes I have set right kernel values of rp_filter, please find the attached file which includes debug output,tcpdump and command output. Discovery works fine for eth3 but iscsiadm cant login though. I can see the packets are coming in/out

Re: open-iscsi issue

2011-07-28 Thread Mike Christie
On 07/27/2011 06:25 PM, Farhan Ahmed wrote: Thanks Mike, Yes I have set right kernel values of rp_filter, please find the attached file which includes debug output,tcpdump and command output. Discovery works fine for eth3 but iscsiadm cant login though. I can see the packets are coming in/out

Re: open-iscsi issue

2011-07-28 Thread Mike Christie
On 07/28/2011 05:48 PM, Farhan Ahmed wrote: Here is the output Hi Mike, Here is the output [root@nfs02 ~]# iscsiadm -m node -P 1 Target: iqn.2001-05.com.equallogic:0-8a0906-f0a1ed402-1f40012bba54e28b-nfs02-bond Portal: 192.168.42.190:3260,1 Iface Name: eth3

Re: TODO list- userspace2.

2011-07-28 Thread Mike Christie
On 07/26/2011 01:43 PM, rahul gupta wrote: Hi Mike, Hey, I have taken care of points you mentioned in last mail. Following is git diff with my comments (for patch without comments please refer attachment):- Note1: I am not sure how much CHAP length user can use is needed so I kept

Re: open-iscsi issue

2011-07-28 Thread Mike Christie
you pass your discovery address 192.168.whatever.it.was? Farhan On Fri, Jul 29, 2011 at 8:48 AM, Mike Christie micha...@cs.wisc.edu wrote: On 07/27/2011 06:25 PM, Farhan Ahmed wrote: Thanks Mike, Yes I have set right kernel values of rp_filter, please find the attached file which includes

<    3   4   5   6   7   8   9   10   11   12   >