Raspberry Pi 4 Power Consumption Concerns with Multiple SSDs for Hosting Encrypted Cloud

March 3, 2024, 19:13

michele00

Hi there, I'm using a Pi4 with three SSDs (128GB, 512GB, 512GB) attached to a USB 3.0 hub, which is in turn connected to a USB 3.0 port on the Raspberry Pi. I'm currently hosting an Encrypted Cloud on it. Do you think the Raspberry Pi can handle the power consumption from all these devices? A corrupted bit could result in an inaccessible file.

oops.se

Run sudo lsusb -v|egrep "^Bus|MaxPower"*

oops.se

That will tell you the max power consumptions for the SSDs and other USB connected devices.

michele00

Well... Nothing happens

oops.se

And if the combined current is over 1,2A then it is a no

michele00

Oh egrep

michele00

my bad

michele00

bash
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    MaxPower                0mA
Bus 002 Device 005: ID 152d:0576 JMicron Technology Corp. / JMicron USA Technology Corp. Gen1 SATA 6Gb/s Bridge
    MaxPower              896mA
Bus 002 Device 004: ID 174c:1153 ASMedia Technology Inc. ASM1153 SATA 3Gb/s bridge
    MaxPower                0mA
Bus 002 Device 003: ID 174c:1153 ASMedia Technology Inc. ASM1153 SATA 3Gb/s bridge
    MaxPower                0mA
Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. Hub
    MaxPower                0mA
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    MaxPower                0mA
Bus 001 Device 003: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
    MaxPower                0mA
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
    MaxPower              100mA
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    MaxPower                0mA

michele00

Seems like it isn't

oops.se

But that is only one SSD

oops.se

That is consuming nearly 900mA

oops.se

You can do a watch -n1 'lsusb -v|egrep "^Bus|MaxPower"' that will see if a new device is connected and show the power consumption

michele00

Do you think I should buy a Powered Hub?

michele00

For those three ssds

oops.se

It looks like it yes

michele00

Okay... Thank you so much!

oops.se

Your welcome