[CentOS] Steps to create a mirrored CentOS system?

Mon Feb 5 05:29:08 UTC 2007
Larry Vaden <vaden at texoma.net>

On 2/4/07, Dale <lists at ehome.net> wrote:
>
> If there is a web resource on how to do this I would very much
> appreciate a pointer to it.

The Gentoo site at
<http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml>
has this advice:

[quote]
 /dev/sda  	/dev/sdb  	Type
/dev/md1 	/boot 	/boot 	Raid-1 (mirroring)
	swap 	swap 	Normal partitions
/dev/md3 	/ 	/ 	Raid-1 (mirroring)
/dev/md4 	LVM2 volumes 	Raid-0 (striped)

Important: The partition you boot from must not be striped. It may not
be raid-5 or raid-0.

Note: On the one hand, if you want extra stability, consider using
raid-1 (or even raid-5) for your swap partition(s) so that a drive
failure would not corrupt your swap space and crash applications that
are using it. On the other hand, if you want extra performance, just
let the kernel use distinct swap partitions as it does striping by
default.
[quote]

Like Dennis Miller, "they could be wrong about that."

OTOH, you could get a 3ware RAID controller and run RAID1 and even a hot spare.

ldv