Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libfsapfs_volume_superblock_read_data: invalid object type: 0x4000000d. #37

Open
rosubz opened this issue Apr 23, 2021 · 3 comments
Open
Assignees

Comments

@rosubz
Copy link

rosubz commented Apr 23, 2021

libfsapfs_volume_superblock_read_data: invalid object type: 0x4000000d.

This is a libfsapfs safe guard indicating the data it is reading is not a valid volume superblock
But it looks likes a file system root block instead (also see https://github.com/libyal/libfsapfs/blob/master/documentation/Apple%20File%20System%20(APFS).asciidoc#44-object-types)

Do you think the drive is somehow corrupted?

Based on your description so far, is very likely or maybe the container is in a dirty state (which might not be handled properly yet). libfsapfs has a debug output build option which can generated tons of data format information. Also see: https://github.com/libyal/libfsapfs/wiki/Troubleshooting#verbose-and-debug-output

Could you provide me the debug output of:

sudo /usr/local/bin/fsapfsinfo -v -p <password> /dev/disk3 2> debug.log

Originally posted by @joachimmetz in #15 (comment)

@rosubz
Copy link
Author

rosubz commented Apr 23, 2021

debug.log

@rosubz
Copy link
Author

rosubz commented Apr 23, 2021

❯ diskutil apfs list
APFS Container (1 found)
|
+-- Container disk1 5A292071-F699-4AE3-A092-1C0693F07333
====================================================
APFS Container Reference: disk1
Size (Capacity Ceiling): 7747362570240 B (7.7 TB)
Capacity In Use By Volumes: 3336668012544 B (3.3 TB) (43.1% used)
Capacity Not Allocated: 4410694557696 B (4.4 TB) (56.9% free)
|
+-< Physical Store disk0s2 FBC82218-C746-4D64-9A13-31421A3BBD7A
| -----------------------------------------------------------
| APFS Physical Store Disk: disk0s2
| Size: 7747362570240 B (7.7 TB)
|
+-> Volume disk1s1 3363FB9B-2FDC-4137-9838-F0227926E06B
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s1 (System)
| Name: None (Case-insensitive)
| Mount Point: /
| Capacity Consumed: 11257712640 B (11.3 GB)
| FileVault: No (Encrypted at rest)
|
+-> Volume disk1s2 CA980B63-E8BF-4D8D-98F4-1B5810D9247C
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s2 (Data)
| Name: Macintosh HD - Data (Case-insensitive)
| Mount Point: /System/Volumes/Data
| Capacity Consumed: 2039413399552 B (2.0 TB)
| FileVault: No (Encrypted at rest)
|
+-> Volume disk1s3 87A49CFE-502F-40FA-944E-6C0D9348CDB0
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s3 (Preboot)
| Name: Preboot (Case-insensitive)
| Mount Point: Not Mounted
| Capacity Consumed: 484720640 B (484.7 MB)
| FileVault: No
|
+-> Volume disk1s4 E14F46C6-C305-4D89-9192-2A850874BCEA
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s4 (Recovery)
| Name: Recovery (Case-insensitive)
| Mount Point: Not Mounted
| Capacity Consumed: 1142829056 B (1.1 GB)
| FileVault: No
|
+-> Volume disk1s5 2AF3750A-64BF-403A-A50F-62334F382E11
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s5 (VM)
| Name: VM (Case-insensitive)
| Mount Point: /private/var/vm
| Capacity Consumed: 1073762304 B (1.1 GB)
| FileVault: No
|
+-> Volume disk1s6 CC76966A-99FB-41C0-8D42-BFE27F331311
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s6 (No specific role)
| Name: Develop - Data (Case-insensitive)
| Mount Point: /Volumes/Develop - Data
| Capacity Consumed: 45056 B (45.1 KB)
| FileVault: No (Encrypted at rest)
|
+-> Volume disk1s7 63F51DF3-0D28-4D76-A2A3-E1F3214CD3AF
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s7 (System)
| Name: ERROR -69808
| Mount Point: Not Mounted
| Capacity Consumed: 15052296192 B (15.1 GB)
| FileVault: No
|
+-> Volume disk1s8 9FEE1817-9C2F-4BA6-B5DD-DA62E6EF6CF4
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s8 (Update)
| Name: Update (Case-insensitive)
| Mount Point: /Volumes/Update
| Capacity Consumed: 3690496 B (3.7 MB)
| FileVault: No
|
+-> Volume disk1s9 E43F65F7-6CE7-48DB-9602-4938E6AC3ABA
| ---------------------------------------------------
| APFS Volume Disk (Role): disk1s9 (Data)
| Name: H - Data (Case-insensitive)
| Mount Point: /Volumes/H - Data
| Capacity Consumed: 1267405152256 B (1.3 TB)
| FileVault: Yes (Unlocked)
|
+-> Volume disk1s10 F61C6DF6-66DF-4B86-B94E-F9549639D4BA
----------------------------------------------------
APFS Volume Disk (Role): disk1s10 (No specific role)
Name: bak (Case-insensitive)
Mount Point: /Volumes/bak
Capacity Consumed: 1314816 B (1.3 MB)
FileVault: No (Encrypted at rest)

@joachimmetz
Copy link
Member

joachimmetz commented Apr 30, 2022

0x4000000d appears to be used in a (logical) volume header of a snapshot. Snapshots are not yet supported

@joachimmetz joachimmetz self-assigned this Apr 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants