[RLUG] LVM and RAID
Damon Jacobsen
CodeDragon at runbox.com
Fri Nov 18 13:28:08 PST 2005
In doing the drive partitioning as I specified, is it possible to later increase the raid partition size? In other words, if I replaced my 200G drives with 300G drives, would I be able to up the partition size on all 4 drives to 300G for raid use?
Damon
----- Start Original Message -----
From: "Damon Jacobsen" <CodeDragon at runbox.com>
To: ssmith at cse.unr.edu
Subject: Re: [RLUG] LVM and RAID
> 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 -----
>
> _______________________________________________
> RLUG mailing list
> RLUG at rlug.org
> http://lists.rlug.org/mailman/listinfo/rlug
>
----- End Original Message -----
More information about the RLUG
mailing list