Raid 10 - question

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
MatMoo
Posts: 3
Joined: 11 Dec 2016, 20:48

Raid 10 - question

#1 Post by MatMoo »

Hi

Been having some funnies with my PC and then of course after a BSOD (Windows 10 system) it couldn't get an OS running, and just seemed to have lots of disk issues. I've now built a new PC and am trying to recover a few bits off it, but seemed to of got stuck at the first hurdle. When I boot the Gigabyte MB sees the 4 disks (And a complete raid 10 with no issues) and doesn't have any issue with the system, so as far as I can tell the raid never crashed etc... But when I use a Live rescue disk (testdisk or photorec) it just shows as 4 separate disks and not 1? As it's a motherboard hardware raid I didn't think I would need to install any other drivers for Unix to see it? or am I missing something (I know a bit of unix but not a heavy user). Any clues?

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

Re: Raid 10 - question

#2 Post by cgrenier »

It's a software raid, try the following:
modprobe dm_mod
dmraid -ay
ls -la /dev/mapper/

MatMoo
Posts: 3
Joined: 11 Dec 2016, 20:48

Re: Raid 10 - question

#3 Post by MatMoo »

Thank you, using Hirens bootcd and testdisk, instead of a unix live cd and test disk I have got slightly better results.

Code: Select all

TestDisk 6.14-WIP, Data Recovery Utility, September 2012
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sda - 999 GB / 931 GiB - CHS 121576 255 63
Current partition structure:
     Partition                  Start        End    Size in sectors

 1 * HPFS - NTFS              0  32 33    12 223 19     204800 [System Reserved]
 2 P HPFS - NTFS             12 223 20 16317 213 24  261939200
Warning: number of sectors per track mismatches 31 (NTFS) != 63 (HD)
 3 P HPFS - NTFS          16317 213 25 48953  65  8  524288000
 4 P HPFS - NTFS          48953  65  9 121576  61 21 1166688256

*=Primary bootable  P=Primary  L=Logical  E=Extended  D=Deleted
>[Quick Search]  [ Backup ]
                            Try to locate partition
Initial output

Code: Select all

TestDisk 6.14-WIP, Data Recovery Utility, September 2012
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sda - 999 GB / 931 GiB - CHS 121576 255 63
     Partition               Start        End    Size in sectors
>* HPFS - NTFS              0  32 33    12 223 19     204800
 P HPFS - NTFS             12 223 20 16317 213 24  261939200
 P HPFS - NTFS          16317 213 25 48822 181 63  522190848
 L HPFS - NTFS          48953  65  9 121576  61 21 1166688256


Structure: Ok.  Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
*=Primary bootable  P=Primary  L=Logical  E=Extended  D=Deleted
Keys A: add partition, L: load backup, T: change type, P: list files,
     Enter: to continue
What it finds (Looks about right I had a C OS drive, D Data drive and T Temp data drive)

But if I then try and list any files on the last (L) partition, I get can't open filesystem. Filesystem seems damaged?

PhotoRec does see lots and lots of files, but when I recover the filenames are not correct... so there seems to be hope somewhere!! :)

After a quick search I then get

Code: Select all

1 * HPFS - NTFS              0  32 33    12 223 19     204800 [System Reserved]
2 P HPFS - NTFS             12 223 20 16317 213 24  261939200
3 P HPFS - NTFS          16317 213 25 48822 181 63  522190848
4 E extended LBA        48822  182 1 121576  93 53 1168787456
5 L HPFS - NTFS          48953  65  9 121576  61 21 1166688256
At this stage I can deeper search or ... write
Do I go for it?

MatMoo
Posts: 3
Joined: 11 Dec 2016, 20:48

Re: Raid 10 - question

#4 Post by MatMoo »

Well I seem to be going around in circles :( I've written the data, rebooted, but the same error occurs and no files can be seen (although photorec can still recover files fine but with the wrong filenames)

Locked