iSCSI multipathing

Matthew Jacob mj at feral.com
Mon May 23 21:28:54 UTC 2011


Oh, I suspect that this won't work because you're likely confusing the 
target as to which connection you're coming from.

That is, multipathing and iSCSI needs network multipathing, not geom 
multipathing.

On Tue, 24 May 2011, Toomas Aas wrote:

> Now that I have basic iSCSI connection working with FreeBSD 7.3 (thanks 
> Danny!) I'm looking at multipathing. My server has two dedicated interfaces 
> for iSCSI traffic, each connected to a separate gigabit switch, and each 
> switch in turn connected to a separate interface on my iSCSI target (EMC 
> Celerra NX4). I can bring up either of the two connections with iscontrol, 
> mount the partition from the target and use it to my heart's content. But how 
> should I handle multipathing?
>
> My initial thought was to bring up both connections simultaneously and set up 
> gmultipath across da0 and da1. However, as soon as I bring up both 
> connections, it seems that they begin to constantly disconnecting and 
> reconnecting:
>
> # iscontrol -c /etc/iscsi.conf -n celerra_path1
> iscontrol[14277]: running
> iscontrol[14277]: (pass0:iscsi0:0:0:2):  tagged openings now 0
>
> # iscontrol -c /etc/iscsi.conf -n celerra_path2
> iscontrol[14277]: trapped signal 30
> trapped signal 30
> iscontrol: supervise going down
> iscontrol[14277]: sess flags=2000040d
> iscontrol[14277]: Reconnect
> iscontrol[14309]: running
> iscontrol[14309]: (pass1:iscsi1:0:0:2):  tagged openings now 0
> iscontrol[14309]: trapped signal 30
> trapped signal 30
> iscontrol: supervise going down
> iscontrol[14309]: sess flags=2000040d
> iscontrol[14309]: Reconnect
> iscontrol[14277]: trapped signal 30
> trapped signal 30
> iscontrol: supervise going down
> iscontrol[14277]: sess flags=2000040d
> iscontrol[14277]: Reconnect
> iscontrol[14309]: trapped signal 30
> trapped signal 30
> iscontrol: supervise going down
> iscontrol[14309]: sess flags=2000040d
> iscontrol[14309]: Reconnect
> iscontrol[14277]: trapped signal 30
> trapped signal 30
> iscontrol: supervise going down
> iscontrol[14277]: sess flags=2000040d
> iscontrol[14277]: Reconnect
>
> Is there a way to avoid this constant disconnect/reconnect? How are other 
> people handling multipathing on iSCSI?
>
> -- 
> Toomas Aas
>
> _______________________________________________
> freebsd-scsi at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-scsi
> To unsubscribe, send any mail to "freebsd-scsi-unsubscribe at freebsd.org"


More information about the freebsd-scsi mailing list