[Bug 271460] ctld ports become inaccessible due to concurrent service restarts
Date: Thu, 06 Jun 2024 16:16:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271460 Alan Somers <asomers@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|New |In Progress --- Comment #1 from Alan Somers <asomers@FreeBSD.org> --- I've discovered a highly undocumented command that can allow one to recover from this situation without a reboot. First shutdown ctld, then remove each iSCSI target port with the undocumented command, and then restart ctld. The command is: ctladm port -d iscsi -r -p DONTCARE -O cfiscsi_portal_group_tag=TAG -O cfiscsi_target=TARGET Where "DONTCARE" must be an integer but otherwise its value does not matter, "TAG" can be found via "ctladm portlist -v" and is typically 257 or greater, and TARGET can also be found via "ctladm portlist -v". I'll update the man page to document this syntax and also add ATF tests for it. -- You are receiving this mail because: You are the assignee for the bug.