[RLUG] LVM and RAID
Damon Jacobsen
CodeDragon at runbox.com
Fri Nov 18 11:23:01 PST 2005
My new computer has (2) 300G and (2) 200G hard drives. As I see it , using LVM and RAID a good setup might be to partitioln and combine as follows:
hda
1 200G
2 99G
3 1G
hdb
1 200G
2 99G
3 1G
hdc
1 200G
hdd
1 200G
Then combine hda2, and hdb2 into a raid1. Then combine hdx2 into a raid 5.
Further I would use these arrays in LVM so that the raid1 is used for kernel level things and the raid5 for user and storage locations. I am not sure where some of these should end up however. I am sure /home should go on the raid5 and /boot and /etc on the raid1, but the others like /usr and /var, I am unsure where I should put them.
hdx3 would be used for swap partitions.
Any suggestions to this plan would be helpful.
Damon
----- Start Original Message -----
From: Sebastian Smith <ssmith at cse.unr.edu>
To: Damon Jacobsen <CodeDragon at runbox.com>
Subject: Re: [RLUG] LVM and RAID
> Damon,
>
> I use LVM on top of SW RAID all the time. It a very easy setup. Here are
> two "howto" docs I use all the time:
>
> http://www.gentoo.org/doc/en/gentoo-x86-tipsntricks.xml (the software RAID
> section)
>
> http://www.gentoo.org/doc/en/lvm2.xml
>
> Gentoo configuration of RAID and LVM2 maps 1:1 with all other Linux
> distros.
>
> I'm currently running LVM2 on top of SW RAID 5 on 2 machines -- soon to be
> 4. Performance is excellent... for the cost.
>
> - Sebastian
>
>
> On Fri, 18 Nov 2005, Damon Jacobsen wrote:
>
> > Is there a way to combine LVM usage with software raid? I would like to get the easy drive remapping of LVM with the added benefit of increased throughput and mirroring of raid. My Nvidia 4 chipset allows a mock raid system, but research shows that using linux raid utils is faster.
> >
> > Thanks
> > Damon
> >
> > _______________________________________________
> > RLUG mailing list
> > RLUG at rlug.org
> > http://lists.rlug.org/mailman/listinfo/rlug
> >
>
>
----- End Original Message -----
More information about the RLUG
mailing list