Solved

Need help on Gentoo Raid 5 Rebuild

Posted on 2011-02-17
3
335 Views
Last Modified: 2016-12-08
Hello everyone

I have a Gentoo with a Software Raid 5 when is booting up it says File system failed to mount. I think one of my drives failed and I have a spare drive on hand. How can I know wish of the drive are damage and after replacement how can I rebuild the raid. I will appreciate any help.

0
Comment
Question by:prsn
3 Comments
 
LVL 88

Accepted Solution

by:
rindi earned 500 total points
ID: 34924501
I'll try to get you going on the first part of the Q, defining if a drive is bad, and if so which one it is. For that boot the PC with the UBCD, and then use the HD manufacturer's diagnostic tool to test each HD individually. To be on the safe side, you could also remove one drive from the PC while the power lead is disconnected, put that HD into another PC and test it there. If the diagnostic (make sure to run the "long" diagnostic, most such tools have a short and a long diagnostic). If the disk tests out fine, put it back into the original PC and connect it to the same cables it was on previously, then repeat the steps with the next disk and so on. If the tool finds a fault on one of the disks it might offer a repair option. As long as only one HD has such an error, you can safely allow the tool to try the repair. If after that a further diagnostic run shows the disk to be fine, put it back into the array, it is quite likely that the array may function again.

http://ultimatebootcd.com

As for fixing the array after replacing the bad HD, I've only done that once and a long time ago, so it might be better for you to check out the manpages of mdadm to get that worked out. In particular see the monitor and manage modes...:

http://www.linuxmanpages.com/man8/mdadm.8.php
0
 
LVL 12

Expert Comment

by:Mike
ID: 35170974
This question has been classified as abandoned and is being closed as part of the Cleanup Program. See my comment at the end of the question for more details.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Facing problems with you memory card? Cannot access your memory card? All stored data, images, videos are lost? If these are your questions...than this small article might help you out in retrieving your lost or inaccessible data.
Employees depend heavily on their PCs, and new threats like ransomware make it even more critical to protect their important data.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question