Re: Raid 5, 2 disk failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24/01/11 22:31, Daniel Landstedt wrote:
Hi, for starters, great work with the linux raid guys.

Now for the unpleasantness's

Please..
...help


I have a raid 5 with 4 disks and 1 spare.
2 disks failed at the same time.


I don't know if this will be any help - it certainly won't make you feel better...

Raid 5 protects against a single disk failure - if a second disk fails, you've lost your data. If the disk(s) haven't really failed, but have only had temporary problems, then you might be able to put them together again, with a lot of work. Standard disk recovery techniques should be used - boot from a live CD like system recovery cd, use dd_rescue to make the best possible raw copies of your original 4 disks (including the bad ones). Then make copies of /those/ copies, so that if you mess up you can make new copies without having to re-read the dodgy disks. If the "failed" disks were actually mostly okay, you should be able to put the raid5 array together again and get most of the data out.


For future use, consider raid6 rather than raid5, or perhaps raid10 (which is less efficient at disk space, but faster for some use and a lot faster at recovery). There isn't any good reason for using raid5 with a spare rather than raid6, unless you have an ancient processor.



--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux