unable to recover software raid partition

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
Posts: 2
Joined: 03 Sep 2012, 16:06

unable to recover software raid partition

#1 Post by sdm900 »


I have been trying to use TestDisk to recover a software raid partition in a GPT partition table (using Centos6.3 live cd). It all appears to work just fine

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

Disk /dev/sdc - 3000 GB / 2794 GiB - CHS 364801 255 63
Partition Start End Size in sectors
D MS Data 2048 1026047 1024000
D Linux LVM 1026048 5860532223 5859506176
>P Linux Raid 194560034 5860532777 5665972744 [3]

Structure: Ok. Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
P=Primary D=Deleted
Keys A: add partition, L: load backup, T: change type,
Enter: to continue
md 1.x L.Endian Raid 6 - Array Slot : 4 (0, 1, 2, 3, 4), 2900 GB / 2701 GiB

It even correctly identifies it as a raid 6 partition. After a reboot, parted looks good

Model: ATA Hitachi HUA72303 (scsi)
Disk /dev/sdc: 5860533168s
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 194560034s 5860532777s 5665972744s raid

However, when I try to look at the raid superblock

[root@livedvd testdisk-6.14-WIP]# mdadm -E /dev/sdc1
mdadm: No md superblock detected on /dev/sdc1.

it isn't happy. Any ideas?