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...


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.

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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