Results 1 to 6 of 6

Thread: problem with RAID 1 booting

  1. #1
    Join Date
    Jul 2013
    Beans
    5

    problem with RAID 1 booting

    Hi there, I have been experimenting with a software RAID 1 installation of ubuntu 12.04 LTS in virtualbox, but am having some issues here. What I basically did: 2 disks in RAID 1. Both disks contain a mirrored partition that has /boot and a mirrored partition that contains an encrypted LVM. All this so far so good, it boots perfectly after install. When I decide then to try to remove one of both disks in virtualbox, it just says "looking for encrypted source" (or something along those lines, can't remember exactly). After several more minutes, it drops to an initramfs console, where I am stuck... And yes, I choose the option boot in degraded mode during install, I also checked in the initramfstools/conf.d, it states bootdegraded=true. What am I doing wrong here? I thought a raid 1 was supposed to boot perfectly even if one disk completely disappears? Thanks for any help you can provide!

  2. #2
    Join Date
    Jul 2013
    Beans
    5

    Re: problem with RAID 1 booting

    Nobody any advice on this?

    Even tried this one: http://ubuntuforums.org/showthread.php?t=1864216

    Absolutely no success...

    Still says waiting for encrypted source device...
    and then it drops me in an initramfs shell.

    I tried the same thing with debian 7 in a virtualbox, and that just works out of the box. Remove one disk, stuff boots perfectly.

    I thought Ubuntu was trying to position itself as THE enterprise alternative to redhat? Then I would guess at least that something as important as a raid 1 config would work out of the box...
    Last edited by jefkebazaar; July 1st, 2013 at 05:46 PM.

  3. #3
    Join Date
    Jul 2013
    Beans
    5

    Re: problem with RAID 1 booting

    I see a lot of people here have read this, nobody any hint on where to look to solve this problem?

  4. #4
    Join Date
    Jul 2008
    Location
    Maryland
    Beans
    1,537
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: problem with RAID 1 booting

    You have failed to state what type of raid - ie software raid or fakeraid. Each can have their own problems.

    My own experience of the boot dropping to an initramfs prompt was when the dmraid program (for initiating a fakeraid) wasn't installed when Ubuntu 12.04 was installed. The work around was for me to chroot install dmraid to complete that install. Everything worked fine after that. You could have the same problem with either mdadm or the encrypted LVM. But they have their own workarounds. A better statement of your problem might get darkrod or oldfred to respond.
    12.10 Quantal w/grub2/Mint13 installed on raid0, Gigabyte AMD MB, AMD 64x4 CPUs at 3.2GHz, 16 GB ram, HD7770 ATI video, dual boot win7 on 64gb ssd and win8 on 1Tb SATA raid. 13.04 installed on raid0 and ssd

  5. #5
    Join Date
    Jul 2013
    Beans
    5

    Re: problem with RAID 1 booting

    It's actually software raid, no fakeraid aka bios raid.
    So I'm using the software raid 1 capability of ubuntu (through the install, configure manual disk layout, create raid partitions and devices, ...).

  6. #6
    Join Date
    Jul 2013
    Beans
    5

    Re: problem with RAID 1 booting

    Nobody else have this issue?
    Common people, you're not telling me I'm the only one having this problem

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
  •