LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   RH enterprise server with failing raid (https://www.linuxquestions.org/questions/linux-hardware-18/rh-enterprise-server-with-failing-raid-576224/)

gronzo 08-10-2007 04:07 PM

RH enterprise server with failing raid
 
As the new IT'er in a school, i inherited a rh enterprise server that is running on a desktop system.
There are 4 disks in the system that are 2 by 2 configured in raid 1. When I rebooted the system it gave an error on one of the mirrors
followed by the message:
no spare disk to reconstruct array! continuing in degraded mode
If spent an afternoon reading this forum and tried some suggestions in other posts to remove the dev from the array and to ad it again and when i do the
mdadm -D /dev/md2
I can see that the total of devices is 2 again and that it ads the /dev/hdb3 again.
Unfortunately when I reboot the device goes back in error and the raid is degraded.

Now I changed the drive with a new one but I don't seem to find the procedure to make the new blanc drive the one were it rebuilds the array on to.

When I look in the hardware browser i can see the new drive as /dev/hdb but it isn't partitioned or anything
the hda that it should be paired with has /dev/hda1, /dev/hda2 and /dev/hda3 as software raid components.

Any help? would be grateful because just now I see that the hde1 and hdg1 drives are showing major issues as well. so I could repeat the steps afterwards for the next drives

gronzo 08-10-2007 05:50 PM

ok, using fdisk I created 3 partitions using the same size as the ones on hda.
as partition type i chose FD (linux raid auto detect)
afterwards i got the message syncing disks.
I read somewhere that afterwards I still should ad them to the md2 and star a rebuild

gronzo 08-10-2007 06:15 PM

ok found the solution.
after fdisk, i still had to ad hdb1 to md0, hdb2 to md1 and hdb3 to md2
afterwards I could check the progress of the rebuild with "cat /proc/mdstat"
all partitions are comming back to status ok :)
Me is a very happy :newbie: right now


All times are GMT -5. The time now is 08:09 PM.