5 ms·
> just curious, why you would need to force it? For a regular reboot to work, all file-systems must be able to unmount cleanly. If you for whatever reason hav
by josteink 3y ago
> just curious, why you would need to force it?
For a regular reboot to work, all file-systems must be able to unmount cleanly.
If you for whatever reason have a file-system which have become non-responsive and is “hanging” any process which tries to interact with it, regular “systemctl reboot” and “systemctl reboot -force” may fail to actually trigger a reboot, further preventing you from fixing your issue with the non-responsive file-system.
In these cases “systemctl reboot —force —force” is useful. Especially on remote machines you cannot physically power-cycle.
I don’t remember the exact specifics beyond that, but this has happened to me and I’ve needed this at least once.