ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: New Zealand

Re: Keeping HDDs healthy (and not making them fail)

Thu May 01, 2014 11:14 am

rpdom wrote:You don't need to damage any of the ports. Just a cable. Make a careful cut in the outer insulation, pull out a bit of the red wire, cut the wire and carefully isolate it with tape. Make sure it can't touch anything else, like the braided shield around the cable.
I did this too, so that I could have two power supplies, one for the Pi and one for the HDD. Only the ground and data lines are common to both devices. Right now (as mentioned) both devices are working off a single 2A PSU.

I had another idea, which I shall try if my current configuration stops working. I have seen power supplies for iPhones which have two USB outputs. One is rated at 2.1A, and the other is rated at 1A. The total output is 3.1A. I could buy one and try connecting the hard drive to the 2.1A output, and the Pi to the 1A output. If they are truly independent then a load on the 2.1A output should not cause the Pi to brown out.

dropko
Posts: 11
Joined: Sat Apr 26, 2014 4:50 pm

Re: Keeping HDDs healthy (and not making them fail)

Fri May 02, 2014 9:43 am

That is in fact an intelligent hack.

How do you "gracefully shutdown" an HDD that is PSU powered in order to prevent data corruption? Only possible with one of those switched caddies?

My ideal situation is still using a 2.5" USB powered "mobile" HDD. But properly used.

Maybe the best is to make sure Pi can be powered through the mini-USB and not the "standard" USB so they don't shutdown mutually. And apply the rootwait in the configuration and shutdown via ssh.

ame
Posts: 3172
Joined: Sat Aug 18, 2012 1:21 am
Location: New Zealand

Re: Keeping HDDs healthy (and not making them fail)

Fri May 02, 2014 10:01 am

You don't 'shutdown' the HDD as such, just unmount it then it's safe to unplug it.

dropko
Posts: 11
Joined: Sat Apr 26, 2014 4:50 pm

Re: Keeping HDDs healthy (and not making them fail)

Sat May 03, 2014 10:01 pm

Ok, seems I have now the basis for setting up. I will evaluate the caddy solution but my favoured is still using the USB-powered "mobile" disk, as my Pi "travels" a lot and I don't want to carry bulky PSUs...

slado
Posts: 21
Joined: Thu Aug 16, 2012 6:23 am

Re: Keeping HDDs healthy (and not making them fail)

Fri Aug 15, 2014 9:42 pm

Hot-plugging a HDD to the RPI and supplying it via USB can be reliable using a supercapacitor like in the following module:

www.juice4halt.com

Everytime the HDD spins up the RPI crashes without the module.

Return to “Troubleshooting”