-1

Is it possible to recover a RAID 5? After losing the "/proc/mdstat" and run by mistake "mdadm --create --verbose /dev/md0 --level=5 --raid-devices=4 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1" instead of mdadm --assemble --scan.

juan
  • 41
  • 1
  • 1
  • 3
  • 4
    Do nothing else. Send the four disks to a professional data recovery company. – Michael Hampton Jul 13 '15 at 18:04
  • 4
    Or restore from backup. – Sven Jul 13 '15 at 18:06
  • Restoring from backup is probably quicker... – user Jul 13 '15 at 18:09
  • 5
    Either way, I agree with the sentiment expressed in Michael Hampton's comment: **do nothing.** At least not until you have a solid plan for how to proceed. Actions not thought through in instances like this are what really loses you data. If you have the disk space to spare, I would also suggest making bit-level copies of the relevant disks now. – user Jul 13 '15 at 18:09

1 Answers1

0

It helps if you know the configuration of the original RAID5. Perhaps you have saved the output of a prior run of mdadm --examine.

There are some RAID recovery tools you can try like R-Studio / UFSexplorer / ReclaiMe

I often work on failed mdadm RAID systems and can say recovery is almost always possible. But do not perform any action that writes to the RAID member drives unless you are very sure of what you are doing. Or you will just be digging a deeper hole. As suggested by Michael Kjörling making drive images is a good first step.

S.Haran
  • 101
  • 5