I have been testing the following configuration: I have a fully updated Centos 5 box I am using as a iscsi initiator with the following tools:
iscsi-initiator-utils-6.2.0.865-0.8.el5 I have the following network topology Destination Gateway Genmask Flags MSS Window irtt Iface xxx.xxx.xxx.128 * 255.255.255.128 U 0 0 0 eth0 192.168.1.0 * 255.255.255.0 U 0 0 0 eth2 192.168.0.0 * 255.255.255.0 U 0 0 0 eth1 169.254.0.0 * 255.255.0.0 U 0 0 0 eth2 default xxx.xxx.xxx.129 0.0.0.0 UG 0 0 0 eth0 # iscsiadm -m iface san0 tcp,default,eth1 san1 tcp,default,eth2 The Openfiler 2.3 box is connected to both the 192.168.0.0 and 192.168.1.0networks . On the Openfiler box I have created an iscsi volume and then mapped the volume to a lun (write-through and block-io) and shared the target on both the san0 and san1 networks (no CHAP). On the CentOS box I do the following: # iscsiadm --mode discovery --type sendtargets --portal 192.168.0.45 192.168.0.45:3260,1 iqn.2006-01.com.openfiler:tsn.26dc5b0b04a4 192.168.0.45:3260,1 iqn.2006-01.com.openfiler:tsn.26dc5b0b04a4 i.e I am seeing two targets on one interface: # iscsiadm -m node -L all Login session [iface: san0, target: iqn.2006-01.com.openfiler:tsn.26dc5b0b04a4, portal: 192.168.0.45,3260] Login session [iface: san1, target: iqn.2006-01.com.openfiler:tsn.26dc5b0b04a4, portal: 192.168.0.45,3260] The Openfiler indeed sees two connections one from 192.168.0.135 and one from 192.168.1.135. IP forwarding is disabled on both systems. I am perplexed. How can I see the portal 192.168.0.45 on the iface san1 which should be on the 192.168.1.0 network. Similarly, if I do a discovery to the other portal I get two targets back, one for each network. Thus the multipath daemon sees four paths for the target instead of two and two of those paths are bogus. The CentOS box was configured and working with the same system when it was running Openfiler 2.2 and I saw, as expected, one target per interface. Can someone point out my mistake. Certainly the amount of iscsi target information in openfiler seems to have dramatically increased in 2.3 beta. The Openfiler is running kernel: 2.6.24.4-0.1.1.smp.gcc3.4.x86_64 (SMP) and openfiler: r1409-2-1 Any pointers gratefully appreciated. Regards, Alastair Neil
_______________________________________________ Openfiler-users mailing list [email protected] https://lists.openfiler.com/mailman/listinfo/openfiler-users
