[Bug 293076] ctld regression in FreeBSD 15: multiple physical ports per target rejected and ports not enabled automatically

[email protected] Sun, 15 Mar 2026 11:42:20 +0000
Newsgroups gmane.os.freebsd.devel.scsi
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D293076

--- Comment #6 from Ken J. Thomson <[email protected]> ---
(In reply to John Baldwin from comment #5)
I will try to capture with gdb next week. Meanwhile i realize that even
ctl.conf target config port is ocs_fc, ctladm portlist show this target map=
ped
to iscsi !

# cat /etc/ctl.conf=20
lun example_1 {
             path /dev/zvol/zroot/lun1
             option naa 0x50015178f369f093
     }


     target naa.123456789 {
             port ocs_fc0
             port ocs_fc1
             lun 0 example_1
     }

# ctladm portlist -v
Port Online Frontend Name     pp vp
0    NO     camsim   camsim   0  0  naa.5000000a87f74f01
  Target: naa.5000000a87f74f00
  All LUNs mapped
      port_type=3D8
1    YES    ioctl    ioctl    0  0=20=20
  All LUNs mapped
      port_type=3D4
2    YES    tpc      tpc      0  0=20=20
  All LUNs mapped
      port_type=3D8
3    NO     camtgt   ocs_fc0  0  0=20=20
  All LUNs mapped
      port_type=3D1
4    NO     camtgt   ocs_fc1  0  0=20=20
  All LUNs mapped
      port_type=3D1
5    YES    iscsi    iscsi    256 1  naa.123456789,t,0x0100
  Target: naa.123456789
  LUN 0: 0
      port_type=3D16
      cfiscsi_state=3D1
      cfiscsi_target=3Dnaa.123456789
      ctld_portal_group_name=3Ddefault
      cfiscsi_portal_group_tag=3D256

--=20
You are receiving this mail because:
You are the assignee for the bug.=