Re: How can I list logged in nodes?

2009-01-09 Thread chris1.nore...@googlemail.com
On Jan 8, 6:39 pm, Konrad Rzeszutek kon...@virtualiron.com wrote: On Thu, Jan 08, 2009 at 10:00:31AM -0800, chris1.nore...@googlemail.com wrote: Hi, is there a way using iscsiadm to list only nodes which are currently logged in? I find that running iscsiadm -m node always lists discovered

Stopping iscsiadm from automatically reconnecting

2009-01-09 Thread chris1.nore...@googlemail.com
This may be a Fedora specific question, I'm not sure (Fedora 9 in my case)... I connect to an iSCSI node as follows: # /sbin/iscsiadm -m node --targetname iqn. 1997-10.com.snapserver:snap727166:iscsi0 --portal 192.168.1.100:3260 -- login Then I can see that I am connected: # /sbin/iscsiadm -m

Re: connection, host resets, I/O errors eventually (DRBD, but not only)

2009-01-09 Thread Tomasz Chmielewski
Mike Christie schrieb: The scsi layer sets a timeout on each command. If it does not execute in X seconds, it will run the iscsi eh. So you can increase the scsi command time: To modify the udev rule open /etc/udev/rules.d/50-udev.rules, and find the following lines: ACTION==add,

Re: connection, host resets, I/O errors eventually (DRBD, but not only)

2009-01-09 Thread Bart Van Assche
On Thu, Jan 8, 2009 at 12:44 PM, Tomasz Chmielewski man...@wpkg.org wrote: Anyone using iSCSI over DRBD? And a slow internet link perhaps? How reliable is the link you are using -- which percentage of packets is lost ? You can test this e.g. with the ping command. The following command will

Re: connection, host resets, I/O errors eventually (DRBD, but not only)

2009-01-09 Thread Bart Van Assche
On Fri, Jan 9, 2009 at 3:22 PM, Tomasz Chmielewski man...@wpkg.org wrote: Bart Van Assche schrieb: # ping -q -i 0.01 -c1000 -s160 ${remote_ip} I get about 1% losses. IMHO running iSCSI over a slow link should work, but a packet loss of 1% is troublesome. On a local network the packet loss

Re: connection, host resets, I/O errors eventually (DRBD, but not only)

2009-01-09 Thread Tomasz Chmielewski
Bart Van Assche schrieb: On Fri, Jan 9, 2009 at 3:22 PM, Tomasz Chmielewski man...@wpkg.org wrote: Bart Van Assche schrieb: # ping -q -i 0.01 -c1000 -s160 ${remote_ip} I get about 1% losses. IMHO running iSCSI over a slow link should work, but a packet loss of 1% is troublesome. On a

[Open/iSCSI] Memory leak in repetitive --login/--logout with v2.0-870.1

2009-01-09 Thread Nicholas A. Bellinger
Greetings Mike, Hannes and Co, During some recent testing using the Open/iSCSI Initiator v2.0-870.1, against the LIO-Target v3.0 tree, I noticed that while running the following script: while [ 1 ]; do iscsiadm -m node -T $TARGETNAME -p $PORTAL --login iscsiadm -m node -T