I have recently turned by Raspiberry Pi 4B into a small NAS. However, I noticed that the Pi disconnects from Ethernet from time to time. Whenever this happens (e.g. ssh not responding or Pi not reachable in network) the green and yellow lights of the Pi's Ethernet port turn off, while the red front led is still on, which made me think that the 4A charger might not supply the whole system with enough power. My setup looks as follows:
- Raspberry PI 4B in a Geekwork NASPi case, connected to my router via Ethernet.
- OpenMediaVault 6
- 2TB Seagate Barracuda 2.5" hard drive (ST2000LMZ15), connected via USB with a SATA adapter. The OS is installed on an SD card if that is important.
- 5V 4A Geekworm Type-C power supply
All information I have found regarding this problem (like this post for example) was rather old and even suggested that a 4A power supply should be enough. Sadly, I did not really find any information about how much current the hard drive draws (amazon states that it requires 8W, but I don't really know how reliable that information is). I also do not have the required equipment to measure any of the components' current drain or the quality of the power supply.
Therefore, I wanted to reach out to the community to ask whether you think that the power supply could be the problem here. Also, if this is the case, do you have a suggestion for a suitable Type-C power supply?
Thank you very much in advance!
grep "Under-voltage" /var/log/syslog
should confirm if that is really the problem. It can't really rule it out if it is a periphery drive that's failing, but then there will be other clues about that, as there should be about the eth port going offline: Note that the amber light should always be on if the cable is plugged in at both ends and both systems have power. It indicates there's a link, which does not necessarily mean "viable connection with an IP address etc.", it just means it is physically connected, so if it is going out something odd may be happening. – goldilocks Mar 25 '22 at 16:43grep "Under-voltage" /var/log/syslog
yields nothing. What exactly do you mean by "other clues"? – Roysten R. Mar 25 '22 at 17:51dmesg
is another possibility. – goldilocks Mar 25 '22 at 20:07