Sorry if I miss some solution, but I can't find issue like my one, especially looking into gpart status in answers.
What I have got:
1-3 is my friend's stuff, 4th is mine.
Well. What probably happened. My friend bought 4TB HDD in USB dock case, it can be used even under Windows XP as he says. The case is broken now and I can't confirm that yet.
When he broke the socket, he simply pulled the disk from the native case and put that in Trekstor case. And probably Trekstor controller wrote an MBR to the disk somehow.
When I try to run HDD with my Unitek dock, it shows in gnome-disks as 4 TB drive. When I try my friend's Trekstor case it shows only 2 TB storage device!
So I assumpt my Unitek dock is compatible with GPT and I want to use it for recovery.
Now, what I can see on the disk (plugged via Unitek).
On Linux, there is classic MBR, 500 GB unknown partition and 3,5 TB free space.
On Windows 7, MBR, 500 unknown GB partition AND TWO unpartitioned spaces (WTF?).
And what is most important, on Linux gpart can't see even broken GPT file, only MBR:
Probably the disk was shipped formatted as one 4 TB big NTFS partition, under GPT partition table.
Maybe I can copy GPT table (the disk beginning and the copy at disk ending) from someone that has identical drive, using dd command? If not, how to fix it, and how to see is there a copy od GPT at disk ending? Can i back up the GPT table over that MBR, taking data from disk ending?
What I have got:
■ Seagate 4000GB 3,5" drive ST4000DM000
■ Probably shipped as mounted in USB 3.0 SATA dock, Seagate (unknown model, the case is incomplete and USB port is damaged)
■ Trekstor USB 2.0 SATA dock DSMMU-S-SU-a
■ Unitek USB 2.0 SATA dock Y-1031
1-3 is my friend's stuff, 4th is mine.
Well. What probably happened. My friend bought 4TB HDD in USB dock case, it can be used even under Windows XP as he says. The case is broken now and I can't confirm that yet.
When he broke the socket, he simply pulled the disk from the native case and put that in Trekstor case. And probably Trekstor controller wrote an MBR to the disk somehow.
When I try to run HDD with my Unitek dock, it shows in gnome-disks as 4 TB drive. When I try my friend's Trekstor case it shows only 2 TB storage device!
So I assumpt my Unitek dock is compatible with GPT and I want to use it for recovery.
Now, what I can see on the disk (plugged via Unitek).
On Linux, there is classic MBR, 500 GB unknown partition and 3,5 TB free space.
On Windows 7, MBR, 500 unknown GB partition AND TWO unpartitioned spaces (WTF?).
And what is most important, on Linux gpart can't see even broken GPT file, only MBR:
Code:
# gdisk
GPT fdisk (gdisk) version 0.8.10
Type device filename, or press <Enter> to exit: /dev/sdb
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: not present
Maybe I can copy GPT table (the disk beginning and the copy at disk ending) from someone that has identical drive, using dd command? If not, how to fix it, and how to see is there a copy od GPT at disk ending? Can i back up the GPT table over that MBR, taking data from disk ending?