Shutdown or Reboot takes 30 Min

After upgrade from Eel to Fangtooth. Server shutdown or reboor takes approx 30 Min.
I think this happens because it failed unmounting. I have collected some info from several log files. Hopefully someone can help me.

syslog:

Apr 18 12:00:03 truenas syslog-ng[2385]: syslog-ng shutting down; version='3.38.1'
Apr 18 12:30:04 truenas systemd-shutdown: Sending SIGTERM to remaining processes...
Apr 18 12:30:04 truenas systemd-journald[637]: Received SIGTERM from PID 1 (systemd-shutdow).
Apr 18 12:30:04 truenas systemd-journald[637]: Journal stopped

error.log

Apr 18 12:00:19 truenas systemd[1]: Failed unmounting var-log-journal.mount.
Apr 18 12:00:19 truenas systemd[1]: Failed unmounting var-log.mount.
Apr 18 12:00:19 truenas systemd[1]: Failed unmounting var.mount.
Apr 18 12:30:03 truenas systemd[1]: Timed out starting poweroff.target - System Power Off.

daemon.log

Apr 18 12:00:18 truenas systemd[1]: Unmounting var-log-journal.mount...
Apr 18 12:00:18 truenas umount[1145753]: umount: /var/log/journal: target is busy.
Apr 18 12:00:18 truenas systemd[1]: Unmounting var-log.mount...
Apr 18 12:00:18 truenas umount[1145754]: umount: /var/log: target is busy.
Apr 18 12:00:19 truenas systemd[1]: var-log-journal.mount: Mount process exited, code=exited, status=32/n/a
Apr 18 12:00:19 truenas systemd[1]: Failed unmounting var-log-journal.mount.
Apr 18 12:00:19 truenas systemd[1]: var-log.mount: Mount process exited, code=exited, status=32/n/a
Apr 18 12:00:19 truenas systemd[1]: Failed unmounting var-log.mount.
Apr 18 12:00:19 truenas systemd[1]: Unmounting var.mount...
Apr 18 12:00:19 truenas umount[1145761]: umount: /var: target is busy.
Apr 18 12:00:19 truenas systemd[1]: var.mount: Mount process exited, code=exited, status=32/n/a
Apr 18 12:00:19 truenas systemd[1]: Failed unmounting var.mount.
Apr 18 12:30:03 truenas systemd[1]: poweroff.target: Job poweroff.target/start timed out.
Apr 18 12:30:03 truenas systemd[1]: Timed out starting poweroff.target - System Power Off.
Apr 18 12:30:03 truenas systemd[1]: poweroff.target: Job poweroff.target/start failed with result 'timeout'.
Apr 18 12:30:03 truenas systemd[1]: Forcibly powering off: job timed out
Apr 18 12:30:03 truenas systemd[1]: Shutting down.
Apr 18 12:30:04 truenas systemd-shutdown: Syncing filesystems and block devices.
Apr 18 12:30:04 truenas systemd-shutdown: Sending SIGTERM to remaining processes...
Apr 18 12:30:04 truenas systemd-journald[637]: Journal stopped

Is there more info needed?

I’ve got the same symptoms.
Have you found any information about that?

Have the exact same issue.

You should provide full details on your system. Hardware, OS Version. What did you recently do, what error messages you get, etc. Are you running apps or VMs? We can only go off what is provided in the forum post.

If this was a recent OS update, try booting back to the previous version in the boot environments and see if it still occurs.

1 Like