dev_read_finish: Input/output error fsroot tree is invalid
I've an external SSD connected to my MacBook Pro 16" m1max via USB.
The ssd has two partitions: Data and TimeMachine. Both are APFS formatted.
Suddenly the external ssd stopped working. The volumes cannot be activated.
I tried digging deeper and repairing/mounting the disk brings always the following error:
➜ ~ diskutil repairDisk disk6
/dev/disk6 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *1.0 TB disk6
1: EFI EFI 209.7 MB disk6s1
2: Apple_APFS Container disk7 1000.0 GB disk6s2
/dev/disk7 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +1000.0 GB disk7
Physical Store disk6s2
1: APFS Volume Data 68.2 GB disk7s1
2: APFS Volume TimeMachine 863.9 GB disk7s4
Disk itself seems to be ok
➜ ~ diskutil repairDisk disk6
Repairing the partition map might erase disk6s1, proceed? (y/N) y
Started partition map repair on disk6
Checking prerequisites
Checking the partition list
Adjusting partition map to fit whole disk as required
Checking for an EFI system partition
Checking the EFI system partition's size
Checking the EFI system partition's file system
Checking the EFI system partition's folder content
Checking all HFS data partition loader spaces
Checking booter partitions
Reviewing boot support loaders
Checking Core Storage Physical Volume partitions
The partition map appears to be OK
Finished partition map repair on disk6
Trying to repair the volumes failed:
➜ ~ diskutil repairVolume disk7
Started file system repair on disk7
Checking storage system and repairing if necessary and if possible
Performing fsck_apfs -y -x /dev/disk6s2
Checking the container superblock
Checking the space manager
Checking the space manager free queue trees
Checking the object map
Checking volume /dev/rdisk7s1
Checking the APFS volume superblock
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the document ID tree
Checking the fsroot tree
error: (oid 0x4eb) apfs_root: btn: dev_read_finish(1348047, 1): Input/output error
fsroot tree is invalid
The volume /dev/rdisk7s1 was found to be corrupt and cannot be repaired
Checking volume /dev/rdisk7s2
Checking the APFS volume superblock
Checking the object map
Checking the snapshot metadata tree
Checking the snapshot metadata
Checking the fsroot tree
Checking the extent ref tree
Verifying volume object map space
The volume /dev/rdisk7s2 appears to be OK
Checking volume /dev/rdisk7s4
Checking the APFS volume superblock
Checking the object map
error: (oid 0x1576c3) om: btn: dev_read_finish(1406659, 1): Input/output error
Object map is invalid
The volume /dev/rdisk7s4 was found to be corrupt and cannot be repaired
Verifying allocated space
The container /dev/disk6s2 could not be verified completely
Storage system check exit code is 8
Error: -69716: Storage system verify or repair failed
Underlying error: 8
Any idea, what I can do?
MacBook Pro 16″, macOS 13.2