Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have recently received one of the two 1TB drives I had on a dedicated server. The drives were mirrored and the server was running CentOS 5.6.

I've installed it in an USB enclosure and tried mounting under Ubuntu to copy some files, but surprise, it won't mount.

fdisk -l says /dev/sdb does not contain a valid partition table

mount /dev/sdb /media/usb says unknown filesystem ddf_raid_member

if I dd for the first 1024 bytes i can see some strings that belong to the GRUB boot loader.

What could I do to recover my data?

share|improve this question
add comment

2 Answers

I expect the drive will have RAID metadata at the start which prevents it being recognized as a normally formatted non-RAID disk.

You may be able to use mdadm to gain access to the filesystems. I'd practice with a spare drive.

share|improve this answer
    
I've added the drive as raid level 1 to /dev/md0 and still cannot mount it, it keeps saying there is no valid partition table/no valid superblock. Have looked for backup superblocks, found some, tried restoring, but it won't do it. –  Nick M Jul 31 '12 at 22:30
add comment
up vote 0 down vote accepted

Sadly I could not afford trying to restore the partitions which were also damaged, so I had to run testdisk to recover my data. It took about 4 days but managed to get it all back.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.