Virtual Environment 5.4-3
Hi guys!
I have iscsi target on linux debian created by tgt. Available via 2 interfaces.
And have two pve nodes in cluster. I added iscsi storage by GUI without problem. But I need add target with 2 portals.
As I know need add target with each portal , and configure multipath.
I have done follow on 2 nodes:
root@pvenode-01:~# iscsiadm -m node -T iqn.2018-02.sandmax.comve -p 192.168.1.41 -l
Logging in to [iface: default, target: iqn.2018-02.sandmax.comve, portal: 192.168.1.41,3260] (multiple)
Login to [iface: default, target: iqn.2018-02.sandmax.comve, portal: 192.168.1.41,3260] successful.
root@pvenode-01:~# iscsiadm -m node -T iqn.2018-02.sandmax.comve -p 192.168.1.42 -l
Logging in to [iface: default, target: iqn.2018-02.sandmax.comve, portal: 192.168.1.42,3260] (multiple)
Login to [iface: default, target: iqn.2018-02.sandmax.comve, portal: 192.168.1.42,3260] successful.
But I don't see devices as /dev/sdX
[ 302.914540] scsi host3: iSCSI Initiator over TCP/IP
[ 302.923324] scsi 3:0:0:0: RAID IET Controller 0001 PQ: 0 ANSI: 5
[ 302.924347] scsi 3:0:0:0: Attached scsi generic sg2 type 12
[ 307.349116] scsi host4: iSCSI Initiator over TCP/IP
[ 307.358470] scsi 4:0:0:0: RAID IET Controller 0001 PQ: 0 ANSI: 5
[ 307.359391] scsi 4:0:0:0: Attached scsi generic sg3 type 12
root@pvenode-01:~# lsscsi
[1:0:0:0] cd/dvd VBOX CD-ROM 1.0 /dev/sr0
[2:0:0:0] disk ATA VBOX HARDDISK 1.0 /dev/sda
[3:0:0:0] storage IET Controller 0001 -
[4:0:0:0] storage IET Controller 0001 -
Hi guys!
I have iscsi target on linux debian created by tgt. Available via 2 interfaces.
And have two pve nodes in cluster. I added iscsi storage by GUI without problem. But I need add target with 2 portals.
As I know need add target with each portal , and configure multipath.
I have done follow on 2 nodes:
root@pvenode-01:~# iscsiadm -m node -T iqn.2018-02.sandmax.comve -p 192.168.1.41 -l
Logging in to [iface: default, target: iqn.2018-02.sandmax.comve, portal: 192.168.1.41,3260] (multiple)
Login to [iface: default, target: iqn.2018-02.sandmax.comve, portal: 192.168.1.41,3260] successful.
root@pvenode-01:~# iscsiadm -m node -T iqn.2018-02.sandmax.comve -p 192.168.1.42 -l
Logging in to [iface: default, target: iqn.2018-02.sandmax.comve, portal: 192.168.1.42,3260] (multiple)
Login to [iface: default, target: iqn.2018-02.sandmax.comve, portal: 192.168.1.42,3260] successful.
But I don't see devices as /dev/sdX
[ 302.914540] scsi host3: iSCSI Initiator over TCP/IP
[ 302.923324] scsi 3:0:0:0: RAID IET Controller 0001 PQ: 0 ANSI: 5
[ 302.924347] scsi 3:0:0:0: Attached scsi generic sg2 type 12
[ 307.349116] scsi host4: iSCSI Initiator over TCP/IP
[ 307.358470] scsi 4:0:0:0: RAID IET Controller 0001 PQ: 0 ANSI: 5
[ 307.359391] scsi 4:0:0:0: Attached scsi generic sg3 type 12
root@pvenode-01:~# lsscsi
[1:0:0:0] cd/dvd VBOX CD-ROM 1.0 /dev/sr0
[2:0:0:0] disk ATA VBOX HARDDISK 1.0 /dev/sda
[3:0:0:0] storage IET Controller 0001 -
[4:0:0:0] storage IET Controller 0001 -