sudo fsck_hfs -r -d /dev/disk1s1
journal_replay(/dev/disk1s1) returned 16
Using cacheBlockSize=32K cacheTotalBlock=98304 cacheSize=3145728K.
Executing fsck_hfs (version hfs-305.10.1).
could not get volume block 2, err 16
could not get alternate volume header at 409598, err 16
volumeType is 0
0000: 00a0 bd01 0100 0000 0000 0000 0000 0000 |................|
0010: 0000 0000 0000 0000 0000 0000 0000 0000 |................|
. . .
01f0: 0000 0000 0000 0000 0000 0000 0000 0000 |................|
unknown volume type
primary MDB is at block 0 0x00
alternate MDB is at block 0 0x00
primary VHB is at block 0 0x00
alternate VHB is at block 0 0x00
sector size = 512 0x200
VolumeObject flags = 0x01
total sectors for volume = 409600 0x64000
total sectors for embedded volume = 0 0x00
CheckForClean - unknown volume type
sudo gpt -r show disk1
gpt show: unable to open device 'disk1': Resource busy
diskutil verifyVolume disk1s2
Started file system verification on disk1s2
Verifying file system
File system check exit code is 8
Error: -69845: File system verify or repair failed
Underlying error: 8: POSIX reports: Exec format error
I am on OS X El Captain but I also have machine with the latest OSX and one with Lion. My mate was painting and he moved the drive and caused unsafe disconnect. Now First aid reports problems with Partition map.
Any ideas how to fix it via the terminal or in worst case scenario do you recommend to break the case and get one of those HDD docks and try to get my files back that way?