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.

Disk Utility Errors for APFS

Installed 10.13 on 3rd machine yesterday (Mid 2015 15" Pro. 500GB) - this was a fresh install through internet recovery. Had noticed some hang issues on boot from sleep so ran disk utility and noticed a few of these errors in a single first aid pass:


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


No luck on research so I wiped everything again, deleted partition/container and initially created as HFS and then converted to APFS before an install from USB.


The same errors are back in disk utility except now I see about 40 or 50 in a single first aid pass.


Any assistance would be welcome before I just go back to extended journal on this machine. Thanks!

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

Posted on Sep 29, 2017 2:13 PM

Reply
Question marked as Best reply

Posted on Oct 7, 2017 11:39 AM

Terry, not that it will help to solve your problem directly, but I am seeing this same warning, and perhaps my details will be a hint as to how to solve this problem, eventually.

In my case, I was running a Carbon Copy Cloner backup of one external USB drive to another external USB drive, and accidentally unplugged the cable leading to the dock that contained the two drives during the backup. Bad move: this killed the backup, of course, but worse: After that, I was no longer able to access those two drives. I can see the drives in the Disk Utility application and from diskutil and fsck_apfs on the command line, but I cannot repair the volumes or mount them. I can add volumes to the container, but not access the container that has my data. fsck_aps from recovery mode, another boot disk, or from single user mode gives the invalid dstream error. This seems to have something to do with disk encryption, but command line things intended to decrypt did not work for me either. After many hours of working on this, I am giving up until some other clue arises or somebody updates their disk repair utility to be able to address this. Maybe a future version of Disk Utility, maybe Disk Warrior (cannot deal with apfs yet). So right now I have lost 1TB of data. My fault, of course, for adopting a new file system so early, and for converting my external spinning hard drives to apfs so early on. On the other hand, I feel that Apple might have put apfs out there just a teensy bit half-baked.

One strange thing that MIGHT be a clue: on bootup, the system asks for the disk encryption password for each of the two external USB drives, and it always asks twice for each one, but does not mount them. This does not have to do with USB as a connection method, since it happens when I put the drives in an external thunderbolt box as well.

19 replies

Disk Utility Errors for APFS

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