Hi,

I'm currently installing an Ubuntu system with two Seagate 7200.11 1TB SATA drives.


The pursued system hierarchy would look something like this:
20GB for /
20GB for /home
4096MB for swap
rest (~950GB) for /storage



Later on, I will add my old Seagate's (320+200GB) to the system and mount them respectively to /storage2 and /storage3 which will not be RAID'ed. So this is not required to do during installation.


Since Ubuntu 8.10 doesn't seem to support setting RAID-partitions in GUI-installation, I have to switch to terminal and use cfdisk.

How should I partition my hard drive, so that I obtain the wanted system hierachy?
Is it 20GB for a primary using 'Linux raid autodetect', 4GB for 'Linux swap / Solaris', rest for logical partition using again 'Linux raid autodetect'.

Or is the correct way to make a single 1TB primary partition using 'Linux raid autodetect'?


Both settings would naturally be applied to both sda1 & sdb1.


>>>

After the partition is done, I will move back to console and install mdadm & LVM2 needed for partition.

apt-get install lvm2 lvm-common dmsetup mdadm


The next step is a complete mystery for me.

What is needed to do with mdadm & LVM2 in order to achieve the wanted file system hierarchy and get back to the installation part of the OS?