Page 1 of 1

After recovering a 4TB Partition, Disk Management says "2048GB RAW"

Posted: 21 Jul 2022, 21:15
by Architekt
I accidentially erased a partition from my external hard drive. It's a Western Digital My Passport drive.

When I run testdisk, I first get:

Code: Select all

Error: size boot_sector 7813705695 > partition 4294967295
Invalid NTFS or exFAT boot
1 * HPFS - NTFS             16 113 34 267365 202 36 4294967295 
1 * HPFS - NTFS             16 113 34 267365 202 36 4294967295                                                                                                                          
Nevertheless, despite the error messsage, upon selecting "Quick Search", it finds the partition just fine:

Code: Select all

Disk \\.\PhysicalDrive1 - 4000 GB / 3725 GiB - CHS 486397 255 63                                                             Partition               Start        End    Size in sectors                                                        >* HPFS - NTFS             16 113 34 486397  33 36 7813705728 [My External Drive]  
It is also able to list all the files on the partition (which should be a good sign, right?)

The partition was originally 4TB. After I instruct testdisk to write the partition, it asks me to reboot the computer. I assume this is not applicable for an external hard drive, so I just disconnect and reconnect it.

Unfortunately, the partition hasn't been restored correctly. When I look in Windows Disk Management, it shows a partition titled "2048,00 RAW" and then 1677GB of unallocated space afterwards.

How can I restore this partition correctly?

Re: After recovering a 4TB Partition, Disk Management says "2048GB RAW"

Posted: 21 Jul 2022, 21:27
by recuperation
Unfortunately you did not post your full logfile.
I can only guess that you should have selected GPT as type of partition table.
MBR combined with a sector size of 512 byte (estimate - your data is missing) can only address 2 TB.

Re: After recovering a 4TB Partition, Disk Management says "2048GB RAW"

Posted: 22 Jul 2022, 05:03
by Architekt
Thank you very much!

That was the problem. I selected "Intel" instead of GPT. After selecting GPT, the partition was restored successfully.