Linux – NTFS drive damaged after unsafe removal from Windows 7

data-recoverylinuxntfswindows 7

First, some info on the drive – it's a USB 2.0 portable hard drive (PQI H560), one partition spanning all 640GB, NTFS. Used almost exclusively on Linux (arch and ubuntu), but initially formatted on Windows 7.

The hard drive has quite a lot of hard links on it, as it was a timemachine-like backup system.

And now the issue itself:

Today I made the mistake of taking out my portable hard drive from my Linux system and plugging it in a Windows 7 box. Everything worked nice, I took a movie from the drive, and it lay dormant for an hour or so. After that I took the drive out (forgot to unmount :/) and put it back in my Linux.

Unfortunately got the following error:

[49162.611858] mount.ntfs[15397]: segfault at 7fff19cb1fe8 ip 00007f9fca88de4e sp 00007fff19cb1fa0 error 6 in libntfs-3g.so.79.0.0[7f9fca87f000+42000]

Ok, Linux NTFS support isn't too good, so I went back to Windows to do a scandisk or something. Yea, right:

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

Do you want to format it?

No, I don't.

Right-click-> Tools -> Check now (thats chkdsk, right?):

The disk check could not be performed because Windows can't access the disk.

Back to the familiar Linux, fdisk -l does find NTFS filesystem, but im a bit afraid to do an fsck or ntfsfix.

As I said, Linux NTFS support is well, lacking. Perhaps will try to do a dd of the partition to another drive and experiment there, but currently I haven't got the hardware for that.

Any idea why did it break so bad? I thought NTFS was kind of durable.

Tips on data recovery utils would be great. Best if there would be something nondestructive (be able to get the data while preserving every bit of the drive in it's current state – just to be sure it doesn't break anything)

Best Answer

The unsafe removal of the drive was your downfall.

You're going to have to either run data recovery to get the files off, format the drive, and move everything back, or risk it with one of the Linux tools.

Also, there's nothing wrong with Windows 7. You performed an unsafe removal, so it's not Windows' fault.

Related Question