How to detect the issue?
External SSD disk drives may be written files without issues, but when you try to read files, especially larger ones, or copy them from the disk, the process in hanging showing the following dialog box with no progress:
After some time, the external drive will disconnect showing the following error message:Preparing to copy
The process fails when your disk suddenly disappearsDisk not ejected properly
The same happened when I just left the disk connected to the MacBook for some 15 minutes, so it didn't actually even require any action.The operation can't be completed because the device disappeared
What is wrong?
I have tested the issue and found a solution. My problems started when upgraded my 1 TB external SSD drive to 4 TB. At first I didn't notice anything. Storing files to disk and taking backups worked. Then I needed to get back some files from the disk and that's when the problems started. At first I though the drive was breaking up or the file system got corrupt. I took the disk to service to discover it had 99% health left and no hardware issues. Then I tested the drive with various MacBooks and iMacs. I was suspecting that there was not enough power in the USB-C bus for the drive, or the issue was in the operating system version I was currently running. The same issue manifested in all the test computers. That led me to suspect that perhaps the issue was in MacOS itself and related to the high speed SSD drives. To test my hypothesis, I cloned the external SSD disk to an external hard disk. All my data was perfectly fine, accessible and working on the slow disk.
How to fix the issue?
If you are having similar issues with your external hard drive, simply clone the non-functional disk to an old, slow hard disk. To clone your disk, you need to buy a new external hard disk that is the same size as your current, non-functional drive. This is important. Otherwise you have to resize your current disk which is a tad more complicated.
Here are the steps to take:
- Open terminal to use command line
- List the disks to find the correct ones for cloning typing the following command
Code: Select all
diskutil list
- Type command
Code: Select all
sudo dd if=/dev/diskXXX of=/dev/diskXXX bs=1m status=progress
When cloning is ready, disconnect the source drive and mount the destination drive. You should not connect the drives at the same time as they are identical and will confuse the OS, especially if you have there timemachine backups. Luckily dd is using raw disk data while the issue appears to be on the logical layer.
Final words
Unfortunately MacOS is not open source so I have no way to check the code, fix it and provide a working solution for everyone. Apple does not seem to have any interest in fixing the issue judging from the countless reports and posts I have read. I have not shared this solution with Apple or discussed it on Apple Support Community forum as I don't like to deal with the stupid cult and clueless idiots protecting Apple by hiding issues and blaming users.
Do not get an SSD disk If you consider buying an external hard disk for your Mac. They are not work properly if at all with current MacOS versions.
Happy hacking,
Santeri
PS. Don't bother trying solutions to disconnecting drives proposed in various web sites, or installing some shady apps for a fix. They do not work. This is the only working solution until Apple does their job and fixes the bug they have created.