rebooting node from console identical to GUI?

masgo

Well-Known Member
Jun 24, 2019
69
15
48
75
I have a stupid question: Is rebooting a PVE node from console (i.e., typing reboot) the ideantical operation as clicking reboot in the GUI?

Until now, I only ever restarted nodes from the GUI,. This does a clean ACPI/agent "shutdown" to all VMs, while obeying the shutdown-order and timeout settings, and then restarts the node. Does this also happen when doing it from the console?

Also a learning question: how does this work? Where is the "script" that coordinates this? How is it called?
 
As far as I know the command reboot in the command line will not shut down all VM's in a correct way.
If you want to do a shutdown from the command line you have to execute the following command before the shutdown command:
Bash:
pvesh create /nodes/proxmox/stopall
 
  • Like
Reactions: masgo
shutdown -r now and also -h on the console will shutdown all VMs and CTs gracefully (respecting the start-up order). If reboot does not, I would suggest reporting this as a bug. Can you describe a reproducible scenario?