Hi, Did anyone try to use open-iscsi attached to target computer with 2 targets, with luns on both iscsi targets?
When I spread the luns of one target computer, between 2 targets. The luns of the last target shadows the luns on the other target. I use scst target driver, see below. each target has only one lun with correlated name. See below lsscsi display, where you see the luns of the last target duplicate, instead of showing luns of all targets. I believe scst target driver behaves correctly, see below. None of my software runs on the open-iscsi initiator. Thanks. 2013_08_Aug_03__23_18_01 4 ssh_cmd lsscsi -g [2:0:0:0] disk ATA WDC WD10EARS-00Y 80.0 /dev/sda /dev/sg0 [3:0:0:0] cd/dvd HL-DT-ST DVDRAM GH22NS40 NL02 /dev/sr0 /dev/sg1 [11:0:0:0] disk SCST_USR n0s2v0 300 /dev/sdb /dev/sg2 [12:0:0:0] disk SCST_USR n0s2v0 300 /dev/sdc /dev/sg3 [13:0:0:0] disk SCST_USR n1s4v0 300 /dev/sdd /dev/sg4 [14:0:0:0] disk SCST_USR n1s4v0 300 /dev/sde /dev/sg5 [15:0:0:0] disk SCST_USR n2s4v0 300 /dev/sdf /dev/sg6 [16:0:0:0] disk SCST_USR n2s4v0 300 /dev/sdg /dev/sg7 lines=8 greped=8 2013_08_Aug_03__23_19_45 2 ssh_cmd ls -d -1 > /sys/kernel/scst_tgt/targets/iscsi/iqn.2009.com.js:*/luns/*/device/handler/* > | grep -v mgmt | grep -v type > /sys/kernel/scst_tgt/targets/iscsi/iqn.2009 > .com.js:l2n2s0/luns/0/device/handler/n2s0v0 > /sys/kernel/scst_tgt/targets/iscsi/iqn.2009 > .com.js:l2n2s4/luns/0/device/handler/n2s4v0 > count=2 greped=2 > > 2013_08_Aug_03__23_19_35 1 ssh_cmd ls -d -1 > /sys/kernel/scst_tgt/targets/iscsi/iqn.2009.com.js:*/luns/*/device/handler/* > | grep -v mgmt | grep -v type > /sys/kernel/scst_tgt/targets/iscsi/iqn.2009 > .com.js:l1n1s2/luns/0/device/handler/n1s2v0 > /sys/kernel/scst_tgt/targets/iscsi/iqn.2009 > .com.js:l1n1s4/luns/0/device/handler/n1s4v0 > count=2 greped=2 > >> >> 2013_08_Aug_03__23_19_18 0 ssh_cmd ls -d -1 >> /sys/kernel/scst_tgt/targets/iscsi/iqn.2009.com.js:*/luns/*/device/handler/* >> | grep -v mgmt | grep -v type >> /sys/kernel/scst_tgt/targets/iscsi/iqn.2009 >> .com.js:l0n0s0/luns/0/device/handler/n0s0v0 >> /sys/kernel/scst_tgt/targets/iscsi/iqn.2009 >> .com.js:l0n0s2/luns/0/device/handler/n0s2v0 >> count=2 greped=2 >> >> >> 2013_08_Aug_03__23_22_49 scriptStart='class >> cli.scripts.ScriptHost$IscsiShow' l0.local=10.0.0.6 l1.local=10.0.0.8 >> l2.local=10.0.0.9 >> 2013_08_Aug_03__23_22_50 4 ssh_cmd echo m | sudo -S -p ' ' iscsiadm >> --mode session >> tcp: [4] 10.0.0.6:3260,1 iqn.2009.com.js:l0n0s2 >> tcp: [5] 10.0.0.6:3260,1 iqn.2009.com.js:l0n0s0 >> tcp: [6] 10.0.0.8:3260,1 iqn.2009.com.js:l1n1s2 >> tcp: [7] 10.0.0.8:3260,1 iqn.2009.com.js:l1n1s4 >> tcp: [8] 10.0.0.9:3260,1 iqn.2009.com.js:l2n2s0 >> tcp: [9] 10.0.0.9:3260,1 iqn.2009.com.js:l2n2s4 >> >> 2013_08_Aug_03__23_22_50 4 ssh_cmd echo m | sudo -S -p ' ' iscsiadm >> --mode node >> 10.0.0.8:3260,1 iqn.2009.com.js:l1n1s2 >> 10.0.0.9:3260,1 iqn.2009.com.js:l2n2s0 >> 10.0.0.9:3260,1 iqn.2009.com.js:l2n2s4 >> 10.0.0.8:3260,1 iqn.2009.com.js:l1n1s4 >> 10.0.0.6:3260,1 iqn.2009.com.js:l0n0s2 >> 10.0.0.6:3260,1 iqn.2009.com.js:l0n0s0 >> >> 2013_08_Aug_03__23_22_51 4 ssh_cmd echo m | sudo -S -p ' ' tree >> /etc/iscsi >> /etc/iscsi >> ├── ifaces >> │ └── iface.example >> ├── initiatorname.iscsi >> ├── iscsid.conf >> ├── nodes >> │ ├── iqn.2009.com.js:l0n0s0 >> │ │ └── 10.0.0.6,3260,1 >> │ │ └── default >> │ ├── iqn.2009.com.js:l0n0s2 >> │ │ └── 10.0.0.6,3260,1 >> │ │ └── default >> │ ├── iqn.2009.com.js:l1n1s2 >> │ │ └── 10.0.0.8,3260,1 >> │ │ └── default >> │ ├── iqn.2009.com.js:l1n1s4 >> │ │ └── 10.0.0.8,3260,1 >> │ │ └── default >> │ ├── iqn.2009.com.js:l2n2s0 >> │ │ └── 10.0.0.9,3260,1 >> │ │ └── default >> │ └── iqn.2009.com.js:l2n2s4 >> │ └── 10.0.0.9,3260,1 >> │ └── default >> └── send_targets >> ├── l0.local,3260 >> │ ├── iqn.2009.com.js:l0n0s0,10.0.0.6,3260,1,default -> >> /etc/iscsi/nodes/iqn.2009.com.js:l0n0s0/10.0.0.6,3260,1 >> │ ├── iqn.2009.com.js:l0n0s2,10.0.0.6,3260,1,default -> >> /etc/iscsi/nodes/iqn.2009.com.js:l0n0s2/10.0.0.6,3260,1 >> │ └── st_config >> ├── l1.local,3260 >> │ ├── iqn.2009.com.js:l1n1s2,10.0.0.8,3260,1,default -> >> /etc/iscsi/nodes/iqn.2009.com.js:l1n1s2/10.0.0.8,3260,1 >> │ ├── iqn.2009.com.js:l1n1s4,10.0.0.8,3260,1,default -> >> /etc/iscsi/nodes/iqn.2009.com.js:l1n1s4/10.0.0.8,3260,1 >> │ └── st_config >> └── l2.local,3260 >> ├── iqn.2009.com.js:l2n2s0,10.0.0.9,3260,1,default -> >> /etc/iscsi/nodes/iqn.2009.com.js:l2n2s0/10.0.0.9,3260,1 >> ├── iqn.2009.com.js:l2n2s4,10.0.0.9,3260,1,default -> >> /etc/iscsi/nodes/iqn.2009.com.js:l2n2s4/10.0.0.9,3260,1 >> └── st_config >> 24 directories, 12 files >> 2013_08_Aug_03__23_22_51 scriptEnd='class >> cli.scripts.ScriptHost$IscsiShow' delay=1685 >> >> >> -- You received this message because you are subscribed to the Google Groups "open-iscsi" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/open-iscsi. For more options, visit https://groups.google.com/groups/opt_out.
