Re: Installing debian on N2100
On Fri, Dec 14, 2007 at 06:19:13PM -0000, Andrew Haswell wrote:
> Sorry i wasnt clear, the n2100 has 2 disk and i want to use LVM / RAID to
> provide an area of RAID1 storage across both disks and and area of raid0
> storage such that 2x 500GB disks could yeald say 200GB R1 and 600GB R0
> therefore not loosing 50% :-). Using LVM to divide the disks into 50GB
> chunks so that disk can be reallocated if required. As i said im new to
> linux so im not clear on how to do this exactly yet but want to find out,
> the linux guys i work with say that i have some options.
> Does that make more sense? Thanks for the reply.
Well resizing raids is in my experience not simple, so putting raid on
top of LVM still doesn't make sense. Pick your partition sizes, put
raid on that, and then use LVM to create your various mount points and
swap and such.
Personally I always do this for partitions on anything I setup:
10GB partition for raid1 used as root FS
remaining space for raid1 used as physical volume for LVM
Inside the LVM I create logical volumes for swap, /home, and whatever
else I want.
In your case I guess you could make a 3rd partition on each drive, setup
that as a raid0 and use another LVM on it to divide it into whichever
volumes you want mounted with raid0 rather than raid1. That way you can
resize each volume within its LVM pretty easily. Resizing the raids
would be hard, but it always is.