unable to recover 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
Post Reply
Posts: 2
Joined: 03 Sep 2012, 16:06

unable to recover partition

#1 Post by sdm900 » 03 Sep 2012, 16:24


I ran test-disk (from cents 6-3 live cd) and successfully detected the partition I wanted to recover and mark it as primary

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]

Down the bottom it even says

md 1.x L.Endian Raid 6 - Array Slot : 4 (0, 1, 2, 3, 4), 2900 GB / 2701 GiB

which is exactly correct. I recover the partition, reboot and parted tells me the partition now exists

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



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

so, it appears that test disk sort of sees the partition but is unable to recover it correctly? Any ideas?


Sponsored links

Posts: 83
Joined: 08 Sep 2012, 06:58

Re: unable to recover partition

#2 Post by Lito » 08 Sep 2012, 07:58

It looks like that parted (gparted? or parted magic?) gives the disk as sdc and not sdc1. Or may be is not important?
My other thought is: a raid partition is meant to be a mirror of another disk. Am I wrong?
If nothing is wrong with the data in your working disk, what is the point in trying to recover the mirror partition?
Did your machine stopped booting?

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest