The motivation of this question is that I'm a home server user and I hope to shut down hard drives when I don't need them to save power.
Let's say I passthrough the onboard SATA controller to a VM. What happens to the SATA controller and the hard drives connected to it if I shut down the VM?
I've seen a claim that shutting down this VM also shuts down the SATA controller. In this case, hard drives stop working since the data connection is closed.
There are two assumptions here:
1) the hard drives do not work when the data connection is closed, even though the power is still on (according to the person who made this claim, this behavior of hard drives depend on the firmware)
2) PVE doesn't take over the SATA controller, therefore the controller remains shutting down.
Are these assumptions valid/correct? If not, what happens?
Let's say I passthrough the onboard SATA controller to a VM. What happens to the SATA controller and the hard drives connected to it if I shut down the VM?
I've seen a claim that shutting down this VM also shuts down the SATA controller. In this case, hard drives stop working since the data connection is closed.
There are two assumptions here:
1) the hard drives do not work when the data connection is closed, even though the power is still on (according to the person who made this claim, this behavior of hard drives depend on the firmware)
2) PVE doesn't take over the SATA controller, therefore the controller remains shutting down.
Are these assumptions valid/correct? If not, what happens?