NFS root with ethernet bonding freezes on 2.4
Subsystems (2)
Hi,
I've recently been trying to set up Ethernet bonding for failover on a system which has a host NFS system from which thin clients Etherboot. I am trying to set up the bonding on the thin client end.
Initially everything works ok. However if I run an iperf server ('iperf -s') at one end and then loop through iperf bidirectional tests from the other ('for i in $(seq 1 10000); do echo $i; iperf -c host -d; done') the networking on the client locks up after around 900 iterations (+- ~20). A similar result is achieved by generating large amounts of traffic by continually sshing a file from one machine to /dev/null on the other too, so it would seem that the problem is not in the method of testing.
The bonding is set up with the parameters 'mode=1 arp_ip_target=192.168.0.1 arp_interval=100' where 192.168.0.1 is the IP of the NFS/Etherboot host. While running the tests I have only been connecting one of the Ethernet devices to simplify things. The same problem occurs with both connected though. I have also tried connecting client and server directly with a crossover to eliminate switching problems. I have also tried running the bandwidth tests to a 3rd machine and using a 3rd machine as the arp_ip_target.
This has been tested using kernels 2.4.18, 2.4.24 & 2.4.32 on both server and client. The hardware tested is a PC104 embedded board (Compulab 786 Base) with dual Intel 82559ER chips using the e100 driver. I have also tried with also with a 3Com 3C905B-TX. The 3Com board has also been tested in an ASRock K7S41GX motherboard with the same result.
Using Etherboot to load the kernel on the client but then mounting all filesystems from a local disk works fine. The filesystem used to test this was an identical copy of that being exported via NFS with the exception of the fstab.
In my most recent tests there seems to be no problem running 2.6.17.1 on the host and 2.6.12 on the client machines. I have had to upgrade modutils and add module-init-tools to run a 2.6 kernel though so am in the process of re-testing using 2.4 to ensure that the original problem still occurs after these changes. Unfortunately each run of this test takes some time :-)
Anyone with any experience of this, or just any suggestions, would be much appreciated.
Thanks
Alex
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs