Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

corrupted external (encrypted) apfs drive on High Sierra (17A365)

Im having trouble accessing data on my external USB disk - it just won't mount...

I get the prompt to unlock, which I do, but it does nothing...

(I should note that I don't actually remember being prompted to convert or encrypt this drive - it was originally non encrypted hfs+)


so Ive tried to access the data manually.

here are the commands I've tried:

MacBook-Pro:~ winston$ diskutil apfs list

APFS Containers (2 found)

|

+-- Container disk1 F053D8CA-FCD5-4DA1-9B55-2CFD9358C817

| ====================================================

| APFS Container Reference: disk1

| Capacity Ceiling (Size): 250685575168 B (250.7 GB)

| Capacity In Use By Volumes: 60124053504 B (60.1 GB) (24.0% used)

| Capacity Available: 190561521664 B (190.6 GB) (76.0% free)

| |

| +-< Physical Store disk0s2 6CD6F9E8-A5D2-462F-9FD5-30F53DA79BDD

| | -----------------------------------------------------------

| | APFS Physical Store Disk: disk0s2

| | Size: 250685575168 B (250.7 GB)

| |

| +-> Volume disk1s1 536134D5-97EF-3F6A-A800-9F7534134D72

| | ---------------------------------------------------

| | APFS Volume Disk (Role): disk1s1 (No specific role)

| | Name: Macintosh HD (Case-insensitive)

| | Mount Point: /

| | Capacity Consumed: 58372382720 B (58.4 GB)

| | Encrypted: Yes (Unlocked)

| |

| +-> Volume disk1s2 E612AB5E-573D-43B8-89C3-2D13EC1EB51D

| | ---------------------------------------------------

| | APFS Volume Disk (Role): disk1s2 (Preboot)

| | Name: Preboot (Case-insensitive)

| | Mount Point: Not Mounted

| | Capacity Consumed: 19582976 B (19.6 MB)

| | Encrypted: No

| |

| +-> Volume disk1s3 CB89ADFC-5E88-4E2D-BA49-2A61B835FDD1

| | ---------------------------------------------------

| | APFS Volume Disk (Role): disk1s3 (Recovery)

| | Name: Recovery (Case-insensitive)

| | Mount Point: Not Mounted

| | Capacity Consumed: 519995392 B (520.0 MB)

| | Encrypted: No

| |

| +-> Volume disk1s4 FD99C996-1598-49F1-86FB-844F3EB2BC9D

| ---------------------------------------------------

| APFS Volume Disk (Role): disk1s4 (VM)

| Name: VM (Case-insensitive)

| Mount Point: /private/var/vm

| Capacity Consumed: 1073762304 B (1.1 GB)

| Encrypted: No

|

+-- Container disk3 9E266FE0-44BE-45DA-8B3B-5FFF516DA936

====================================================

APFS Container Reference: disk3

Capacity Ceiling (Size): 2000054960128 B (2.0 TB)

Capacity In Use By Volumes: 1803515199488 B (1.8 TB) (90.2% used)

Capacity Available: 196539760640 B (196.5 GB) (9.8% free)

|

+-< Physical Store disk2s2 0D58B399-E394-4363-A3B4-E13ED67630A0

| -----------------------------------------------------------

| APFS Physical Store Disk: disk2s2

| Size: 2000189177856 B (2.0 TB)

|

+-> Volume disk3s1 825D0194-AD96-3E8D-A6D3-DB34309E5285

---------------------------------------------------

APFS Volume Disk (Role): disk3s1 (No specific role)

Name: Stuff (Case-insensitive)

Mount Point: Not Mounted

Capacity Consumed: 1803214802944 B (1.8 TB)


*note - my command prompt doesn't re-appear?

so I try to unlock:

MacBook-Pro:~ winston$ diskutil apfs unlockVolume /dev/disk3s1

Passphrase:

Unlocking any cryptographic user on APFS Volume disk3s1

Error unlocking APFS Volume: The given APFS Volume is not locked (-69589)


then I ty fsck:

MacBook-Pro:~ winston$ sudo fsck_apfs -y -f /dev/disk3s1

warning: option -f is not implemented, ignoring

** Checking volume.

** Checking the container superblock.

** Checking the EFI jumpstart record.

** Checking the space manager.

** Checking the object map.

** Checking the APFS volume superblock.

** Checking the object map.

dev_init:453: Using /private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/fsck_apfs.761/apfs and /private/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/T/fsck_apfs.761/nx for device-io.

** Checking the fsroot tree.

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

warning: invalid dstream.default_crypto_id (0x0) for encrypted volume, given apfs_fs_flags (0x8)

** Checking the snapshot metadata tree.

** Checking the extent ref tree.

** Checking the snapshots.

** Verifying allocated space.

** The volume /dev/disk3s1 appears to be OK.

MacBook-Pro:~ winston$



Im totally at a loss...

Is there anything I can do to recover my data?

MacBook Pro with Retina display, macOS High Sierra (10.13)

Posted on Sep 29, 2017 7:08 PM

Reply
Question marked as Best reply

Posted on Oct 16, 2017 12:07 PM

I have a disk with the same situation, but it's an external one. It was encrypted with File Vault, and now is completely unreadable.

It doesn't mount, doesn't unmount, doesn't eject, and also freezes Disk Util whenever connected.

When plugged, it asks for the password twice (which is the same I use in a couple other external disks), and doesn't log in. 😟

17 replies

corrupted external (encrypted) apfs drive on High Sierra (17A365)

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