Installing Ubuntu 9.10 with RAID and LVM – Part 1

I decided to give this a try on vmware first, so I could lather install it on my main home computer. For this setup I’m going to use 3 virtual SCSI disks with 8GB each. On my real hardware I have 3 SATAII 500GB disks.

Edit: Already installed it on physical machine, and couldn’t get it working with AHCI, so I had to tweak bios settings to have SATA in IDE mode.

It looks like isn’t possible to install a boot partition on RAID 5, so for boot I’ll use RAID 1 (mirror).

First grab a copy of alternate installation cd for your platform. Setup the virtual machine and let’s go. Proceed with the installation until you get to the “Partition disks” screen. Press alt+F2 to switch console and as prompted press enter to activate console. image

For each of the three disks, create 2 partitions. The first on will be used in a RAID 1 for boot and the second will be used in RAID 5. Set both partition type to fd (Linux raid autodetect).

image Repeat the same exact steps above for /dev/sdb and /dev/sdc (second and third disks). When finished, it’s time to create the RAIS arrays.

image After a few minutes, check if everything went ok and both arrays are active. If the RAID 5 array is still in recovery, wait a few more minutes.

image Ok. First step is done. Go back to install screen with alt+F1. Now we must go back to Detect disks phase, so press Tab to select <Go back> and press Enter. Choose Detect disks and press enter.

image

If everything went ok, the following screen should appear. Select first array and press enter.

image

Configure the partition using Ext3 journaling file system, /boot as mount point and choose Done setting up the partition.

imageOn part 2, we’ll be setting up LVM and finishing ubuntu installation.

Share this post

  • Digg
  • Del.icio.us
  • StumbleUpon
  • Reddit
  • Send to twitter

Leave a Reply