To close the loop on this one, that was it - power supply.
I ordered a higher capacity supply, put it in place, and have not had a single instance of connect/disconnect cycling of the drive since then.
Weirdly enough, it also seems like file transfers happen faster too, not sure if that's connected or just my imagination (no testing done) but just noting in case it's useful.
Here's the supply I used. I just ordered another one for a second RPI I've got that manages my music collection!
https://smile.amazon.com/dp/B00L88M8TE?…chk_typ_imgToDp
Posts by tmaddison
-
-
-
-
Hi,
My Libreelec/Kodi is running on an RPI3, LibreELEC 9.2.6.
System has been running for a couple years, no real problems. Love it.
Switched from a 500GB HDD to 500GB SSD today.
External drive keeps disconnecting/reconnecting - "Successfully removed storage device", then a minute or so later "Mounted Removable storage device". Over and over.
Old drive was in an external enclosure with both USB and separate power connector. New drive is in an enclosure with a single USB-C type connector.
Is it possibly a power supply issue? I would think an SSD's power consumption would be pretty low and should run off a USB-C connector.
Supply says it provides 2.4A. If supply current is the issue, would increasing the capacity of the supply help, or is it a limitation of what the RPI can put out on it's USB connector?
If increasing the supply is the answer, any suggestions? Seems hard to find supplies that go above 2.4A that aren't big mulit-port things. Just need a single block with a single output.
Thanks all!
Todd -
Thanks, but unfortunately I'm not sure I'm following the solution on this.. I'm just too much of a dabbler in Linux, would be my guess.
I have an RPI 3 (not 4) running LibreElec 9.2.1 and Kodi build 18.6 dated 2020-03-03.
I have an external 1TB drive plugged into it to use as a local media source. All works fine with that configuration.
If I plug a USB flash drive into it and attempt to transfer a large file from the flash drive to the HDD, it will successfully transfer smaller files (say, up to 500-800 MB) but larger files start with fast transfer speeds (often 20 MB/s or so), but then after copying anywhere from 5 to 20% or so, things often just stop. I can leave it overnight and nothing changes.
This is not consistent - sometimes it starts the file transfer, pauses, slows down, then speeds up again, and sometimes even completes the file transfer. But most often I have to try several times to get it to finish. When it fails, it has usually created a file on my HDD, often 50 MB or so.
If I try any file over 1GB or so, forget it. It's almost impossible. And if I try to transfer multiple files - to, say, set up file transfers and let them run overnight, that almost never works.
Although I'm not a Linux expert, I can Putty into the box and see the file structure.
If I "ps ax | grep ntfs" on the machine I get
/storage/.kodi/userdata$ ps ax | grep ntfs392 root 0:05 mount.ntfs /dev/sdb1 /media/Media -o big_writes,fmask=0133,uid=0,gid=0,utf8
1164 root 0:00 grep ntfs
Which seems to imply to me that "big_writes" is enabled, so the solutions here are already implemented.
My fstab appears to be empty.
Am I reading this incorrectly? Is there something here that I need to do to further troubleshoot this?