External SSD Suddenly Failing on DietPi (RPi5)

Just posting this on the chance someone might have some relevant experience or knowledge.

For some time (two years, I think) I’ve had a Pi 5 running DietPi and some services including NZBGet, with NZBGet using an external 1TB Crucial X8 drive for storage. It all worked fine until this evening when I found that I couldn’t access the shared media drive from my desktop.

I SSH’d into the Pi and the drive wasn’t visible. I pulled the drive and plugged it into my desktop and everything looked fine. I then plugged it back into the Pi and it showed up and worked for a while but then disappeared again. I’ve repeated the check on my desktop and the drive still looks okay. I’ve also tried swapping the power supply for the Pi from the previous one (which was the official Pi5 PSU) to a more powerful PSU and the same problem occurs.

I guess it’s possible that the Pi USB hardware has failed in some way, but it still seems to recognise other devices. The obvious next step for me is to try a fresh Pi OS install and see what happens but I can’t get to that right now so I thought I’d just float the issue on th forum and see if anyone had ideas.

I too think there’s a chance the hardware failed somehow. Have you checked if the drive works on the USB 2.0 ports? They should be running on a different path compared to the USB 3.0 ports, which I assume you were using for your external SSD.
Does the drive report an healty SMART test?

2 Likes

My guess as the X8 require a fairly bit of power (up to 15w) the PI’s voltage regulator overheats.
It might not have degraded yet.
Do you have any active cooling or heatsinks on the board itself?

2 Likes

The drive isn’t being recognised on either set of ports now. It was showing on the USB 3.0 ports for a while but dmesg showed it connecting and immediately disconnecting in a loop.

I tried disabling UAS and falling back to usb_storage but that didn’t help. I also reinstalled the latest DietPi.

I’m in the process of just moving the drive and NZBGet to my mini-PC server and it has mounted there quite happily. The Pi still recognises a flash drive so I can only guess that it is something to do with the power delivery degrading. I’ll try again with a powered hub at some point but right now I just need to get the service back up.

1 Like

It’s in a heatsink case. It gets warm but I’ve never had issues with the CPU throttling for my use. I suspect that it’s just not a good idea to run an external SSD hanging off the USB port for years.

It really should not be a issue, Just about all modern voltage regulators and USB ic’s have thermal management features to prevent degradation and failure.
When a ic gets to hot, it commonly regulates down it’s own max output to to decrease heat generation.
Chips still fail of course but in most cases it something external or a dead capacitor/resistor killing the chip from my own experience.

Oh btw which power supply do you use the 5v or the 12v?
I happen to remember the 5v supply limits the usb ports combined power to 400 or 600mA, which is about 2-3W and way to low for a external ssd.

Also have you considered just removing the ssd from the external housing (As it contains a standard 2280 nvme drive) and using the pi m.2 nvme ssd hat?
M.2 ssd’s run on 3v and lower, it’s the usb housing which require 5v and steps it down to 3v for the ssd.
So you can fully eliminate any 5v related issues, also the ssd should require way less power as the usb housing likely required more power than the ssd itself.

1 Like