Recover exFAT partition from a 2TB WD USB drive

How to use TestDisk to recover lost partition
Forum rules
When asking for technical support:
- Search for posts on the same topic before posting a new question.
- Give clear, specific information in the title of your post.
- Include as many details as you can, MOST POSTS WILL GET ONLY ONE OR TWO ANSWERS.
- Post a follow up with a "Thank you" or "This worked!"
- When you learn something, use that knowledge to HELP ANOTHER USER LATER.
Before posting, please read https://www.cgsecurity.org/testdisk.pdf
Locked
Message
Author
ymasgan
Posts: 2
Joined: 03 Jun 2016, 19:03

Recover exFAT partition from a 2TB WD USB drive

#1 Post by ymasgan »

Windows told me my drive has some errors and needed a a disk check. I let it do it. It said that it found and fixed some errors.
The disk worked just fine for few more days, then the partition is gone and the disk show as RAW.

The hard drive was exFAT formatted for cross-OS compatibility with MAC.

I basically tried every possible way to repair the disk using TestDisk.

In advanced it can list the files but in Analyse it say it didn't not find any partition.
When I try to copy the listed files, It will copy a few, then it will only give errors.

Also when I try to rebuild boot, it say: "Write error: Can't overwrite exFAT main boot record"

Code: Select all

Tue Jun  7 21:25:07 2016
Command line: TestDisk

TestDisk 7.0, Data Recovery Utility, April 2015
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows 8 (9200)
Compiler: GCC 4.8, Cygwin 1007.34
Compilation date: 2015-04-18T13:01:55
ext2fs lib: 1.42.8, ntfs lib: 10:0:0, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504, curses lib: ncurses 5.9
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=512110190592
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=3000592982016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdd)=2000365289472
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdg)=2000398933504
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=512110190592
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=3000592982016
filewin32_getfilesize(\\.\PhysicalDrive2) GetFileSize err Incorrect function.

filewin32_setfilepointer(\\.\PhysicalDrive2) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\PhysicalDrive2
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive3)=2000365289472
filewin32_getfilesize(\\.\PhysicalDrive4) GetFileSize err Incorrect function.

filewin32_setfilepointer(\\.\PhysicalDrive4) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\PhysicalDrive4
filewin32_getfilesize(\\.\PhysicalDrive5) GetFileSize err Incorrect function.

filewin32_setfilepointer(\\.\PhysicalDrive5) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\PhysicalDrive5
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive6)=2000398933504
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=511556190208
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=0
Warning: can't get size for \\.\D:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\F:)=0
Warning: can't get size for \\.\F:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\G:)=0
Warning: can't get size for \\.\G:
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\H:)=2000396289024
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\T:)=2000364240896
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\X:)=3000457232384
Hard disk list
Disk /dev/sda - 512 GB / 476 GiB - CHS 62260 255 63, sector size=512
Disk /dev/sdb - 3000 GB / 2794 GiB - CHS 45600 255 63, sector size=4096
Disk /dev/sdd - 2000 GB / 1862 GiB - CHS 243197 255 63, sector size=512
Disk /dev/sdg - 2000 GB / 1863 GiB - CHS 243201 255 63, sector size=512
Disk \\.\PhysicalDrive1 - 3000 GB / 2794 GiB - CHS 45600 255 63, sector size=4096
Drive C: - 511 GB / 476 GiB - CHS 62193 255 63, sector size=512
Drive H: - 2000 GB / 1863 GiB - CHS 243200 255 63, sector size=512
Drive T: - 2000 GB / 1862 GiB - CHS 243197 255 63, sector size=512
Drive X: - 3000 GB / 2794 GiB - CHS 45598 255 63, sector size=4096

Partition table type (auto): Intel
Partition table type (auto): Intel
Disk /dev/sdd - 2000 GB / 1862 GiB
Partition table type: Intel

Interface Advanced
Geometry from i386 MBR: head=255 sector=63
 1 P HPFS - NTFS              0  32 33 243197  57 60 3906961408
     exFAT, blocksize=524288, 2000 GB / 1862 GiB

exFAT_boot_sector
 1 P HPFS - NTFS              0  32 33 243197  57 60 3906961408
     exFAT, blocksize=524288, 2000 GB / 1862 GiB
file_pread(6,16,buffer,2050(0/32/35)) ReadFile Data error (cyclic redundancy check).

file_pread(6,1,buffer,2050(0/32/35)) ReadFile Data error (cyclic redundancy check).

Boot sector
Bad: can't read exFAT boot record.

Backup boot record
exFAT OK

Sectors are not identical.
copy backup superblock over main superblock
file_pwrite(6,12,buffer,2048(0/32/33)) write err Input/output error
Write error: Can't overwrite exFAT main boot record

exFAT_boot_sector
 1 P HPFS - NTFS              0  32 33 243197  57 60 3906961408
     exFAT, blocksize=524288, 2000 GB / 1862 GiB
file_pread(6,16,buffer,2048(0/32/33)) ReadFile Data error (cyclic redundancy check).

file_pread(6,1,buffer,2049(0/32/34)) ReadFile Data error (cyclic redundancy check).

Boot sector
Bad: can't read exFAT boot record.

Backup boot record
exFAT OK

Sectors are not identical.
Failed to startup volume: Invalid argument.


dir_partition inode=0
 1 P HPFS - NTFS              0  32 33 243197  57 60 3906961408
     exFAT, blocksize=524288, 2000 GB / 1862 GiB

Directory /
       5 drwxr-xr-x     0      0    524288 26-May-2015 23:43 

TestDisk exited normally.
Any suggestions?

User avatar
cgrenier
Site Admin
Posts: 5432
Joined: 18 Feb 2012, 15:08
Location: Le Perreux Sur Marne, France
Contact:

Re: Recover exFAT partition from a 2TB WD USB drive

#2 Post by cgrenier »

The log shows CRC errors, it means the disk contains bad sectors. You should clone the disk using gnu ddrescue to a new empty disk.
Once it's done, remove the old disk and use testdisk on the clone.

ymasgan
Posts: 2
Joined: 03 Jun 2016, 19:03

Re: Recover exFAT partition from a 2TB WD USB drive

#3 Post by ymasgan »

That means a 2TB clone, but if you think this will work, I will try and do it. Thank you for the suggestion.

Does it mean that the HDD is going to die?

Locked