I have an external drive where something has gone wrong and I have zero-byte files that I know should not be zero bytes.
When I log in after booting, I get a dialog box:
macOS is Unable to Repair the Disk
You can still open or copy files on the disk, but you can’t save changes to files on the disk. Back up the disk and reformat it as soon as you can.
Trying to run Disk First Aid on it results in:
Running First Aid on “MyVolume” (disk5s2) Checking file system and repairing if necessary and if possible. Volume was successfully unmounted. Performing fsck_hfs -fy -x /dev/rdisk5s2 Executing fsck_hfs (version hfs-650.0.2). Checking Journaled HFS Plus volume. Detected a case-sensitive volume. The volume name is VX-1701 Checking extents overflow file. Checking catalog file. Keys out of order Keys out of order Keys out of order Missing thread record (id = 20) Invalid sibling link Rebuilding catalog B-tree. The volume MyVolume could not be repaired. File system check exit code is 8. Restoring the original state found as mounted. Problem -69842 occurred while restoring the original mount state. File system verify or repair failed. : (-69845) Disk First Aid refused to mount it. I get:
Could not mount “MyVolume”. (com.apple.DiskManagement.disenter error 49244.) I've tried doing web searches but get nothing useful. I'm on a Mac M2 Mini running 14.1. What can I do myself to try and restore these files?