Mac Mini drive mount error in Target Disk Mode (-119930868
I have a Mac Mini that recently had booting problems. Upon further inspection through Recovery Mode, it seems like the hard drive encountered a key index out of order error, and is failing to boot normally. I can still open a terminal and navigate through the folders.
I then went to my iMac, connected the Mac Mini through a Thunderbolt 4 cable, and booted the Mac Mini to Target Disk Mode by holding "T" as it boots. The Mac Mini gets recognised under the Thunderbolt 4 Bus, and I can see it in Disk Utility, however, I'm having trouble mounting it, and I get this error when I try and mount it.
Could not mount “AppleAPFSMedia”. (com.apple.DiskManagement.disenter error -119930868.)
Here is a screenshot:
Here is the output of the command diskutil list external:
diskutil list external
/dev/disk2 (external):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme 500.3 GB disk2
1: EFI EFI 314.6 MB disk2s1
2: Apple_APFS Container disk3 365.0 GB disk2s2
/dev/disk3 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +365.0 GB disk3
Physical Store disk2s2
1: APFS Volume 12.4 GB disk3s1
2: APFS Volume Macintosh HD - Data 323.5 GB disk3s2
3: APFS Volume Preboot 4.7 GB disk3s3
4: APFS Volume Recovery 1.3 GB disk3s4
5: APFS Volume VM 24.6 KB disk3s5
6: APFS Volume Update 72.9 MB disk3s6
/dev/disk4 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *500.1 GB disk4
1: Microsoft Basic Data EXTREMESSD 500.1 GB disk4s1
And here is the output of the command diskutil ap list:
(see additional text)
I also tried diskutil mount readOnly disk3s1, which gave this output:
diskutil mount readOnly disk3s1
Volume on disk3s1 failed to mount
Perhaps the operation is not supported (kDAReturnUnsupported)
This appears to be an APFS Volume; note that locked APFS volumes
will not mount unless unlocked (e.g. "diskutil apfs unlockVolume")
None of the volumes are locked and/or encrypted.
Note that both the Mac Mini and iMac are Intel-based Macs. The iMac runs on 10.15.7, and the Mac Mini runs on a more updated OS since I updated that a couple months ago.
Is there a way for me to be able to fix this issue and mount the Mac Mini as intended? I want to backup and recover the files before I reformat the Mac Mini. I know I can just go to recovery mode and use the terminal to copy the files to an external drive, but doing it with a UI gives me the peace of mind that I am not going to miss any of the important files I have in here.
[Edited by Moderator]