Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 21986 ideas, 135057 comments, 2615221 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #531: Easy raid installs

Written by kakalaky the 29 Feb 08 at 02:36. Category: Installation. Related project: Nothing/Others. Status: New
Rationale
Raid installs should be much easier, including dmraid. Anaconda can do it, why not Ubiquity?

From idea 1288 (merged): "At the moment any distribution of ubuntu support properly the Raid 0 system, I tried in several situation using any kind of cds (alternate, desktop...) and it didn't work. It would be great that users with raid0 hard drives, could install ubuntu without problems!!! "
Tags: r

448
votes
up equal down
Solution #1: Auto-generated solution of idea #531
Written by kakalaky the 29 Feb 08 at 02:36.
Ubuntu Brainstorm was updated in January 2009. Since the idea #531 was submitted before this update, its rationale and solution are not separated. Please vote accordingly, and if you have the necessary rights, please separate the rationale from the solution. Thanks!
4
votes
up equal down
Solution #2: Integrate Salamander Installer
Written by ericpaulbishop the 10 Mar 10 at 15:53.
I created an alternate installer for doing RAID installs called salamander: www.salamander-linux.com, which is based on Ubuntu 9.10. You select the disks to include in the RAID array, the desired RAID level, file system and swap size and everything gets setup for you by the installer.

Maybe consider integrating this into the official installer? It already is configured so that users can select either the original installer or the RAID installer at the initial splash screen.
108
votes
up equal down
Solution #3: Create a program that can support raid creation within the existing install
Written by mattmyers83 the 8 Aug 09 at 20:00.
Create a graphical program that can support raid creation within the existing Ubuntu install.
49
votes
up equal down
Solution #4: And a non-graphical one
Written by Ssdg the 8 Aug 09 at 22:37.
Since there is no mean to create a raid within the existing install now, (according to mattmyers83). it might be usefull for server administrators to switch to raid after a few days running ubuntu. And because on well resources managing servers there is no X server, solution #1 can't work.

Propose your solution

Attachments


Duplicates


Comments
dry_humor wrote on the 29 Feb 08 at 17:10
Although somewhat difficult, it is possible to set up machines with software RAID 1 as part of their boot. However, this is lost on kernel upgrades. Would like to see it easier to install initial RAID especially for "/" and also easy upgrades.

sdsalsero wrote on the 2 Mar 08 at 22:26
I'm kinda frustrated my idea #1855 got dupe'd in favor of this one. But since there's already a bunch of votes here, let me see if this Comment function will give me enough room to add my suggestions:

>> Install Wizard and GUI for software RAID mirror

I love using two hard-drives in a mirror configuration, but I hate how 'manual' the process is. First, I had to install using the Alternate CD and then manually specify the 'md' partitions. Now that it's installed, I have to manually check the status from a command-line. If I lose a drive, it appears that I'll have to manually recreate the 'md' partitions on the replacement drive and then manually initiate a resync. And all these steps have needed to be researched individually.

Couldn't this all be automated?

What I would like to see:
1. The partitioning wizard (on the regular install CD) should include an option for setting-up a software mirror. If it detects the presence of 2 hard-drives it can be labeled "Create mirror (this will delete the 2nd drive)" etc. If it does not detect a 2nd drive it can say, "Your current drive will be prepped for mirroring; when you install another drive it will automatically be detected and you will be prompted If you would like it to become the mirror-drive." Behind the scenes, this will simply setup the partitions as 'md' type even if they're incomplete (missing the 2nd drive).

2. The GRUB boot-files, MBR, etc should automatically be installed on both drives so that you can still boot the system regardless of which drive is removed or breaks.

3. There should be a GUI for monitoring the status of the RAID. It should automatically be installed if you selected 'mirror' mode during install.

4. This same GUI would alert you to any problems with the mirror, including if one of the drives has started to develop bad sectors (since this is the most common problem). In this way you could effortlessly replace old/flaky drives, i.e., on your own schedule and with no downtime.

5. If you replace either of the drives, you will still be able to boot the system (see item #2) and then you will simply be prompted if you would like to rebuild the mirror.

captain wrote on the 6 Mar 08 at 20:56
I completely agree with sdsalsero on all ideas. I installed RAID 0 manually and it was such an arduous process. There isn't even good documentation for it. I don't have any idea what will happen when I try to upgrade to Hardy either. Being able to install RAID from both Live CD and Alternate CD installers is necessary (along with encrypted partitions).

DavidNielsen wrote on the 24 May 08 at 10:59
Every other distribution supports dmraid installations, it's rather embarrasing that Ubuntu does not, especially given the deal with Dell since they have a number of machines that ship with dmraid out of the box. These will thus be completely useless for Ubuntu.

Also currently if you install onto an mdraid, putting /boot on a raid1 will install but fail at boot, another simple little thing that should just work.

*sigh*

epritchett wrote on the 6 Jun 08 at 22:02
All the comments are great so far and I'd really like to see this implemented. However, at the time of this post this only has 238 votes. Any ideas on how we can market this more. Maybe talk to one of the planet.ubuntu.com guy and have them add it to a blog? I just bought 3 750GB hard drives with absolutely no luck setting up a raid 0, 1 or 5 while following word for word the instructions posted on ubuntu.com (screencast and community support). This has to be made easier and zeroconfig.

godshah wrote on the 14 Jun 08 at 18:16
i also like this to be implemented i cannot seem to install it on my laptop cause if RAID configuration. it will get my vote for sure where do i vote please guide me and can also donate some money towards the project :)

epritchett wrote on the 26 Jun 08 at 23:46
dm-support is on the 8.10 blueprint here...
https://blueprints.launchpad.net/ubuntu/+spec/dmraid-support

franc3 wrote on the 24 Jul 08 at 20:08
dm-support is a good step, but I think it's not enough.

dm-support can cause a lot of problems especialy if you change your motherboard, and your BIOS Raid controller isn't the same on the new board.

I think sdsalsero's idea is the best one : add an option for software Raid during Ubuntu install (idea #1855) and add a GUI wich can alert users about Raid errors, and help them to replace a damaged disk.


Post your comment