Setup Raid with Ubuntu

Ubuntu does not come with mdadm installed, which is kind of absurd. However as soon as you need to setup a raid, you can simply install it with apt-get install mdadm - if you need to install ubuntu on a raid (I dont recommend this !!), you do this after booting the install-cd and before starting the installation.
Otherwise install ubuntu first and then go for the raid.


  • apt-get install mdadm
  • setup your raidpartitions and assign type=fd autoraid
  • mdadm --create /dev/mdX --level XX --raid-devices XX /dev/AAA /dev/BBB
  • update-initramfs -u
  • reboot and see your raid come up
 
knowwiki/howtos/raid_with_ubuntu.txt · Last modified: 2008/03/14 10:56 by peter