Ubuntu Server Install With Software RAID

From Knowledge76

Jump to: navigation, search

Overview

The following article describes the installation of Ubuntu Server Edition with software RAID. It assumes a clean installation. It has been tested with Ubuntu 6.06 (Dapper), but it should apply to other releases as well.


Process

  • After configuring BIOS to boot from the CD-ROM, install Ubuntu Server Edition CD into the drive and begin booting process.
  • At the Ubuntu boot menu, select 'Install to Hard Disk'.
  • Choose Language, Location, Keyboard.
  • Choose network interface.
  • Enter hostname.
  • On Partition Disk screen, choose Manually Partition Disk.
  • Create the desired partition layout on all hard drives.
  • For partition settings, set "use as" as physical volume for RAID.
  • Ensure "Bootable Flag" is turned on.
  • Choose Configure "Software RAID".
  • Choose "Yes" on next screen to write changes to the storage devices and configure RAID.
  • Choose "Create MD Device".
  • Choose RAID type (i.e. RAID1).
  • Input number of active devices for the RAID array.
  • Choose number of spare devices.
  • Choose Active Devices for RAID array.
  • Continue creating MD devices as required, or choose finish to proceed.
  • Partition RAID devices as required.
  • Choose 'Finish partitioning and write changes to disk.'
  • Finish the Ubuntu installation.

TIPS

To check the status of your software RAID array, run the following command:

 cat /proc/mdstat
Personal tools