Solved Best way to sort out a corrupted partition table?

firehorseuk

New member
Local time
11:23 PM
Messages
9
Hi,

My Hitachi Touro 4TB disk partition got corrupted.
Originally it was one 4TB partition with about 2.5TB of files.

One minute it was fine, then it came up with "Need to format hard disk before use", then it wouldn't even start up.

The disk is currently mounted in a disk dock. The disk wouldn't start up in its original enclosure so there might have been a hardware problem with the electronics of the enclosure which corrupted the drive.

Now it has 3 partitions

465.75 GB RAW - Healthy (Primary Partition)
1582.25 GB Unallocated
1678.02 GB Unallocated.

I have tried TestDisk but for some reason after about an hour of scanning or so, the drive seems to switch off. But it seems fine when I'm using Windows software. I've tried writing MBR but TestDisk says it can't!!

Should I use something like easus partition manager and set the primary partition back to one 4TB partition and then use recovery software to recover the files or is there a better way?

Thanks
 

My Computer My Computer

At a glance

Windows 7 64bit
Computer type
PC/Desktop
OS
Windows 7 64bit
Sorry to say this, but in every instance where any of my partitions were reported as "raw", that mean that the drive had suffered physical damage. And, in NONE of those cases was I able to recover anything of any of the drives.

I had two fairly new Seagate drives do this to me last year, and in both cases, they were sudden head crashes.
 

My Computer My Computer

At a glance

Win7 Pro 32-bit, Win8 Pro 32-bitAMD Phenom II X6 1090T4GB ddr3 1300AMD HD 4290 onboard
Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom
OS
Win7 Pro 32-bit, Win8 Pro 32-bit
CPU
AMD Phenom II X6 1090T
Motherboard
Gigabyte
Memory
4GB ddr3 1300
Graphics Card(s)
AMD HD 4290 onboard
Sound Card
Builtin Realtek HD Audio
Monitor(s) Displays
Samsung 24" widescreen, LG 23" widescreen
Screen Resolution
1920x1200/1920x1080
Hard Drives
Kingston 256GB SSD
Keyboard
Logitech Illuminated Keyboard
Mouse
Logitech M705 wireless mouse
Antivirus
Norton Av 2013
Browser
IE v10
Hi Mark,

Sorry to say this, but in every instance where any of my partitions were reported as "raw", that mean that the drive had suffered physical damage. And, in NONE of those cases was I able to recover anything of any of the drives.

I had two fairly new Seagate drives do this to me last year, and in both cases, they were sudden head crashes.

Eek, sorry to hear about that.

Hmm .. head crash could mean the heads were damaged beyond able to read anything :(

Can I ask which software did you use?

I'm trying Zero Assumption Recovery at the moment but its going to take a while to work its way through everything.

I've gone into the Windows 7 power management and in advanced settings, changed hard disk/turn off hard disk after from 20 to 999999 minutes. After ZAR has finished, I will have another go with TestDisk to see if those settings will keep the hard disk online for TestDisk to do everything.
 

My Computer My Computer

At a glance

Windows 7 64bit
Computer type
PC/Desktop
OS
Windows 7 64bit
Hi

I don't think neither your HDD is faulty nor your data are lost.

The disk is currently mounted in a disk dock. The disk wouldn't start up in its original enclosure so there might have been a hardware problem with the electronics of the enclosure which corrupted the drive.


The fact that your disk won't even recognized if connected to the original enclosure but will be recognized when connected via dock clearly means the enclosure is faulty.Then you may ask what happened to your original partition.

You may know that a hard drive's storage area is divided in to smaller chunks known as "Sectors". Historically a sector is 512 bytes in size. With MBR partitioning scheme, the maximum size of a partition you can create with a 512 byte sector sized disk is 2TB. This was not a problem for decades because hard drives are typically only a few 100 gigabytes in size. When large capacity drives like 3TB and 4TB are introduced, the 2 TB barrier became a real issue. To circumvent the 2 TB limitation, disk manufacturers used USB-SATA bridges which will store data in 4096 bytes chunks instead of old 512 bytes chunks. If you connect such a disk directly to a SATA port, you will expose it's native 512 byte sized sectors and the system won't recognize any data inside it ( while your data is intact safe on the disk ).

The disk management screenshot you posted shows a single 465.75 GB partition. This is with 512 bytes addressing. If you connect this same disk to the enclosure, 4096 bytes addressing will be used. Since 4096 is 8 times higher than 512, simply multiply the partition size with 8 to get it's original size.

465.75 x 8 = 3726


So your original 3726 GB partition is still there and Windows will hopefully recognize it if you connect the disk to a compatible enclosure ( same model is preferred ).

reference : http://www.wdc.com/wdproducts/library/WhitePapers/ENG/2579-771501.pdf
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
Hi Anshad,
The disk management screenshot you posted shows a single 465.75 GB partition. This is with 512 bytes addressing. If you connect this same disk to the enclosure, 4096 bytes addressing will be used. Since 4096 is 8 times higher than 512, simply multiply the partition size with 8 to get it's original size.

465.75 x 8 = 3726


So your original 3726 GB partition is still there and Windows will hopefully recognize it if you connect the disk to a compatible enclosure ( same model is preferred ).
I like your explanation of how it became 465.75GB.

The original enclosure is the something like this
Hitachi 0S03400 - Touro Desk 4TB USB3.0 3.5'' External Hard Drive - Black: Amazon.co.uk: Computers & Accessories

It is fully enclosed never intended to be opened. I had to find a youtube video explaining how to break one of these apart to get at the disk!

So ... does anyone know of any software that can go from 512byte sector addressing back to 4096 addressing to get back at the original data.

More information as I start digging around in this subject. I used HD Sentinal and it comes back with 1995 bad sectors :( I guess I should have been using something like that to warn me it was going to fail!
 

My Computer My Computer

At a glance

Windows 7 64bit
Computer type
PC/Desktop
OS
Windows 7 64bit
I used HD Sentinal and it comes back with 1995 bad sectors I guess I should have been using something like that to warn me it was going to fail!

Hitachi has it's own tool to test drives called "WinDFT". You can download the program and run a test to verify the drive's health status. Make sure to read the user guide before running the tool.

Downloads | HGST Storage


A 4 TB disk will have millions of sectors. Even if there is 1995 bad sectors, chances are great that 95% of your data will be intact.

You can buy a standard USB enclosure which supports 4 TB. Like this one - USB 3.0 External Hard Drive Enclosure | For 3.5in SATA HDDs | StarTech.com

I am not exactly sure whether a generic USB enclosure will work with your drive but probably it will ( otherwise the disk will be detected as "not initialized").

While searching for a USB case, i found these ;

Multiple 4TB Sata drives moved from USB enclosure all have RAW & Unpartitioned space - AnandTech Forums

4TB drives moved from USB enclosure have RAW & Unpartitioned space? - Hard Drives - Storage

The user "fzabkar" is a real "guru" in data recovery ( He posts at several DR forums where i am also a member). You can send him a PM for advise.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
Hi Anshad,
Hitachi has it's own tool to test drives called "WinDFT". You can download the program and run a test to verify the drive's health status. Make sure to read the user guide before running the tool.

I am not exactly sure whether a generic USB enclosure will work with your drive but probably it will ( otherwise the disk will be detected as "not initialized").
Thanks for your advice.

I downloaded Hitachi's WinDFT. It didn't find the drive.

Based on the thread you sent me to, it makes a lot of sense.

Drive has 4096 sectors via Hitachi USB-SATA bridge but when connected directly to Windows, Windows uses 512 sectors.

I tried plugging it back into the Hitachi case, but it doesn't even come up in Windows.

I have a case - Akasa Integral P2STON case

I plugged the drive in - usb drivers installed but then it came up with the message

"The detected capacity (1678 GB) of the drive Disk: #6: Hitachi HDS724040ALE640 [PK1311PAG0VKSJ] is not correct, the capacity should be 3726 GB.

Using the drive may cause file system corruption and/or data loss. It is recommended to check and modify the configuration or upgrade the operating system, hard disk controller and/or drivers to safely use this device."

and then

"You need to format the disk in drive K: before you can use it."

In Administration, it comes up as 465.75GB.

So ... before buying another enclosure, I need to hunt for some software that will read a hard with 4096 sectors via the SATA interface. I don't suppose you know any ? :p
 

My Computer My Computer

At a glance

Windows 7 64bit
Computer type
PC/Desktop
OS
Windows 7 64bit
Ha,

I'm making progress.

I tried mounting the drive in an Akasa enclosure but that came back with 1.67TB under Testdisk, so I put it back into my Startech disk dock and "Phew!", it came back with 4TB disk.

Under Testdisk, when I was looking at "Geometry", I realised that it a default 512 byte sectors. Now I understand a little bit about sector sizes, I changed it to 4096 sectors and when Testdisk analyzed the disk, it came back "green" :-)

So now I'm going to use the copy function and pull those files off.
 

My Computer My Computer

At a glance

Windows 7 64bit
Computer type
PC/Desktop
OS
Windows 7 64bit
Under Testdisk, when I was looking at "Geometry", I realised that it a default 512 byte sectors. Now I understand a little bit about sector sizes, I changed it to 4096 sectors and when Testdisk analyzed the disk, it came back "green" :-)


Good to hear that. Although i uses "TestDisk" a lot, i never played with disk geometry - i never had to dealt with a 4 TB disk before. I hope you will get all your data back safely :).
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
OK,

Testdisk isn't only good for reading 4096 byte sectors, it is also great for data recovery.

Data recovery was a bit tedious as the drive kept disconnecting at random intervals. Something 20 mins, sometimes 20 hours. But I just kept going from the last time it stopped.

At first I thought the Testdisk had got stuck because it would pull off a whole load of files and then kind of stop. The recovered file size would slowly, slowly increase. I kept restarted Testdisk and moved onto the following files.

I then went back to all the files that Testdisk had a problem with, left Testdisk running on them ... and it eventually read the data and recovered the file. So the only thing I can think of is that Testdisk just kept trying different algorithms to read the data off the disk or it just kept trying.

So fantastic. All data recovered.

Awesome program.
 

My Computer My Computer

At a glance

Windows 7 64bit
Computer type
PC/Desktop
OS
Windows 7 64bit
So fantastic. All data recovered.

Glad to hear that :).

At first I thought the Testdisk had got stuck because it would pull off a whole load of files and then kind of stop. The recovered file size would slowly, slowly increase. I kept restarted Testdisk and moved onto the following files.

It could be due to the bad sectors. If portion of any file is stored on the defective area, not only Testdisk but any data recovery software will have trouble reading them. So i assume not only the USB-SATA bridge is faulty, but also the disk has read errors as reported by "HD Sentinel".

In the future, make sure to keep a backup copy of all your important data on a second hard drive or some cloud storage.
 

My Computer My Computer

At a glance

Windows 7 Ultimate x64
Computer type
PC/Desktop
OS
Windows 7 Ultimate x64
OK,

Testdisk isn't only good for reading 4096 byte sectors, it is also great for data recovery.

Data recovery was a bit tedious as the drive kept disconnecting at random intervals. Something 20 mins, sometimes 20 hours. But I just kept going from the last time it stopped.

At first I thought the Testdisk had got stuck because it would pull off a whole load of files and then kind of stop. The recovered file size would slowly, slowly increase. I kept restarted Testdisk and moved onto the following files.

I then went back to all the files that Testdisk had a problem with, left Testdisk running on them ... and it eventually read the data and recovered the file. So the only thing I can think of is that Testdisk just kept trying different algorithms to read the data off the disk or it just kept trying.

So fantastic. All data recovered.

Awesome program.

Great to see you succeeded :)

I have similar problem.

My Touro 500GB in Win7 management shows that it has only raw partition :/, and under Linux GParted says: "NTFS is inconsistent. Run chkdsk /f on Windows and then reboot it TWICE!"

I tried it and Win7 says that I do not have enough high rank as a user :?
I used Testdisk under Linux and it says that my disk, Touro has "Read error at 400/10/1 (lba=6426630)"

I hope geometry is good set for this disk: 60801 255 63, cause... I can not get to any files by now.

Do you have useful idea :)?

Thank you :)!
 

My Computer My Computer

At a glance

linux and win7
Computer type
Laptop
OS
linux and win7
Hi dtomas,

I had a Stardock disk dock. I pulled my disk out from its enclosure and put it into the disk dock to get proper readings. I think the Touro electronics had become faulty so that's why the disk became faulty.

I would pull your disk out of its enclosure and either put it into a disk dock or attach it directly to the computer. Then use Testdisk and set the geometry to 4096.

Keep reading the testdisk help pages.
 

My Computer My Computer

At a glance

Windows 7 64bit
Computer type
PC/Desktop
OS
Windows 7 64bit
Yes... it seems to be good way to go.
On tom'shardware site says similar: enclosure has one setting (lba), and disk has another so it is needed to get disk out from enclosure and connect it directly to computer...

But :D, enclosure is really nice closed ;) and for sure plastic is going to break apart, and warranty is going to end in that very moment :p

So... now it's first to figure it out: are those files more important then new drive.
Off course, maybe this issue isn't covered by warranty at all :sarc: (that wouldn't surprise me)

First I'll search are there any gentle opening ways ;)
 

My Computer My Computer

At a glance

linux and win7
Computer type
Laptop
OS
linux and win7
well...
I am trying and trying but without success :/

it seems testdisk can read from, but can not write to disk.
I tried with other disk in same enclosure, an directly connected to computer (without enclosure) but no good results.

Testdisk can detect disk, and examine all cylinders (founding error at cylinder 400) but that's all :/
 

My Computer My Computer

At a glance

linux and win7
Computer type
Laptop
OS
linux and win7
Hi,

I would use Testdisk to pull all the data off the disk, that's what I used it for. Once I set the geometry to 4096, Testdisk was then able to read the disk and I could pull off all the data onto another working disk. Then, if you still want to use the faulty disk afterwards, you can reformat the disk and copy the data back onto it using Windows Explorer.
 

My Computer My Computer

At a glance

Windows 7 64bit
Computer type
PC/Desktop
OS
Windows 7 64bit
You are completely right!

But... it was very difficult to reach that stage.

First, after at least 30 attempts, testdisk succeeded to write geometry data to HDD (in this case: 60801/255/63/512).
Earlier it just reports: write error, and after I reconnect HDD to computer again there was nonsense digits in geometry section.

So, you can imagine my surprise and happiness when (after xx attempts) there was notice: data successfully written, you must reboot...

After reboot there was on the very beginning of testdisk session listed partition, and finally I was able to choose "make image.dd" from advanced menu :)

It took almost 2 days for transit 500GB data to another disk.
Right now, PhotoRec is successfully extracting files from .dd file :geek:

........

Original disk has serious hardware problem cause, it can not be formated, Win7 can not initiate it by putting MBR (write protected disk raport) and disk space is showed as unalocated or similar (not raw)...

Disk for sure is not going to be used anymore.
Now I just hope manufacturer is going to fulfil warranty obligations.

Thank you so much for helping me!!!

Best regards!
 

My Computer My Computer

At a glance

linux and win7
Computer type
Laptop
OS
linux and win7
Hi dtomas,

I'm glad I managed to encourage to persist with testdisk and you managed to get your data back.

I had a 2TB disk, but testdisk was able to read the partition successfully when the geometry was set to match the disk. I didn't have to make an image (I didn't know testdisk could do that), I just selected the directories and copied them one by one across. It took about a week (some files would copy across immediately, others could take overnight - so it wasn't related to size), but all the data was recovered.

Best regards
 

My Computer My Computer

At a glance

Windows 7 64bit
Computer type
PC/Desktop
OS
Windows 7 64bit
Interesting...

Cause, my case was different.

I wasn't able to see directories and files at all in Testdisk!
No way.

I was happy to finally see partition recognized by Testdisk and (no files under list) I made image.dd immediately. Then again, in the image.dd file, Testdisk found nothing, but in the same image PhotoRec found Everything :cool:.

.

As I didn't succeeded to set geometry at all (any numbers), I tried to put numbers written to HDD label ;) but those numbers also wasn't appropriate.

So, to make long story short: Testdisk was used to establish partition and to make an image.dd file, but PhotoRec was the tool to pick up files from that file.

Great software.
 

My Computer My Computer

At a glance

linux and win7
Computer type
Laptop
OS
linux and win7
Back
Top