During lengthy USB copy procedures I have started to get write failures on the above setup. To be specific, it’s a Seagate Expansion Desktop hard drive connected to the single USB port on my Odroid HC2. The hard drive is mounted on /dev/sda.
Rsync gives this sort of error:
“write failed” “Read-only file system (30)rsync error: error in file IO (code 11) at receiver.c”
I’ve also had to stop using a borg backup setup with the drive as at some point during backups it’s started telling me this sort of thing:
Incorrect file length (expected xxxxxxxxx, got xxxxxxxxx)
These errors are only examples. I think they’re a sign of a USB disconnection happening. I am really sorry not to be using the Github system to report this, but I’ve tried searching it and don’t know where to begin.
The hardware setup I have now used to work fine. I’m writing here in order to try and start a step by step troubleshooting process. I am considering contacting Seagate to get a replacement USB cable in case it’s that.
I’m running DietPi v6.26.3/Odroid XU3/XU4/HC1/HC2 (armv7l).