On FreeBSD 13.0, when I try to shut down one of my servers using the Web UI and/or console, the server reboots 5 - 10 seconds after it powers off. This behavior was/is not present in FreeBSD 12. Furthermore, this same issue occurs in TrueNAS Core 13, but not TrueNAS Core 12. The server specs are as follows: Intel R2000 Chasis Intel S2600GZ Motherboard 2 x Intel Xeon E5-2630L v2 2 x 16GB (32GB Total) ECC DDR3 Intel RMS25JB080 (LSI 2008) Flashed to IT Boot Pool: 2 x Intel DC S3610 SSDs (Mirrored) Storage Pool: 12 x 4TB HGST HUS724040ALS640 (6 drives per vdev, RaidZ2) I originally created a thread about this in the TrueNAS community forum, and another user (also running an Ivy Bridge CPU) posted they had experienced the same problem. https://www.truenas.com/community/threads/shutdown-causes-reboot-on-truenas-core-13-0-u1.102752/#post-706976 I have also reported this issue to iXSystems/TrueNAS: https://ixsystems.atlassian.net/browse/NAS-117384
Can you check if `shutdown -p now` behaves the same way
(In reply to Ed Maste from comment #1) It still restarts within a few seconds after powering off when running 'shutdown -p now'
A user in the TrueNAS forums found a workaround to this problem. By setting hw.efi.poweroff to 0 instead 1 via sysctl, the shutdown/reboot issue is fixed.
(In reply to Nathan M. from comment #0) > https://ixsystems.atlassian.net/browse/NAS-117384 I'm logged in, but do not have access. What, if anything, was the conclusion? (In reply to Nathan M. from comment #3) <https://www.truenas.com/community/posts/717893> > … didn't solve my issue