Recently I have purchased Raspberry 4 B.
I have next setup: SATA 2.5" HDD is connected to USB3 port using SATA-to-USB connector. See attached.
When I boot to DietPi, HDD is available at /dev/sda1 and it may be mounted as expected.
When I reboot DietPi (with HDD connected), the volume is not present (/dev/sda - is present, but /dev/sda1 - is not) and not mounted.
When I do a cold start (power off and then power on), the disk is mounted and everything works as expected.
Does anybody have an idea about the reasons for this behavior?
The interesting facts about this situation:
- It does not matter which port I connect (USB2 or USB3)
- The most INTERESTING!!! I also have Raspberry 3 B+. When I insert the same sd card and the same HDD disk to Raspberry 3 B+, everything works as expected. Disk is remounted on every reboot/after poweroff.
It looks like HDD is sent to some kind of sleep during the boot process.
I do not think it is a power-related issue:
- It works with Raspberry Pi 3B+ board, which uses USB2 ports power (which is less than power over USB3 in Raspberry Pi 4B).
- Previously I have used (without any issues) exactly the same HDD with exactly the same SATA-to-USB connector at my TV with USB2 port and no additional power.
- I have tried to power independently my HDD from external 2.0A USB charger using the other side of this Y-type SATA-to-USB connector. It didn’t help.
- I have tried to power up Raspberry Pi 4B with USB Type C 3.0A power adapter and over GPIO connector from another board (with 5V 4.0A power adapter).
- Based on the review of my drive (https://www.storagereview.com/node/1237) it uses about 2,5Watt at the peak times. I am not sure is it much or not.
- I have also tried another 2.5" HDD. And the behavior is absolutely the same.
Thanks,
Aleks.