First Aid unable to repair corrupted external hard drive
I have an M1 macbook Air using Sonoma 14.4/ For over a year I have used an external G-tech drive for Time Machine. Recently, I noticed this disk would not mount. I was unable to mount it using disk utility and was also unable to repair it using First AiD. Here are the details from First Air. Do I have to retrive the data and erase the disk. Or is there some other way I can repair the disk. Thanks
Running First Aid on “Container disk5”
Checking storage system and repairing if necessary and if possible
Performing fsck_apfs -y -x /dev/disk4s2
Checking the container superblock.
Checking the checkpoint with transaction ID 2839287.
Checking the space manager.
Checking the space manager free queue trees.
Checking the object map.
Checking volume /dev/rdisk5s2.
Checking the APFS volume superblock.
The volume G-tech was formatted by diskmanagementd (1934.140.4) and last modified by apfs_kext (2236.120.8.0.1).
Checking the object map.
error: btn: oid (2014971), xid (2839286), type (0x40000003), subtype (0xb), flags (0x4) level (2)
error: btn: invalid key order: minkey is less than index 0 (should be equal)
minkey : 18 04 00 00 00 00 00 00 7d 37 12 00 00 00 00 00
index 0 key : 1b 54 e8 00 00 00 00 00 34 3e 24 00 00 00 00 00
index 1 key : 46 5f e8 00 00 00 00 00 52 ec 25 00 00 00 00 00
Checking if the parent's minkey can be updated...
error: btn: oid (2269478), xid (2839287), type (0x40000002), subtype (0xb), flags (0x5) level (3)
error: btn: unable to repair minkey
Object map is invalid.
The volume /dev/rdisk5s2 with UUID 2B19479B-7692-4D06-B8D8-B3F1D6C5EB47 was found to be corrupt and cannot be repaired.
Verifying allocated space.
The container /dev/disk4s2 could not be verified completely.
Storage system check exit code is 8.
Storage system verify or repair failed. : (-69716)