[stgt] Multiple active paths
Mark Ruys
mark.ruys at in2sports.net
Wed Jun 2 15:23:45 CEST 2010
Hi,
I've just succesfully set up an tgtd target on a CentOS 5.5 machine
having four (non-bonded) nic's. My initiator connects as follows:
billy (1IET_00010001) dm-3 IET,VIRTUAL-DISK
[size=400G][features=0][hwhandler=0][rw]
\_ round-robin 0 [prio=1][active]
\_ 17:0:0:1 sdh 8:112 [active][ready]
\_ round-robin 0 [prio=1][enabled]
\_ 19:0:0:1 sdo 8:224 [active][ready]
\_ round-robin 0 [prio=1][enabled]
\_ 20:0:0:1 sdz 65:144 [active][ready]
\_ round-robin 0 [prio=1][enabled]
\_ 18:0:0:1 sdj 8:144 [active][ready]
So the path through /dev/sdh is active and used. For another EMC target,
I get:
bulbby (360060160b9781b008488bd4f0e2fde11) dm-7 DGC,RAID 10
[size=15G][features=1 queue_if_no_path][hwhandler=1 emc][rw]
\_ round-robin 0 [prio=2][active]
\_ 14:0:0:5 sdr 65:16 [active][ready]
\_ 16:0:0:5 sdy 65:128 [active][ready]
\_ round-robin 0 [prio=0][enabled]
\_ 13:0:0:5 sdaq 66:160 [active][ready]
\_ 15:0:0:5 sdar 66:176 [active][ready]
As I understand it, in this case both /dev/sdr and /dev/sdy are used
doubling the network throuhgput capacity. How can I achieve this with
tgtd? I tried to find an answer in this mailing list in vain.
Thanks,
Mark
/etc/tgt/targets.conf:
default-driver iscsi
<target iqn.2010-05.net.maas:rijn.tgt>
backing-store /dev/VG00/Billy
initiator-address 192.168.91.0/24
initiator-address 192.168.92.0/24
</target>
--
Oudenhof 14b, 4191 NW Geldermalsen, The Netherlands
Web site and travel directions: www.in2sports.net
Phone +31.88.0084102 :: Mobile +31.6.51298623
--
To unsubscribe from this list: send the line "unsubscribe stgt" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
More information about the stgt
mailing list