getting ACPI shutdown to work?

Status
Not open for further replies.

John Radley

Cadet
Joined
Oct 18, 2016
Messages
4
How do I ensure ACPI is working, so that the powerbutton will do a S5 shutdown?
Actually, FreeNas is a VM under Proxmox, so I want "qm shutdown NNN" to work.
I believe FreeNas (or FreeBSD) would need to accept anonymous shutdown request
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
If your hypervisor doesn't support basic features as sending an ACPI command to a guest, you really should not be using it.

If I press the power button on the server that's sitting on my desk, it powers down gracefully. Same for IPMI access. So, you need to fix your hypervisor or get rid of it (the latter being the safer option).
 

John Radley

Cadet
Joined
Oct 18, 2016
Messages
4
Thanks for your advice? How should FreeNas VM shutdown if the Proxmox server shuts down?

A night's sleep always helps in solving a problem.....
The ACPI was working, but the FreeNas VM was immediately rebooting. In fact any form of shutdown or halt was causing a reboot.
I could just see the shutdown messages in the console, and could see a Kernel panic during. Now that seems sensible - do a reboot if Kernel panics!

Switching over to "qemu64" processor type instead of "Default (kvm64)" has seemed to fix the problem. Shutdown is very quick now.
Wonder why - I guess that's a question for the Proxmox forum.
 

m0nkey_

MVP
Joined
Oct 27, 2015
Messages
2,739
The only virtualization platform where FreeNAS is somewhat supported is ESXI. But it's usually preferable to run FreeNAS bare metal.
 
Status
Not open for further replies.
Top