Results 1 to 3 of 3

Thread: Complete install on RAID1 + LVM?

  1. #1
    Join Date
    Aug 2005
    Location
    Adelaide, SA, Australia
    Beans
    549
    Distro
    Ubuntu 13.10 Saucy Salamander

    Question Complete install on RAID1 + LVM?

    I was doing a bit of research to see if this was possible. I wanted to install the entirety of Ubuntu (desktop), including /boot and everything on LVM on top of software RAID1.
    Code:
    sda | sdb   sdc | sdd 
        |           |
      RAID1       RAID1   
              |
             LVM
      |   |   |     |
    /boot / /swap /home
    Hopefully the above shows what I want to do (ignoring lack of fs). I am currently unsure whether this is possible because of old documentation that seems to present conflicting information. I don't really care if it isn't possible but I am very interested.

  2. #2
    Join Date
    Nov 2009
    Location
    Catalunya, Spain
    Beans
    14,560
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: Complete install on RAID1 + LVM?

    It should be. Earlier you had to made /boot partition outside the LVM so it can work, but grub2 these days can handle LVM without separate /boot outside the LVM.

    So, making two raid1 mdadm arrays, and then using them as physical devices for your LVM should be just fine.

    You can also do a test in VBox first.
    Darko.
    -----------------------------------------------------------------------
    Ubuntu 18.04 LTS 64bit

  3. #3
    Join Date
    Aug 2005
    Location
    Adelaide, SA, Australia
    Beans
    549
    Distro
    Ubuntu 13.10 Saucy Salamander

    Re: Complete install on RAID1 + LVM?

    Excellent! Thanks for the response. I figured it was doable but there is so many conflicting opinions around the place. My understanding was that it is achievable with grub2 as it can see the RAID + LVM from the MBR.

Tags for this Thread

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
  •