What troubleshooting tips are there for mounted barely functioning external harddrives?

0

I have an external disk which I reformatted as exFAT so that it would be readable by all platforms. Ever since I did that I have problems with it. I have been able to work around the problems up until now. I'm just trying to move the files off of it onto another disk and I've moved 90% of them but the final 10% might be lost. I can do the terminal commands:

mv /volumes/bad_disk/hey.txt /users/me/hey.txt

and although that command will succeed in moving the file, the disk sort of crashes after that. If I wait about 5 minutes, or I restart my computer, or unplug the disk and plug it back in, then it will be operable again. I'm using a MAC.

Another strange behavior is that sometimes when I use the above command

mv /volumes/bad_disk/hey.txt /users/me/hey.txt

The operation will take about 3 minutes and make a lot of the other operations on my mac inoperable but it will get the job done eventually.

Any tips would be appreciated.

kylefoley76

Posted 2019-11-04T00:16:02.980

Reputation: 243

1The drive's symptoms aren't really like anything I've seen, so I can't give much advice. But I will recommend one thing: use cp instead of mv. mv between volumes essentially copies the file (like cp), and then tries to delete the original. Making unnecessary changes (like deleting files) on a failing volume can cause volume structure corruption, contribute to its physical failure, and is generally just another thing to go wrong. Actually, if possible I'd mount the volume as read-only to prevent anything like this. – Gordon Davisson – 2019-11-04T18:08:47.817

No answers