Encrypted APFS external drive won't mount

I have an external drive that is encrypted and in APFS format. Today while I was using it, somehow it became very slow. I suspect this is due to the encryption so I right clicked on the drive and selected decrypt. Then after some time the drive stopped responding and disappeared in finder. I went to disk utility and try to mount it manually but nothing happened. Tried restarting my mac / boot in recovery mode, but this drive still don't mount. And more strangely the stored password in keychain seemed lost as during one of my attempts a password prompt pops out. I also tried first aid but it just thrown out some errors. What shall I do now? The disk is a WD Red 8T. Before today nothing unusual happened, and the disk was in good condition, no SMART warning etc.

MacBook Air 13″, macOS 15.2

Posted on Dec 19, 2024 10:57 PM

Reply
Question marked as Top-ranking reply

Posted on Dec 20, 2024 9:07 AM

The file system is corrupt. Try running First Aid several times to see if it will slowly fix some errors with each pass. If after several attempts the same errors remain, then you will need to start over by erasing the whole physical drive.


Did you use a third party app such as DriveDx to check the health of the external backup drive? Even then, you need to install a special USB driver in order to access the external drive's SMART health information. The SMART health information is not available without this special USB driver. And the Disk Utility "SMART status" indicator will only alert when the drive is nearly dead...it will not warn you when a problem starts to occur....and Disk Utility cannot read the SMART health information of external drives at least without having a special USB driver installed.


FYI, the encryption is rarely ever a problem in performance or other issues. I think I only ever encountered one Apple encrypted drive where decrypting the drive was necessary to fix a problem. Usually decrypting a drive to troubleshoot a problem is the worst thing to do since it leaves the file system in a mixed state (partially encrypted & partially decrypted/unencrypted. When this happens the file system usually cannot be repaired and data recovery apps are unable to work properly.


I'm not sure if you noticed, but the encrypted volume was unlocked and the problem was actually mounting the unlocked volume. Unfortunately Disk Utility doesn't provide a distinction & gives a misleading error message. The truth is revealed when using the command line.

7 replies
Question marked as Top-ranking reply

Dec 20, 2024 9:07 AM in response to Jacob_JJJ

The file system is corrupt. Try running First Aid several times to see if it will slowly fix some errors with each pass. If after several attempts the same errors remain, then you will need to start over by erasing the whole physical drive.


Did you use a third party app such as DriveDx to check the health of the external backup drive? Even then, you need to install a special USB driver in order to access the external drive's SMART health information. The SMART health information is not available without this special USB driver. And the Disk Utility "SMART status" indicator will only alert when the drive is nearly dead...it will not warn you when a problem starts to occur....and Disk Utility cannot read the SMART health information of external drives at least without having a special USB driver installed.


FYI, the encryption is rarely ever a problem in performance or other issues. I think I only ever encountered one Apple encrypted drive where decrypting the drive was necessary to fix a problem. Usually decrypting a drive to troubleshoot a problem is the worst thing to do since it leaves the file system in a mixed state (partially encrypted & partially decrypted/unencrypted. When this happens the file system usually cannot be repaired and data recovery apps are unable to work properly.


I'm not sure if you noticed, but the encrypted volume was unlocked and the problem was actually mounting the unlocked volume. Unfortunately Disk Utility doesn't provide a distinction & gives a misleading error message. The truth is revealed when using the command line.

Dec 20, 2024 9:51 AM in response to Jacob_JJJ

The APFS file system is corrupt. That is the source of the problem....the encryption had nothing to do with it (although it may now be playing a part if the drive is a mixed state of encrypted & unencrypted).


You can try using a data recovery app such as Disk Drill or Stellar Data Recovery to scan the volume to see what it may be able to find. However, if the data recovery app needs to do an extended or raw scanning of the drive, then you will only be presented within hundreds of thousands of unnamed files & folders sorted only by approximate file type. They usually allow you to scan a drive to see what items they can find. They may even allow you to recover a few small files as a test before requiring you to pay.



Dec 20, 2024 9:20 AM in response to HWTech

I followed a post I came across on the internet and tried to mount it readonly:

(base) ➜  ~ diskutil mountDisk readOnly /dev/disk5                                                                                                                             
Volume(s) mounted successfully  

The volume do mount and I can see the directory structure, but the problem is I cannot read any of the files. I want to recover as much data as possible. I would still suspect the encryption issue because I have another drive in the same disk dock station (it's a two-bay DAS) and that one is an older version of WD Red disk yet that one runs without any problem. The only difference is the other one doesn't have encryption.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Encrypted APFS external drive won't mount

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.