Hi,
I have connected 3 hard drives (not externally powered) to the pi. But they periodically disconnect without any error. It's usually works fine when I restart the pi but only for 5 mins. Is this a power output problem? How can I supply more power to the pi? Or can I supply more power to the hard drives if they are not externally powered?
Thanks
-
- Posts: 8
- Joined: Sun Oct 27, 2019 4:12 pm
- default_user8
- Posts: 680
- Joined: Mon Nov 18, 2013 3:11 am
Re: Multiple hard drives keep disconnecting
Are you using a usb hub?
Two heads are better than one, unless one's a goat head.
-
- Posts: 8
- Joined: Sun Oct 27, 2019 4:12 pm
Re: Multiple hard drives keep disconnecting
No, I'm not. All hard disks are plugged into the pi directly
- default_user8
- Posts: 680
- Joined: Mon Nov 18, 2013 3:11 am
Re: Multiple hard drives keep disconnecting
I'm surprised your pi is booting with all those drives plugged in directly. Try using a usb hub and see if your problem persist.
P.S. I see you asked this same question on your other thread about your plex server, you should refrain from redirecting threads to help get your questions answered in a timely fashion and to help others when they search for answers to similar questions they may have.
P.S. I see you asked this same question on your other thread about your plex server, you should refrain from redirecting threads to help get your questions answered in a timely fashion and to help others when they search for answers to similar questions they may have.
Two heads are better than one, unless one's a goat head.
Re: Multiple hard drives keep disconnecting
I got around a similar problem by using splitter cables, which have 2 x male and 1 x female USB ends. One male has a red band (power), and is plugged into something with USB power, like a 2A phone charger. The other male end (data) is plugged into either a non-powered USB hub, or a Pi USB socket. Then the external drive is plugged into the female socket.
That should relieve some of the power drain on the Pi, although my cable sometimes seem to leak a little power back into the Pi USB socket..
Anyway, I use that to spin up a 3TB drive that otherwise just sits and clicks when plugged directly into the Pi USB3 socket. The splitter cables are only a few dollars each on ebay or Amazon (might be why mine feeds some power back...) But I've been doing it on the Pi 3, 3B+ and 4, with nothing blowing up yet..
It might be a GOOD IDEA to 'Eject' any external drives before you shutdown or reboot - probably doesn't matter about shutdown, but especially before you reboot.
I found that leaving an external drive mounted on reboot sometimes stops reboot from happening,
That should relieve some of the power drain on the Pi, although my cable sometimes seem to leak a little power back into the Pi USB socket..
Anyway, I use that to spin up a 3TB drive that otherwise just sits and clicks when plugged directly into the Pi USB3 socket. The splitter cables are only a few dollars each on ebay or Amazon (might be why mine feeds some power back...) But I've been doing it on the Pi 3, 3B+ and 4, with nothing blowing up yet..
It might be a GOOD IDEA to 'Eject' any external drives before you shutdown or reboot - probably doesn't matter about shutdown, but especially before you reboot.
I found that leaving an external drive mounted on reboot sometimes stops reboot from happening,
Remember, nobody is listening to you
until you fart ...
until you fart ...
- thagrol
- Posts: 4194
- Joined: Fri Jan 13, 2012 4:41 pm
- Location: Darkest Somerset, UK
- Contact: Website
Re: Multiple hard drives keep disconnecting
Certainly sounds like a power problem. Which model Pi and what are you uing for a PSU?solidsnake wrote: ↑Mon Oct 28, 2019 12:25 amHi,
I have connected 3 hard drives (not externally powered) to the pi. But they periodically disconnect without any error. It's usually works fine when I restart the pi but only for 5 mins. Is this a power output problem? How can I supply more power to the pi? Or can I supply more power to the hard drives if they are not externally powered?
Thanks
Try using a self powered UBS hub and including "nofail" in your mount options. "nofail" means your system will continue to boot even if the mount fails.
A USB hub without its own power supply won't help and may make things worse due the, admittedly small, additional power drain.
Arguing with strangers on the internet since 1993.
All advice given is based on my experience. it worked for me, it may not work for you.
All GPIO pin numbers are BCM numbers.
All advice given is based on my experience. it worked for me, it may not work for you.
All GPIO pin numbers are BCM numbers.
-
- Posts: 8
- Joined: Sun Oct 27, 2019 4:12 pm
Re: Multiple hard drives keep disconnecting
Thanks everyone. I've ordered a powered USB hub which I'll try tomorrow and let you know if the problem still persists.
@thagrol - I have pi 4 and use a 5A power supply
@thagrol - I have pi 4 and use a 5A power supply
- thagrol
- Posts: 4194
- Joined: Fri Jan 13, 2012 4:41 pm
- Location: Darkest Somerset, UK
- Contact: Website
Re: Multiple hard drives keep disconnecting
5 amp is way over the recommended amountsolidsnake wrote: ↑Mon Oct 28, 2019 1:22 pmThanks everyone. I've ordered a powered USB hub which I'll try tomorrow and let you know if the problem still persists.
@thagrol - I have pi 4 and use a 5A power supply

Even if the PSU is capable of providing 5 amps, the 4B can only provide 1.2 amps across all connected USB devices. Anything the PSU can provide above 1.2A + what the 4B needs won't be drawn.
Current required to initially spin up multiple HDD can easily exceed the 1.2A limit.
Arguing with strangers on the internet since 1993.
All advice given is based on my experience. it worked for me, it may not work for you.
All GPIO pin numbers are BCM numbers.
All advice given is based on my experience. it worked for me, it may not work for you.
All GPIO pin numbers are BCM numbers.
-
- Posts: 8
- Joined: Sun Oct 27, 2019 4:12 pm
Re: Multiple hard drives keep disconnecting
Update - the problem was resolved after I used a powered USB hub and changed the cables. Don't know whether it was the cables of the power but I'm not too bothered as it's working perfectly now