Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a disk failure in software RAID (1) and marked a broken disk as fault (mdadm --manage /dev/md0 --fail /dev/sda1). Unfortunately I destroyed data on the second disk after that. Is it possible to restore data from disk I marked as failed (/dev/sda1)? If so, how?

UPDATE: OK, I've found the solution, I have to create a new md device: mdadm --assemble /dev/md10 /dev/sda4 --run

After that I had some troubles because of duplicate LVM PVs, but with a little effort I was able to get some data. Not all - because the hard drive is severely damaged...

share|improve this question

Restore your backup. You do have backups right? RAID is not a backup system. RAID is an availability system

If you don't have backups, then since these disks were in a RAID-1 you can treat each disk as a "normal" standalone disk and use any of the many data recovery tools available to try and recover data.

share|improve this answer
Of course I have backups, but they are almost 24h old, so I'd like to try to restore some new files from the RAID. – Narel Nov 6 '13 at 0:28
On a side note, if you need your backups to be more current then you need to run them more often. Determine what your recovery point objective is and then run backups on that interval. – joeqwerty Nov 6 '13 at 0:37

thats possible. Try to run mdadm and rescan array. Have you used LVM there?

share|improve this answer

Your Answer


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.