Bug 233745 - [regression] [iscsi] ctladm devlist -v doesn't show file backends for certain targets
Summary: [regression] [iscsi] ctladm devlist -v doesn't show file backends for certain...
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 12.0-STABLE
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-scsi (Nobody)
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2018-12-03 07:45 UTC by emz
Modified: 2018-12-03 13:03 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description emz 2018-12-03 07:45:11 UTC
after upgrading some of my iSCSI systems to 12.x, I noticed that ctladm devlist -v (and devlist -x) doesn't show file backends for a numerous targets. This doesn't reflect their current state, because the initiators, using these targets are able to fully access their block devices via iSCSI.

When modified, these targets may start to show their file backends, so the exact nature of this behavior is currently unknown to me.

This behavior is new for 12.x and reproducible at least on the following revisions:

FreeBSD san1.gcore1.playkey.net 12.0-PRERELEASE FreeBSD 12.0-PRERELEASE r340935 GENERIC  amd64
FreeBSD san1.bsh.playkey.net 12.0-PRERELEASE FreeBSD 12.0-PRERELEASE r340754 GENERIC  amd64
FreeBSD san1.gcore2.playkey.net 12.0-PRERELEASE FreeBSD 12.0-PRERELEASE r340933 GENERIC  amd64

===Cut===
407 block           16106127360  512 MYSERIAL0376     games-vm154     
      lun_type=0
      num_threads=14
      vendor=FREE_TT
      rpm=1
      formfactor=3
394 block             104857600  512 MYSERIAL0376     desktop-vm148   
      lun_type=0
      num_threads=14
      vendor=FREE_TT
      rpm=1
      formfactor=3
395 block           16106127360  512 MYSERIAL0376     games-vm148     
      lun_type=0
      num_threads=14
      vendor=FREE_TT
      rpm=1
      formfactor=3
 99 block             104857600  512 MYSERIAL0376     desktop-master-m40
      lun_type=0
      num_threads=14
      vendor=FREE_TT
      rpm=1
      formfactor=3
      file=/dev/zvol/data/kvm/desktop/desktop-master-m40
      ctld_name=iqn.2016-04.net.playkey.iscsi:desktop-master-m40,lun,0
      scsiname=iqn.2016-04.net.playkey.iscsi:desktop-master-m40,lun,0
366 block             104857600  512 MYSERIAL0376     desktop-vm134   
      lun_type=0
      num_threads=14
      file=/dev/zvol/data/kvm/desktop/desktop-vm134
      vendor=FREE_TT
      scsiname=iqn.2016-04.net.playkey.iscsi:desktop-vm134,lun,0
      ctld_name=iqn.2016-04.net.playkey.iscsi:desktop-vm134,lun,0
367 block           16106127360  512 MYSERIAL0376     games-vm134     
      lun_type=0
      num_threads=14
      file=/dev/zvol/data/kvm/desktop/games-vm134
      vendor=FREE_TT
      scsiname=iqn.2016-04.net.playkey.iscsi:games-vm134,lun,0
      ctld_name=iqn.2016-04.net.playkey.iscsi:games-vm134,lun,0
104 block             104857600  512 MYSERIAL0376     desktop-vm3     
      lun_type=0
      num_threads=14
      file=/dev/zvol/data/kvm/desktop/desktop-vm3
      vendor=FREE_TT
      scsiname=iqn.2016-04.net.playkey.iscsi:desktop-vm3,lun,0
      ctld_name=iqn.2016-04.net.playkey.iscsi:desktop-vm3,lun,0
105 block           16106127360  512 MYSERIAL0376     games-vm3       
      lun_type=0
      num_threads=14
      file=/dev/zvol/data/kvm/desktop/games-vm3
      vendor=FREE_TT
      scsiname=iqn.2016-04.net.playkey.iscsi:games-vm3,lun,0
      ctld_name=iqn.2016-04.net.playkey.iscsi:games-vm3,lun,0
===Cut===