Solved

Need help on Gentoo Raid 5 Rebuild

Posted on 2011-02-17
3
338 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

If you ever consider purchasing any Daossoft Software Products, DON'T expect any meaningful support - This article should convince you why!
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 Windows Server Backup to create full image of their system. Tutorial shows how to install Windows Server Backup Feature on Windows 2012R2 and how to configure scheduled Bare Metal Recovery backup.…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

738 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