I have an external encrypted drive, and almost every time I plug it in, it'll ask me for the password, even though it's already in my keychain. If I type the password in, it'll mount as expected. Oddly, if I hit cancel, it still mounts anyway, presumably because the password is in the keychain.
The problem is that it prompts for a password each time, even though it clearly doesn't need it because the password is in the keychain.
Possible oddities/useful details:
- Mac OS X 10.9.1 Mavericks (though not a recent issue)
- USB3 Guardian Maximus (2x 2TB HDDs in RAID1)
- Drive is partitioned into two Logical Volume Groups each with a Logical Volume Partition, Formatted as Mac OS Extended (Journaled, Encrypted)
On plugging in the disk, I get the following in the Console:
21/02/2014 9:41:22.000 am kernel: USBMSC Identifier (non-unique): 20202020202020202020202036564D4344594535 0x525 0x3100 0x0, 3 21/02/2014 9:41:24.000 am kernel: CoreStorage: fsck_cs has finished for group "BB4FAC13-41D6-4432-BBE6-BFC79161DE11" with status 0x00 21/02/2014 9:41:24.000 am kernel: CoreStorage: fsck_cs has finished for group "9072D797-3F1C-447C-9EF7-801428DB9C8B" with status 0x00 21/02/2014 9:41:24.799 am com.apple.kextd: LVG changed 21/02/2014 9:41:24.801 am com.apple.kextd: LVG changed 21/02/2014 9:41:24.000 am kernel: CoreStorageFamily::unlockVEKs() failed to unwrap the vek, status = e00002bc 21/02/2014 9:41:25.021 am com.apple.kextd: LVG changed 21/02/2014 9:41:25.000 am kernel: CoreStorageFamily::unlockVEKs() failed to unwrap the vek, status = e00002bc 21/02/2014 9:41:25.025 am com.apple.kextd: LVG changed
After mounting, it just says: (
PARTITION_# are partition labels)
21/02/2014 9:41:25.000 am kernel: hfs: mounted PARTITION_1 on device disk3 21/02/2014 9:41:53.000 am kernel: hfs: mounted PARTITION_2 on device disk4
I did the keychain repairs/resets as suggested by @megadroid and things seemed better briefly, but still not 100% reliable.
What I've noticed since then is that it's much more likely to mount cleanly (without the redundant password prompt) if the computer is unlocked, whereas if it's asleep or locked (i.e. password required after screensaver activates) then they won't mount cleanly.
Haven't really tested this thoroughly, but am wondering if it's actually something completely different, like the locked/unlocked state of my account (and perhaps therefore my keychain?), that causes the prompts to appear and the disk to fail auto-mounting.
Just plugged it in, everything mounted cleanly/without prompt before I'd logged in. So it's not the keychain being locked while the computer is locked.