In an attempt to recover a different external drive altogether, my drive "Libraries" was compromised. Just for it being connected at the same time.
I'll be sure to disconnect drives I'm not working on in the future. Since the incident, I didn't touch this drive at all except for looking to see what's recoverable. I haven't done anything else except a few terminal commands below to hopefully get help. I'm hoping this is simple and I can just rebuild the GPT and the drive will magically appear again.
Does anyone know what to do? I'm clueless, scared and a complete noob.
shogunhz@CyXs-MacBook-Pro ~ % diskutil verifyDisk disk4
Unable to verify this whole disk: A GUID Partition Table (GPT) partitioning scheme is required (-69773)
shogunhz@CyXs-MacBook-Pro ~ % diskutil list disk2
/dev/disk2 (external, physical):
#: TYPE NAME SIZE IDENTIFIER
0: GUID_partition_scheme *5.0 TB disk2
1: EFI EFI 209.7 MB disk2s1
2: Apple_APFS Container disk4 5.0 TB disk2s2
shogunhz@CyXs-MacBook-Pro ~ % diskutil list disk4
/dev/disk4 (synthesized):
#: TYPE NAME SIZE IDENTIFIER
0: APFS Container Scheme - +5.0 TB disk4
Physical Store disk2s2
1: APFS Volume Libraries 2.3 TB disk4s1
shogunhz@CyXs-MacBook-Pro ~ % sudo gpt -r show disk4
Password:
start size index contents
0 1220883190
shogunhz@CyXs-MacBook-Pro ~ % diskutil verifyDisk disk4
Unable to verify this whole disk: A GUID Partition Table (GPT) partitioning scheme is required (-69773)
shogunhz@CyXs-MacBook-Pro ~ % sudo dd if=/dev/disk2 count=1 bs=512 | hexdump -Cv
Password:
1+0 records in
1+0 records out
512 bytes transferred in 0.020153 secs (25406 bytes/sec)
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000090 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000000f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000120 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000130 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000140 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000150 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001a0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 fe |................|
000001c0 ff ff ee fe ff ff 01 00 00 00 fe ff ff ff 00 00 |................|
000001d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200
shogunhz@CyXs-MacBook-Pro ~ % sudo gpt -r show /dev/disk4
start size index contents
0 1220883190