k3s/pkg/volume/iscsi
tobad357 1811ded396 This is an update that allows the iscsi volume to check if a iscsi device belongs to a mpio device
If it does belong to the device then we make sure we mount the mpio device instead of
the raw device.

Heuristics
Login into /dev/disk/by-path/iqn-example.com.2999 -> /dev/sde
Check if sde existsin in /sys/block/[dm-X]/slaves/xx
If it does mount /dev/[dm-x] which will look like /dev/mapper/mpiodevicename in mount

examples/iscsi has more details
2016-04-20 09:42:11 +08:00
..
OWNERS add maintainers for each volume driver 2016-03-22 22:19:53 -07:00
disk_manager.go Rename volume.Builder to Mounter and volume.Cleaner to Unmounter 2016-03-25 11:29:58 -07:00
doc.go
iscsi.go This is an update that allows the iscsi volume to check if a iscsi device belongs to a mpio device 2016-04-20 09:42:11 +08:00
iscsi_test.go Rename volume.Builder to Mounter and volume.Cleaner to Unmounter 2016-03-25 11:29:58 -07:00
iscsi_util.go This is an update that allows the iscsi volume to check if a iscsi device belongs to a mpio device 2016-04-20 09:42:11 +08:00
iscsi_util_test.go Add support for open-iscsi transports. 2015-12-08 17:28:06 -08:00