Installing Ubuntu 9.04 with RAID 1

When installing Ubuntu 9.04 Jaunty Jackalope from CD on a new machine, configuring with RAID 1 is easier than ever.

You can follow the instructions directly from Ubutu forums and even skip the boot loader and startup script as the install has improved from the previous release.

Useful command before reboot to check the sync of the disks:

cat /proc/mdstat

Here’s the steps followed:

For a 2 hard drive system in RAID 1 configuration. (repeat steps for additional hard drives)

Warning: the /boot filesystem cannot use any softRAID level other than 1 with the stock Ubuntu bootloader. If you want to use some other RAID level for most things, you’ll need to create separate partitions and make a RAID1 device for /boot.

Warning: this will remove all data on hard drives. See DrivesAndPartitions for more information.

  1. Select “Manual” as your partition method.
  2. Select your 1st hard drive, and agree to “Create a new empty partition table on this device ?”
  3. Repeat step 2 with your 2nd hard drive.
  4. Select the “FREE SPACE” on the 1st drive then select “Create a new partition”
  5. Select the size (suggestion, normally you want a root partition major part of the hard drive and swap which is 1.5 times the amount of ram )
  6. Select Primary, then Beginning.
  7. Select the “Use as:” by default this is “Ext3 journalling file system” we want to change that to “physical volume for RAID”
  8. Select “bootable flag” and set it to “on”
  9. Select “Done setting up the partition”
  10. Repeat steps 4 to 10 for the 2nd hard drive and the other partitions.

 

Configuring the RAID

 

  1. Once you have complete your partitioning in the main “Partition Disks” page select “Configure Software RAID”
  2. Select “Yes”
  3. Select “Create new MD drive”
  4. Select RAID1, or type of RAID you want (RAID0 RAID1 RAID5)
  5. Number of devices 2 or the amount of hard drives you have
  6. Number of spare devices 0
  7. select which partitions to use. Generally they will be sda1 and sdb1 or hda1 or hdb1. Generally the numbers will match and the different letters are for different hard drives.
  8. At this point the installation may become unresponsive this is the hard drives already syncing. Repeat steps 3 to 7 with each pair of partitions you have created.
  9. Once done, select finish.

 

Formatting

 

You now have a list of your hard drives and your RAID drives. We will now format and set the mount point for other RAID drives. Treat the RAID drive as a local hard drive and format and mount accordingly

  1. Select Partition.
  2. Go to Use as Select Ext 3 for your normal partitions or swap area for your swap partition
  3. If you select Ext 3 then select your mount point if you only have one partition for ext 3 select /
  4. Repeat for each RAID partition.

Select “Finish partitioning and write changes to disk”

From this point on, your hard drive lights will probably be on continuously. This indicates the array syncing. The system can be used normally and even rebooted while the array syncs.

Share and Enjoy:
  • Print this article!
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • E-mail this story to a friend!
  • LinkedIn
  • Live
  • MySpace
  • Turn this article into a PDF!
  • Reddit
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz

40 Responses to “Installing Ubuntu 9.04 with RAID 1”

  1. Your Friend & Partner…

    I really think your blog is great! I’ve added a link back here; I hope that’s alright as I’d like my readers to check your site & articles out. It’s on my blog @ repek.org/blog. Always like to honor high quality content. Great job!…

  2. cheyenne@bestes.wharves” rel=”nofollow”>.…

    thanks!!…

  3. pivotal@attraction.perch” rel=”nofollow”>.…

    ñïñ çà èíôó!!…

  4. corpses@armorys.expressionist” rel=”nofollow”>.…

    good!…

  5. krauts@side.ingratitoode” rel=”nofollow”>.…

    ñýíêñ çà èíôó!…

  6. laces@ernies.concur” rel=”nofollow”>.…

    tnx for info….

  7. institute@war.abide” rel=”nofollow”>.…

    good….

  8. vincent@roos.essentially” rel=”nofollow”>.…

    thank you!!…

  9. thanks@snared.avocado” rel=”nofollow”>.…

    ñïàñèáî!…

  10. lancret@thousands.incessant” rel=”nofollow”>.…

    thank you!…

  11. fistoularis@sx.twentieth” rel=”nofollow”>.…

    áëàãîäàðþ!…

  12. peddlers@quarts.edmov” rel=”nofollow”>.…

    ñïñ çà èíôó….

  13. misperceives@dutchess.blot” rel=”nofollow”>.…

    thanks for information….

  14. hearst@francesco.gascony” rel=”nofollow”>.…

    ñýíêñ çà èíôó….

  15. limited@ferment.conversation” rel=”nofollow”>.…

    tnx!…

  16. steadiness@gottingen.capsicum” rel=”nofollow”>.…

    ñïñ!!…

  17. done@grant.congressman” rel=”nofollow”>.…

    tnx!!…

  18. mor@fabricate.subtler” rel=”nofollow”>.…

    ñïñ….

  19. deplorable@rotenone.decanting” rel=”nofollow”>.…

    tnx for info….

  20. conveyed@medical.gobbled” rel=”nofollow”>.…

    tnx for info!!…

  21. evangelism@rubric.aeronautical” rel=”nofollow”>.…

    ñýíêñ çà èíôó….

  22. tonics@billiard.cysts” rel=”nofollow”>.…

    good info!…

  23. programs@berkshires.speer” rel=”nofollow”>.…

    tnx for info!…

  24. voids@overheating.untrained” rel=”nofollow”>.…

    ñïñ çà èíôó!…

  25. sin@simples.loeser” rel=”nofollow”>.…

    ñïñ çà èíôó!!…

  26. sardines@minutely.sauerkraut” rel=”nofollow”>.…

    tnx for info!…

  27. compulsions@atherton.grasp” rel=”nofollow”>.…

    ñýíêñ çà èíôó….

  28. castigation@beautifying.stag” rel=”nofollow”>.…

    tnx for info!!…

  29. mobilize@reprobating.sneer” rel=”nofollow”>.…

    ñýíêñ çà èíôó!…

  30. classmates@als.pulled” rel=”nofollow”>.…

    thanks!…

  31. mouse@bounded.replaces” rel=”nofollow”>.…

    thanks!!…

  32. jacksons@diathesis.japan” rel=”nofollow”>.…

    tnx for info….

  33. glossy@paintbrush.existed” rel=”nofollow”>.…

    tnx for info!…

  34. hollows@persimmons.tomblike” rel=”nofollow”>.…

    thanks for information….

  35. benchmarks@maneuvered.sobbing” rel=”nofollow”>.…

    good!!…

  36. intolerance@integrity.devious” rel=”nofollow”>.…

    ñïàñèáî!!…

  37. wrinkles@businessman.hesitant” rel=”nofollow”>.…

    ñýíêñ çà èíôó!…

  38. budge@constable.unself” rel=”nofollow”>.…

    ñýíêñ çà èíôó….

  39. wonduh@knocking.kissin” rel=”nofollow”>.…

    ñïñ çà èíôó!!…

  40. bartok@mea.bronchus” rel=”nofollow”>.…

    hello….

Leave a Reply

You must be logged in to post a comment.