Solved

Need help on Gentoo Raid 5 Rebuild

Posted on 2011-02-17
3
333 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 87

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

One of the frustrating downsides to using third party RAID hardware is the frequent lack of native driver support in the standard OS.  During install, Windows prompts for third party storage drivers from CD or USB so it is straightforward, but it ca…
Upper back Pain: My back hurt for months. Upper back, mostly my neck, spine and across my shoulder blades. I was getting headaches too, that felt like they were caused by tension in my shoulders, but now I feel fine! I'm sharing this hoping someone…
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…
This tutorial will walk an individual through the steps necessary to configure their installation of BackupExec 2012 to use network shared disk space. Verify that the path to the shared storage is valid and that data can be written to that location:…

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now