ZFS over iSCSI Question

Jun 18, 2020
31
4
13
47
Should iscsiadm -m session always show an active session when utilizing ZFS over iSCSI (to a FreeNAS server in this case)?

The following is after a fresh reboot of the entire environment...
One of my Proxmox hosts, this is host 172.20.___.__2:
Code:
iscsiadm -m session
tcp: [1] 172.20.___.__1:3260,1 iqn.2005-10.org.freenas.ctl:freenasblk01 (non-flash)

The other Proxmox host (configured exactly the same), this is host 172.20.___.__5:
Code:
iscsiadm -m session
iscsiadm: No active sessions.

From the other side (the FreeNAS server):
Code:
ctladm islist
  ID Portal           Initiator name                       Target name                        
   1 172.20.___.__2   iqn.1993-08.org.debian:01:e38913619569 iqn.2005-10.org.freenas.ctl:freenasblk01
   9 172.20.___.__2   iqn.1993-08.org.debian:01:e38913619569 iqn.2005-10.org.freenas.ctl:freenasblk01
  10 172.20.___.__2   iqn.1993-08.org.debian:01:e38913619569 iqn.2005-10.org.freenas.ctl:freenasblk01
  11 172.20.___.__2   iqn.1993-08.org.debian:01:e38913619569 iqn.2005-10.org.freenas.ctl:freenasblk01
  12 172.20.___.__2   iqn.1993-08.org.debian:01:e38913619569 iqn.2005-10.org.freenas.ctl:freenasblk01
  13 172.20.___.__2   iqn.1993-08.org.debian:01:e38913619569 iqn.2005-10.org.freenas.ctl:freenasblk01
  14 172.20.___.__2   iqn.1993-08.org.debian:01:e38913619569 iqn.2005-10.org.freenas.ctl:freenasblk01
  15 172.20.___.__5   iqn.1993-08.org.debian:01:86d7850f0b iqn.2005-10.org.freenas.ctl:freenasblk01

Note, I am unsure if it matters, but the 172.20.___.___5 host currently has 1 VM on it that happens to be a Windows machine. It's running VirtIO SCSI to a VirtIO Block Disk. The other host (172.20.___.__2) has 6 VMs running, all but one are VirtIO SCSI with a VirtIO Block Disk. The other is VirtIO SCSI with a SCSI disk.

Weirdly, there are 7 connections. If it was something I was missing with the VirtIO Block vs SCSI disk (for example), I'd expect that I'd see *5* connections to the FreeNAS environment from that host.

Why am I not seeing what I think I should be from the iSCSI side of things?
Thanks again!
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!