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

2009-01-12 Thread Tomasz Chmielewski
Tomasz Chmielewski schrieb: > Some more details: > > - rootfs is connected to the target using 100 Mbit LAN (...) > - kjournald is in D state (probably trying to access inaccessible > device), which is interesting and may be the reason why everything seems > to freeze? I lowered the replace

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

2009-01-12 Thread Tomasz Chmielewski
Mike Christie schrieb: >> The machine has its root filesystem accessible via iSCSI (via fast LAN, >> to a different target) which can somehow contribute to the problem? It >> runs a 2.6.22 kernel. >> Some bad interaction if the initiator is connected to two targets with >> different IPs, and con

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

2009-01-11 Thread Mike Christie
Tomasz Chmielewski wrote: > 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 t

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 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 net

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 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 rate is about

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 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 generate about 32

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=

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

2009-01-08 Thread Mike Christie
Tomasz Chmielewski wrote: > Anyone using iSCSI over DRBD? And a slow internet link perhaps? > > If yes, you are likely to see connection errors, host resets, and eventually, > I/O errors reported, for example: > > Jan 7 21:47:09 vmware1 kernel: connection23:0: iscsi: detected conn error > (10