Shut Down SATA HAT for Raspberry Pi5

My Penta SATA HAT is connected to a Raspberry Pi 5, with power supplied through the 4-pin Molex connector on the SATA HAT. When I shut down the Raspberry Pi 5, the SATA HAT continues to run, with the LED indicators remaining on. If I power it only through the Type-C port via the Raspberry Pi and shut down, the SATA HAT still keeps running (with the LEDs on). This leads to an increasing POR_Recovery_Count in the SSDs’ SMART data.

Additionally, about once a month, the SATA HAT completely stops working, the disk system becomes invisible, while the Raspberry Pi continues to run. Restarting doesn’t help, and only a full power cycle can resolve the issue. As a result, I often have to forcefully shut down my NAS.

Could this be a sign that my SATA HAT is faulty, and is it possible to get a warranty replacement? I am still experimenting with different power supplies and another Raspberry Pi. However, since the failures happen randomly and I don’t know how to trigger them, the testing process is taking a long time.

I’m running WD and Crucial SSDs, both do not have that field, but one
174 Unexpected_Power_Loss
This number does not increase when shutting down, even if the blue lights remain on.

I can not tell for Pi5 as the system is not yet in production, but on my Pi4b Quad Hat in close to four years I never faced a loss of disks.

I’m increasingly leaning towards the conclusion that my SATA HAT is defective. I’ve also asked Jeff Geerling’s community, and everyone says that after months of use, they haven’t experienced any issues with their SATA HAT.

1 Like

I’m having the same issue, when turning off my raspberry pi the HDD are still spinning and the only way to completly turn them off is by removing the power.
Is that a desired behaviour?

Pi5 by default don’t turns off completely, there are two parameters:

WAKE_ON_GPIO=0
POWER_OFF_ON_HALT=1

With them pi should turn off completely. Modify eeprom values to perform tests, as far as I remember pi5 will not be able to wake on lan with them. Also when off power consumption will drop from about 1.5W to less than 0.05W - I guess it will be really off with those.