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

Re: Installing debian on N2100



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.

If you're proposing to use LVM there would seem to be little point in using RAID0 as well. Bear in mind that neither RAID0 nor LVM will provide any redundancy in the event of a disc failure.

I'm not sure quite what you're after, but how about this as a starting point:

Split each disc as follows:

/dev/sd?1	10G	Root		\
/dev/sd?2	2G	Swap		 \	Adjust sizes to meet
/dev/sd?3	190G	For raid 1	 /	your requirements
/dev/sd?4	298G	For LVM		/

Then configure each of the first three pairs as RAID1 and configure /dev/sda4 and /dev/sdb4 as physical volumes in a large LVM volume group.

That way you get some redundancy for your system (one disc dying won't take your system out) whilst giving you the flexibility to allocate nearly 600G under LVM as you want (albeit without any redundancy).

I don't know what you intend to use the rest of the RAID1 area for, but it might make sense to use LVM on top of RAID1 there, again for flexibility.

HTH
John



Reply to: