Password-protected Time Machine disk can't be unlocked on Mac

"The disk "NAME" can't be unlocked. A problem was detected with the disk that prevents it from being unlocked.


I've tried ejecting it, disconnecting and connecting several times, and running First Aid.


Anything I've tried to do fails.


I used this external disk as a Time Machine backup, protected by a password.


How do I fix this?


[Re-Titled by Moderator]

MacBook Air 13″, macOS 15.1

Posted on Nov 15, 2024 8:05 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 19, 2024 10:14 PM

See if there are any firmware updates for that SanDisk SSD. I recall one of the older models having a severe firmware bug which caused data loss on the SanDisk SSD. WD/SanDisk offered a firmware update to fix a related issue, but never mentioned the data loss issue. Some suspected that other models were affected as well.

https://support-en.wd.com/app/firmwareupdate


Were you using the macOS/Time Machine encryption for the TM backup or were you utilizing the WD/SanDisk proprietary software to manage the SSD's built-in hardware encryption?


I did just recently see post where the user was unable unmount/eject their TM backup drive so they rebooted the system. Afterwards the TM backup drive could not be mounted (I forget the exact error). With macOS encrypted volumes can be difficult to figure out. In my own personal experience supporting my organization's Macs, I have found that when an encrypted external drive will not "unlock" & mount (using Apple's encryption features), the volume is actually unlocked, but it is just not able to mount due to an APFS file system issue. Unfortunately the GUI interface & utilities don't let you know this...many times it appears as if nothing happened.


You may get more details by using the command line to unlock the encrypted volume and trying to mount it using the command line (perhaps even in read-only mode without a file system scan). It is not easy to provide instructions since there are so many variables unless you are already familiar with using the command line.


You can try launching Disk Utility and clicking the "Mount" button to see what happens. Then check to see if the volume was unlocked by clicking on the volume on the left pane of Disk Utility and trying to run First Aid on it. You should run First Aid on the hidden Container. You may need to click "View" within Disk Utility & select "Show All Devices" before the hidden Container appears on the left pane of Disk Utility.


Try disconnecting all other connected devices. Connect the TM backup drive directly to the computer.


Try rebooting the computer. Also try booting into Safe Mode to see if that makes any difference.


If the password was saved, then check the KeyChain and delete the password for the external drive from the KeyChain so you are prompted for it once more.


19 replies
Question marked as Top-ranking reply

Nov 19, 2024 10:14 PM in response to Figment912

See if there are any firmware updates for that SanDisk SSD. I recall one of the older models having a severe firmware bug which caused data loss on the SanDisk SSD. WD/SanDisk offered a firmware update to fix a related issue, but never mentioned the data loss issue. Some suspected that other models were affected as well.

https://support-en.wd.com/app/firmwareupdate


Were you using the macOS/Time Machine encryption for the TM backup or were you utilizing the WD/SanDisk proprietary software to manage the SSD's built-in hardware encryption?


I did just recently see post where the user was unable unmount/eject their TM backup drive so they rebooted the system. Afterwards the TM backup drive could not be mounted (I forget the exact error). With macOS encrypted volumes can be difficult to figure out. In my own personal experience supporting my organization's Macs, I have found that when an encrypted external drive will not "unlock" & mount (using Apple's encryption features), the volume is actually unlocked, but it is just not able to mount due to an APFS file system issue. Unfortunately the GUI interface & utilities don't let you know this...many times it appears as if nothing happened.


You may get more details by using the command line to unlock the encrypted volume and trying to mount it using the command line (perhaps even in read-only mode without a file system scan). It is not easy to provide instructions since there are so many variables unless you are already familiar with using the command line.


You can try launching Disk Utility and clicking the "Mount" button to see what happens. Then check to see if the volume was unlocked by clicking on the volume on the left pane of Disk Utility and trying to run First Aid on it. You should run First Aid on the hidden Container. You may need to click "View" within Disk Utility & select "Show All Devices" before the hidden Container appears on the left pane of Disk Utility.


Try disconnecting all other connected devices. Connect the TM backup drive directly to the computer.


Try rebooting the computer. Also try booting into Safe Mode to see if that makes any difference.


If the password was saved, then check the KeyChain and delete the password for the external drive from the KeyChain so you are prompted for it once more.


Nov 23, 2024 8:40 AM in response to HWTech

Thanks everyone for the thoughtful replies. I've tried everything - ejecting all other peripherals, starting in safe mode, disk utility, using sudo (I also get the "Passphrase incorrect or user does not exist" error.)


I am using a SanDisk SSD hard drive and I am forced to conclude that - especially since my BackBlaze backup logs show the drive just suddenly stopped working in the middle of the night - that the hard drive just went kaput. Lots of Google searching shows SanDisk SSD drives are apparently pretty unreliable and there are actually a few class action lawsuits.


I ordered a new Samsung SSD and BackBlaze is sending me a restore hard drive to hopefully recover most of the contents of the SanDisk drive. Wish me luck.


Thanks again everyone.


Nov 22, 2024 5:27 PM in response to Badeekea

Badeekea wrote:

X@X ~ % sudo diskutil apfs unlockVolume /dev/disk9s1
Password:
Passphrase:
Unlocking any cryptographic user on APFS Volume disk9s1
Passphrase incorrect or user does not exist

I KNOW that the password is correct.

What does it mean by "user does not exist?" I'm using SUDO.

With all the new privacy & security features introduced by macOS over the last several years, "sudo" no longer has the same God like powers it did before.


However, this has nothing to do with "sudo". It has to do with how file system encryption works on macOS. I found this forum post which may help you understand it a bit better. It is about the only reference that I have found which sort of explains it. Basically when a volume is encrypted, a user must be assigned to that encrypted volume. Sounds like that information or the password for that encrypted volume has been damaged or has somehow gone missing. I've seen a few other recent posts where this error has come up. One case that I recall was where the person could not eject the drive because something was still using it, so they rebooted and could no longer unlock the encrypted volume & received the error you mentioned. I believe another one may have been due to a system update (not sure on that one).


https://apple.stackexchange.com/a/409325

Nov 15, 2024 9:17 AM in response to Badeekea

If you need a password to unlock your backup disk on Mac


Do you have the password written down ?


If you back up to an external disk connected to your Mac, and encryption is turned on, then disconnecting the disk may lock it.


To unlock the disk, you must enter the backup password you created when you turned on encryption for the disk.


Store the backup password in your keychain so the drive is unlocked automatically when it’s connected to the same computer in the future. "



Here I am not sure if the Password for the Encrypted TM Backup drive is stored in the Password Application for macOS 15 Sequoia


Use the Passwords app to create, manage, and share passwords and passkeys across Apple devices


Nov 28, 2024 2:56 PM in response to Figment912

Same here! I have an external SD card permanently attached to my Mac that I use as extra storage for data and things that don't require SSD speed.


It was working fine, I kept its password stored in the keychain as I already have Filevault on the machine - and knowing the main password would be much much worse anyway.


After upgrading to Sequoia 15.1.1 I can't unlock the disk anymore - fun fact I can see the same UUID from diskutil and in keychain - but the password, either entered manually or copied + pasted from the vault, simply does not work anymore.


I suspect this could be an issue with Sequoia. I am trying to downgrade to Sonoma on an external drive, but no success... the installation starts but then it does not allow me to reboot into it and asks to reinstall again :-(


I would really like to find a solution for this - there were some documents and other data that I don't want to lose time recreating (but nothing vital, just very very annoying as this should've never happened).

Nov 29, 2024 12:29 PM in response to emiespo

emiespo wrote:

After upgrading to Sequoia 15.1.1 I can't unlock the disk anymore - fun fact I can see the same UUID from diskutil and in keychain - but the password, either entered manually or copied + pasted from the vault, simply does not work anymore.

I suspect this could be an issue with Sequoia. I am trying to downgrade to Sonoma on an external drive, but no success... the installation starts but then it does not allow me to reboot into it and asks to reinstall again :-(

If you want assistance, please create your own thread so that it gets the attention it deserves.


I would really like to find a solution for this - there were some documents and other data that I don't want to lose time recreating (but nothing vital, just very very annoying as this should've never happened).

FYI, the data should be backed up if it is important to you. People should always have frequent and regular backups of their computer and all external media (including the cloud) which contains important & unique data. As SD card connected to the built-in SD card reader slot is considered external media. Apple includes Time Machine with macOS in order to make it easy for people to back up their Macs.



Nov 30, 2024 11:43 AM in response to HWTech

I totally agree with you: backups are very important, but please let’s not use them to cover the fact that Apple has messed up something with the update. It’s a different topic.


As I said my only annoyance in this case is that I’ll have to reformat the disk and recreate folders - I do have backups of things that matter.


The main issue here is that a software update killed a partition, not a hardware failure - in that case I’d only have to blame myself if I lost important data 😉

Nov 30, 2024 12:59 PM in response to emiespo

emiespo wrote:

As I said my only annoyance in this case is that I’ll have to reformat the disk and recreate folders - I do have backups of things that matter.

Good to hear. I've seen so many people post on this forum who have never even had a single backup of their important/critical data.


The main issue here is that a software update killed a partition, not a hardware failure - in that case I’d only have to blame myself if I lost important data 😉

I have never heard of a macOS update/upgrade that killed a partition before although I have seen some reports on this forum where a Sequoia update/upgrade may have caused issues accessing an encrypted volume. Please start your own thread so the community can try to assist you with your specific issue(s). I believe the passwords are now stored in the Passwords app although some passwords may still be stored in the Keychain.


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.

Password-protected Time Machine disk can't be unlocked on Mac

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