Is there a repair for "fsroot tree is invalid" error?
2018 Intel i7 Mac mini. Update to 12.2.1 causes (or reveals) file system or disk corruption. Reinstallation from Recovery Mode produces an endless loop of installation errors - "about 26 minutes remaining" with advancing progress bar, followed by high fan noise and auto restart. Erasing the volume from Target Disk mode allows reinstall of Catalina, which boots and runs successfully. Upgrade to Monterey reproduces the initial failure. Output from Disk Utility:
Running First Aid on “Untitled” (disk5s5)
Checking file system and repairing if necessary and if possible.
Volume was successfully unmounted.
Performing fsck_apfs -y -x /dev/rdisk5s5
Checking the container superblock.
Checking the EFI jumpstart record.
Checking the space manager.
Checking the space manager free queue trees.
Checking the object map.
Checking the encryption key structures.
Checking volume /dev/rdisk5s5.
Checking the APFS volume superblock.
Checking the object map.
Checking the snapshot metadata tree.
Checking the snapshot metadata.
Checking the extent ref tree.
Checking the fsroot tree.
warning: (oid 0x162e8) apfs_root: btn: invalid o_cksum (0xb0b7fbfc5852e63)
fsroot tree is invalid.
The volume /dev/rdisk5s5 could not be verified completely.
File system check exit code is 8.
Restoring the original state found as mounted.
File system verify or repair failed. : (-69845)
Operation failed…
Basic internet search shows this is not unique to Monterey. At least two sources blame poor documentation of APFS for the inability to determine root cause and make repairs. A couple sources also say this is indicative of SSD failure.
Why does this happen with Monterey, but not Catalina? Is there a way to pinpoint the source of the error? Can it be fixed?
I would like to get back to Monterey on this machine. Between my daughter and I, we have two Intel Minis and one M1 Mini. Having them all at the same OS version is convenient. Thanks in advance for any insight.