unable to recover partition

How to use TestDisk to recover lost partition
Post Reply
Message
Author
sdm900
Posts: 2
Joined: 03 Sep 2012, 16:06

unable to recover partition

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

Evening

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>
http://www.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

(parted)


BUT

[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?

Thanks
Stu.

Sponsored links

Lito
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 4 guests