HDD Recovery

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
ivan
Posts: 4
Joined: 23 May 2014, 06:51

HDD Recovery

#1 Post by ivan »

Hi

I have a QNAP NAS which had two drives in it runninig mirror raid, and both drives have failed me for some unknown reason. I have started testdisk and analysing has been stuck on 99% for a few hours now on a 1TB HDD. Is this supposed to take this long?

Thanks

Ivan

ivan
Posts: 4
Joined: 23 May 2014, 06:51

Re: HDD Recovery

#2 Post by ivan »

screen shot attached of where its up to...

http://postimg.org/image/ltj6nszel/

User avatar
Fiona
Posts: 2835
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: HDD Recovery

#3 Post by Fiona »

Is this supposed to take this long?
No, it's shouldn't take as long.
Can you open the testdisk.log in Wordpad and copy the content into your next post?
You'll find the testdisk.log in your testdisk folder.

Fiona

ivan
Posts: 4
Joined: 23 May 2014, 06:51

Re: HDD Recovery

#4 Post by ivan »

There is no log in the testdisk folder

Should I stop the current analysis and maybe try to run photorec?

User avatar
Fiona
Posts: 2835
Joined: 18 Feb 2012, 17:19
Location: Ludwigsburg/Stuttgart - Germany

Re: HDD Recovery

#5 Post by Fiona »

Can you check the testdisk.log file again, if you finished testdisk?

If testdisk hangs, you can stop it.
Might be possible that testdisk already displays some found partitions.
If your file system is Ext3/4, you can have a try to mark them and pressing p, to have a try to list your data.
Did you run testdisk "Deeper Search"?
Otherwise you can run PhotoRec.

Fiona

ivan
Posts: 4
Joined: 23 May 2014, 06:51

Re: HDD Recovery

#6 Post by ivan »

I found my log file, but its massive. So I have only copied in the first few pages:



Fri May 23 11:13:10 2014
Command line: TestDisk

TestDisk 7.0-WIP, Data Recovery Utility, May 2014
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Darwin, kernel 13.1.0 (Darwin Kernel Version 13.1.0: Wed Apr 2 23:52:02 PDT 2014; root:xnu-2422.9
Compiler: GCC 4.0
Compilation date: 2014-05-20T10:34:32
ext2fs lib: 1.42.8, ntfs lib: libntfs-3g, reiserfs lib: 0.3.1-rc8, ewf lib: 20120504
Hard disk list
Disk /dev/disk0 - 751 GB / 699 GiB - 1467339812 sectors (RO), sector size=512
Disk /dev/disk1 - 1000 GB / 931 GiB - 1953525168 sectors, sector size=512
Disk /dev/rdisk0 - 751 GB / 699 GiB - 1467339812 sectors (RO), sector size=512
Disk /dev/rdisk1 - 1000 GB / 931 GiB - 1953525168 sectors, sector size=512

Partition table type (auto): Intel
Disk /dev/disk1 - 1000 GB / 931 GiB
Partition table type: Intel

Analyse Disk /dev/disk1 - 1000 GB / 931 GiB - 1953525168 sectors
Geometry from i386 MBR: head=255 sector=63
BAD_RS LBA=1060296 72
check_part_i386 failed for partition type 83
BAD_RS LBA=2120584 136
check_part_i386 failed for partition type 83
get_geometry_from_list_part_aux head=1 nbr=8
get_geometry_from_list_part_aux head=8 nbr=5
Current partition structure:
1 P Linux 40 1060289 1060250

Warning: Bad starting sector (CHS and LBA don't match)
No ext2, JFS, Reiser, cramfs or XFS marker
2 P Linux 1060296 2120579 1060284
2 P Linux 1060296 2120579 1060284

Warning: Bad starting sector (CHS and LBA don't match)
No ext2, JFS, Reiser, cramfs or XFS marker
3 P Linux 2120584 1952507969 1950387386
3 P Linux 2120584 1952507969 1950387386

Warning: Bad starting sector (CHS and LBA don't match)
4 P Linux 1952507976 1953503999 996024

Warning: Bad starting sector (CHS and LBA don't match)
No partition is bootable

search_part()
Disk /dev/disk1 - 1000 GB / 931 GiB - 1953525168 sectors

recover_EXT2: s_block_group_nr=0/4, s_mnt_count=20/29, s_blocks_per_group=32768, s_inodes_per_group=6640
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 132512
recover_EXT2: part_size 1060096
Linux 40 1060135 1060096
ext3 blocksize=4096 Large file Sparse superblock, 542 MB / 517 MiB

Raid magic value at 1060136/0/1
Raid apparent size: 1060096 sectors
Raid chunk size: 0 bytes
md9 md 0.90.0 L.Endian Raid 1: devices 1(8,1) 2(8,17)*
Linux RAID 40 1060263 1060224 [md9]
md 0.90.0 L.Endian Raid 1: devices 1(8,1) 2(8,17)*, 542 MB / 517 MiB
Linux Swap 1060288 1060303 16
SWAP2 version 0, pagesize=8192, 8192 B

recover_EXT2: s_block_group_nr=0/7440, s_mnt_count=8/4294967295, s_blocks_per_group=32768, s_inodes_per_group=8192
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 243798400
recover_EXT2: part_size 1950387200
Linux 2120580 1952507779 1950387200
ext4 blocksize=4096 Large file Sparse superblock Recover, 998 GB / 930 GiB

recover_EXT2: s_block_group_nr=0/2, s_mnt_count=1/39, s_blocks_per_group=32768, s_inodes_per_group=27328
recover_EXT2: s_blocksize=4096
recover_EXT2: s_blocks_count 81920
recover_EXT2: part_size 655360
Linux 1952507970 1953163329 655360
ext3 blocksize=4096 Large file Sparse superblock, 335 MB / 320 MiB
file_pread(5,16,buffer,1953324690(1953324690/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953324739(1953324739/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953324740(1953324740/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953324741(1953324741/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953324742(1953324742/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953324743(1953324743/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953324744(1953324744/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953324745(1953324745/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953324746(1953324746/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953324747(1953324747/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953324748(1953324748/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953324749(1953324749/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953324750(1953324750/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953324751(1953324751/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953324752(1953324752/0/1)) read err: Input/output error
file_pread(5,1,buffer,1953324752(1953324752/0/1)) read err: Input/output error
file_pread(5,1,buffer,1953324753(1953324753/0/1)) read err: Input/output error
file_pread(5,1,buffer,1953324754(1953324754/0/1)) read err: Input/output error
file_pread(5,1,buffer,1953324755(1953324755/0/1)) read err: Input/output error
file_pread(5,1,buffer,1953324756(1953324756/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953324757(1953324757/0/1)) read err: Input/output error
file_pread(5,1,buffer,1953324757(1953324757/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953324758(1953324758/0/1)) read err: Input/output error
file_pread(5,1,buffer,1953324758(1953324758/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953324759(1953324759/0/1)) read err: Input/output error
file_pread(5,1,buffer,1953324759(1953324759/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953324760(1953324760/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953324761(1953324761/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953325658(1953325658/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953325659(1953325659/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953325660(1953325660/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953325661(1953325661/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953325662(1953325662/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953325663(1953325663/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953325664(1953325664/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953325665(1953325665/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953325666(1953325666/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953325667(1953325667/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953325668(1953325668/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953325669(1953325669/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953325670(1953325670/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953325671(1953325671/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953325672(1953325672/0/1)) read err: Input/output error
file_pread(5,1,buffer,1953325672(1953325672/0/1)) read err: Input/output error
file_pread(5,1,buffer,1953325673(1953325673/0/1)) read err: Input/output error
file_pread(5,1,buffer,1953325674(1953325674/0/1)) read err: Input/output error
file_pread(5,1,buffer,1953325675(1953325675/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953325676(1953325676/0/1)) read err: Input/output error
file_pread(5,1,buffer,1953325676(1953325676/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953325677(1953325677/0/1)) read err: Input/output error
file_pread(5,1,buffer,1953325677(1953325677/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953325678(1953325678/0/1)) read err: Input/output error
file_pread(5,1,buffer,1953325678(1953325678/0/1)) read err: Input/output error
file_pread(5,16,buffer,1953325679(1953325679/0/1)) read err: Input/output error
file_pread(5,1,buffer,1953325679(1953325679/0/1)) read err: Input/output error

Locked