Recover failed disk in RAID array

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
Jrh1982
Posts: 1
Joined: 21 Apr 2017, 10:08

Recover failed disk in RAID array

#1 Post by Jrh1982 »

Hi there, I am trying to use testdisk to recover a disk from a failed RAID array.

Scenario: 1 x disk in RAID1 array failed, disk has been removed and connected to a different machine. Ran test disk and it can see the physical disk but is unable to discover any partitions on it. It gives the message Partition sector doesn't have the endmark 0xAA55

Not sure if I am going about this correctly or not. Any help would be greatly appreciated.

Test disk log:

Code: Select all


Fri Apr 21 05:51:59 2017
Command line: TestDisk

TestDisk 7.1-WIP, Data Recovery Utility, April 2017
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org
OS: Windows Server 2008 R2 (7601) SP1
Compiler: GCC 5.4, Cygwin32 2005.2
ext2fs lib: 1.43.1, ntfs lib: 10:0:0, reiserfs lib: none, ewf lib: 20140608, curses lib: ncurses 6.0
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sda)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdb)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(/dev/sdc)=2000398934016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive0)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive1)=1000204886016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\PhysicalDrive2)=2000398934016
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\C:)=107374182400
disk_get_size_win32 IOCTL_DISK_GET_LENGTH_INFO(\\.\D:)=892720906240
filewin32_getfilesize(\\.\E:) GetFileSize err Incorrect function.

filewin32_setfilepointer(\\.\E:) SetFilePointer err Incorrect function.

Warning: can't get size for \\.\E:
Hard disk list
Disk /dev/sda - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - ST310005 24AS, S/N:V9FPEECM, FW:JC4B
Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63, sector size=512 - ST310005 24AS, S/N:V9FPC4LM, FW:JC4B
Disk /dev/sdc - 2000 GB / 1863 GiB - CHS 243201 255 63, sector size=512 - ST2000DM 001-1ER164, S/N:152D20337A0C
Drive C: - 107 GB / 100 GiB - CHS 13054 255 63, sector size=512
Drive D: - 892 GB / 831 GiB - CHS 108533 255 63, sector size=512

Partition table type defaults to Intel
Disk /dev/sdc - 2000 GB / 1863 GiB - ST2000DM 001-1ER164
Partition table type: Intel

Analyse Disk /dev/sdc - 2000 GB / 1863 GiB - CHS 243201 255 63
Current partition structure:

Partition sector doesn't have the endmark 0xAA55

search_part()
Disk /dev/sdc - 2000 GB / 1863 GiB - CHS 243201 255 63
file_pread(6,2,buffer,3907031039(243201/110/45)) lseek err Invalid argument
file_pread(6,1,buffer,3907031039(243201/110/45)) lseek err Invalid argument
Search for partition aborted

Results

interface_write()
 
No partition found or selected for recovery
simulate write!

write_mbr_i386: starting...
Store new MBR code
write_all_log_i386: starting...
No extended partition
Partition table type defaults to Intel
Disk /dev/sdc - 2000 GB / 1863 GiB - ST2000DM 001-1ER164
Partition table type: Intel

Interface Advanced

Analyse Disk /dev/sdc - 2000 GB / 1863 GiB - CHS 243201 255 63
Current partition structure:

Partition sector doesn't have the endmark 0xAA55
Thanks

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

Re: Recover failed disk in RAID array

#2 Post by cgrenier »

There is no trace of a partition table or partition...
Can you try PhotoRec on this disk ? Does it recover valid files ?

Locked