[stgt] Cannot connect iSCSI initiator to two TGT hosts at once...

Clay Goss claygoss at issuestechnology.com
Wed Apr 24 20:53:11 CEST 2013


More digging and experimenting - and I now have two Centos 6.4 systems
with iSCSI targets mounted from one initiator...

But....

I had to do the config entirely from the command line as follows on
the second system:

tgtadm --lld iscsi --op new --mode target --tid 2 -T
iqn.2013-04.net.issuestechnology.target2      # Creates the controller
with SCSI ID: IET 00020000 and SCSI SN: beaf20

tgtadm --lld iscsi --op new --mode logicalunit --tid 2 --lun 1 -b
/dev/vg_itsan002/lv_itsan002         # Creates disk LUN with SCSI ID:
00020001 and SCSI SN: beaf21

tgtadm --lld iscsi --op bind --mode target --tid 2 -I ALL
                                               # Binds the target to
allow full access



Currently, I am testing access, performance, etc. Once done, I will
restart this host.

I am inclined to believe this configuration will not stick - nothing
new is in the targets.conf and if I put things there, the controller
reverts back to ID: 00010000 and SN: beaf10 - which matches the other
system.

Now, how does one get this to stick?
--
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