-
Notifications
You must be signed in to change notification settings - Fork 39.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iSCSI volumes don't support multipathing #15365
Comments
I've done a proof of concept to support multipathing in mount_linux.go
Another option would be to just implement multipath support for iscsi and handle the mpath mapping and unmapping there which would localize testing but not give benefit to all |
Right, iscsi doesn't support mpio yet. Currently |
I have an implementation based on the FC code that is nearly ready for discussion. I should be able to push for initial look in next couple of days. |
When using the iSCSI volume plugin there is no support for multipathing
The current setup in our test env has the hosts accessing the iSCSI system via two sub nets and multipathd configured to create a dm device when the individual devices are mounted
Network
net0 -> 10.1.1.0/24
net1 -> 10.1.2.0/24
Portal A (discovery address): 10.1.1.11
Portal B (discovery address): 10.1.2.11
If I do the following manually on the host
iscsiadm -m discovery -t sendtargets -p 10.1.1.11
Which returns:
10.1.1.11:3260,2460 iqn.2007-11.com.xxxxx-registry-xxxx.
10.1.2.11:3260,2460 iqn.2007-11.com.xxxxx-registry-xxxx
The we login to the volume
iscsiadm -m node -T iqn.2007-11.com.xxxxx-registry-xxxx --login
Which returns:
Logging in to iface: default, target: iqn.2007-11.com.xxxxx-registry-xxxx, portal: 10.1.1.11,3260
Logging in to iface: default, target: iqn.2007-11.com.xxxxx-registry-xxxx, portal:10.1.2.11,3260
Login to [iface: default, target: iqn.2007-11.com.xxxxx-registry-xxxx, portal: 10.1.1.11,3260] successful.
Login to [iface: default, target: iqn.2007-11.com.xxxxx-registry-xxxx, portal: 10.1.2.11,3260] successful.
If we instead do as per the iscsi_util.go code
iscsiadm -m node -p 10.1.1.11 -T iqn.2007-11.com.xxxxx-registry-xxxx --login
Which returns:
Logging in to iface: default, target: iqn.2007-11.com.xxxxx-registry-xxxx, portal: 10.1.1.11,3260
Login to [iface: default, target: iqn.2007-11.com.xxxxx-registry-xxxx, portal: 10.1.1.11,3260] successful.
This means we only get one device mapped instead of two new devices mapped
And iscsi traffic will only go via one interface and one switch
Additionally
/dev/mapper/mpathX where X is the new device or /dev/dm-X where X is the new device number
The text was updated successfully, but these errors were encountered: