How can i recover my data from my hard drive

history of this HD: this drive was used as main drive for ACER laptop for only few days (as replacement drive). i think it was windows Vista. then i used it in HD inclosure without portion or format as external drive for my system. After many months, I had error with this HD when try to access see this link:
http://forums.opensuse.org/english/get-technical-help-here/install-boot-login/467719-i-can-not-access-my-hard-drive-external.html

I did find lately that the inclosure was not working (tested using another drive ).
Now i installed the external drive as secondary drive for my PC and when i access this drive with Dolphin this message shows up:

An error occurred while accessing ‘ACER’, the system responded: The requested operation has failed.: Error mounting: mount exited with exit code 13: $MFTMirr does not match $MFT (record 0).
Failed to mount ‘/dev/sdb1’: Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it’s a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the ‘dmraid’ documentation
for more details.

when i use (via terminal ) smartctl command this the output:

linux-c5yq:/home/ # smartctl -i /dev/sdb1
smartctl 5.42 2011-10-20 r3458 [i686-linux-3.1.0-1.2-default] (SUSE RPM)
Copyright (C) 2002-11 by Bruce Allen, smartmontools

=== START OF INFORMATION SECTION ===
Model Family: Western Digital Scorpio Blue Serial ATA
Device Model: WDC WD3200BEVT-00ZCT0
Serial Number: WD-WXH0A9976215
LU WWN Device Id: 5 0014ee 2038a544e
Firmware Version: 11.01A11
User Capacity: 320,072,933,376 bytes [320 GB]
Sector Size: 512 bytes logical/physical
Device is: In smartctl database [for details use: -P show]
ATA Version is: 8
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Thu Dec 1 15:58:04 2011 AST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

when i use sfdisk command this the output:

linux-c5yq:/home/ # sfdisk -l -x

Disk /dev/sdb: 38913 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0

Device Boot Start End #cyls #blocks Id System
/dev/sdb1 * 0+ 38913- 38914- 312568832 7 HPFS/NTFS/exFAT
/dev/sdb2 0 - 0 0 0 Empty
/dev/sdb3 0 - 0 0 0 Empty
/dev/sdb4 0 - 0 0 0 Empty

please help, how can i recover my data.?

i am using Opensuse 12.1 KDE

SystemRescueCd - see Chapter 21: ‘Backup data from an unbootable Windows computer’ in the manual.

On 12/02/2011 08:36 PM, error4linux wrote:
>
> history of this HD: this drive was used as main drive for ACER laptop
> for only few days (as replacement drive). i think it was windows Vista.
> then i used it in HD inclosure without portion or format as external
> drive for my system. After many months, I had error with this HD when
> try to access see this link:
> http://tinyurl.com/77gpgx9

in that thread you got the right answer: “Could be just that the drive
has failed. Get a low level scan program from the drive maker. Or see if
you can get a smart report from it with the smart command (in Linux)”

get a low level scan program from the drive maker. and check the drive
with that.

> when i use (via terminal ) smartctl command this the output:
>
> linux-c5yq:/home/ # smartctl -i /dev/sdb1

but the -i switch give only basic information about the disk…and
gives nothing about the health of the disk…

do this:


sudo /usr/sbin/smartctl -a /dev/sdb

when i use sfdisk command this the output:

linux-c5yq:/home/ # sfdisk -l -x

instead of that, show us this:


df -h

>
> please help, how can i recover my data.?

don’t know yet if there is any data to recover, or if the drive
functions at all…let us know what the disk manufacturer’s diagnostics
and the fuller SMART look says…


DD http://tinyurl.com/DD-Caveat
openSUSE®, the “German Engineered Automobiles” of operating systems!

On 2011-12-02 20:36, error4linux wrote:

I concur with what DenverD says.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

Just a thought

Did you actually try this?

If not and you have a windows machine you can plug the drive into, plug it in, boot up, open a Command Prompt and as administrator and type this: chkdsk [DriveLetter]: /f

Example: chkdsk d: /f [This example works if windows mounting your hdd partition as drive letter D: in My Computer]

Personally that’s the first thing I would do with a problematic ntfs partition, while linux does have the ntfsfix program as part of (I think) the ntfsprogs package, ntfs is a windows filesystem and windows is really the environment to try fixing a problematic ntfs, chkdsk does this very well indeed

If you don’t have access to a windows machine you could try searching the web for a boot disk with a winpe version of windows on it

winpe is kinda similar to a live linux meaning it’s portable and be run off cd or usb, not sure on the legalities and I wouldn’t be surprised if at least some boot disks with a winpe on them contain at least one copyrighted software that you may not have a licence for [if that bothers you and should you need such a disk, it’s not outlandishly difficult to make your own winpe disk which if you have a valid windows licence I believe is perfectly legal but not 100% sure]

If windows doesn’t give it a drive letter it’s usually either because of hardware failure or a corrupted partition/table/mbr in which case it’s time to reach for your favourite data recovery software, there are some good free ones out there

Recommend:
First, if the data on the drive is important to you, SLOW DOWN and think through your options carefully.

First, check the disk health. You only ran basic identification using smartctl. To graphically see <everything> possible about the drive I highly recommend installing GSmartControl. Not foolproof but an excellent indicator if the drive is going, going, gone or perfectly fine.

Consider you might only have a partition or MBR issue which can be fixed in seconds.

Consider doing an image backup instead of working on the disk itself. An image (byte level) backup willcopy the entire disk regardless of file problems and integrity.

As suggested, I would try to mount a Windows OS on its own and use Windows tools before trying non-Windows tools to fix (simply reading the disk with smartmon should be safe).

And don’t try to recover the data until you know more about the drive or image the data.

HTH,
TSU