No container superblock with an XID that doesn't exceed 0xffffffffffffffff exists in the checkpoint descriptor area. #11
Replies: 4 comments
-
We don't currently support APFS block sizes other than 4096 bytes (this is the default given in the spec), but it appears that your partition uses an APFS block size of 8192 bytes, which is why checksum verification and block seeking is not working as expected. I'll add better support for this to the roadmap, but for now, you can try editing line 16 of |
Beta Was this translation helpful? Give feedback.
-
You're right, that seemed to mostly resolve my issues exploring my drive. I will continue troubleshooting using the additional tools that you've provided. The drive was encrypted with FileVault before I started having issues. Are there any flags or code I should alter to pass in the encryption key? apfs-inspect looks all good up until the following:
I can write something to explore the case handling if you point me in the right direction. |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, we don't support encryption at all currently — sorry about that! — but it's on the roadmap. Only the filesystem B-tree and the file data/metadata are encrypted, so what you get is expected. The case handling mentioned there is in relation to using an older checkpoint/XID if data in the current one appears to be malformed. In your case, trying to use an older checkpoint is futile because we need encryption support first. |
Beta Was this translation helpful? Give feedback.
-
Thanks for that. I will keep following to see when you implement the encryption support. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm wondering if you could provide some guidance on restoring mounting ability to an external drive that is currently formatted as apfs (I won't make that mistake again).
I successfully built your tools on an M1 MacBook Pro (incase you were wondering about compatibility) but am now running into an error I think has to do with the B-tree node since this is the output from fsck_apfs:
sudo fsck_apfs -y /dev/disk4s1
Here is the output from
sudo ./apfs-inspect /dev/disk4s1
Also if it's helpful...
Here is the output of `diskutil apfs list`:
Here is the output of `diskutil list`:
If you could even point me in the direction of some documentation that might let show me how to manually edit the B Tree to match what is expected that would be great. Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions