Results 1 to 3 of 3

Thread: Go from no RAID to RAID1?

  1. #1
    Join Date
    May 2008
    Beans
    4

    Go from no RAID to RAID1?

    I installed Ubuntu 8.04 without any RAID. I just didn't see any options for it while I was installing. I have two hard drives in the machine and I partitioned each the same. Disk1 has partitions "/boot", "/swap", and "/". Disk 2 has partitions "/boot2", "/swap", and "/disk2". The install all went onto Disk1. Now, I want to setup a RAID1 without having to reinstall. Is this possible?

    Note: I'm very new to Ubuntu and Linux in general, so please try to explain things in detail. Thanks
    Last edited by yatzr; May 28th, 2008 at 04:29 PM.

  2. #2
    Join Date
    Feb 2007
    Location
    Maryland, USA
    Beans
    3,396
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Go from no RAID to RAID1?

    It seems possible in theory. RAID1 is mirrored. If you don't have anything on disk 2, I think you could create the RAID1 using mdadm. But I am not sure about that.

    Did you use the Alternate Install CD? I think only the Alternate Install has the steps to configure and install to a software RAID. If you can't get your RAID assembled (or destroy your installation in the process!) then use the Alternate Install CD to reinstall, and you should be OK from the start. I used it to install a small RAID1 array with a /boot partition, and a larger RAID5 for everything else. You need a RAID1 for booting, because the boot loader grub does not have built-in software RAID capability. It just thinks the first disk of the RAID1 is a regular disk, so it can load the kernel from there. But, grub cannot boot from striped RAID.

  3. #3
    Join Date
    May 2008
    Beans
    4

    Re: Go from no RAID to RAID1?

    I'm not sure if I used the alternate cd as I got it from someone else. Good to know for the future though.

    I searched around for mdadm stuff and ran across a guide to do this very thing.
    http://www.howtoforge.com/software-r...ot-debian-etch
    I followed it exactly and it worked perfectly! Now I just need to figure out how to get it to alert me if something happens.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •