Re: Software Raid Recovery

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



On Fri, Feb 20, 2009 at 3:15 PM, Stephen Leonard Character
<Stephen.Character@xxxxxxxxxxx> wrote:
> I have a server set up with 4hdd using software raid. I have /boot on a
> raid1 on md0 , / on raid5 on md1, and swap on raid0 on md2. If one of my
> drives die, how to I recover?

First, put the swap also on RAID1, you don't want part of your memory
to become unavailable is a drive dies. Using RAID has no use then.

If a drive dies nothing will happen, your system will continue to keep
running (if you put your swap on raid1 that is). But make sure you
configure mdadm to send you a mail when that happens, so you know a
drive is gone.

For recovery, just replace the disk, repartition it and re-add the
partitions to the raid arrays and your are done. The disks will resync
and then everything is back to how it was.

Regards,
Tim

-- 
Tim Verhoeven - tim.verhoeven.be@xxxxxxxxx - 0479 / 88 11 83

Hoping the problem  magically goes away  by ignoring it is the
"microsoft approach to programming" and should never be allowed.
(Linus Torvalds)
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux