[opensuse-factory] Tumbleweed (Kubic) Installation on MD Raid
Hi, at the moment I try to install openSUSE Kubic on a RAID system: md0: sda1 + sdb1 RAID 1 /boot ext3 md1: sda2 + sdb2 RAID 0 swap swap md2: sda3 + sdb3 RAID 1 / btrfs I can create such setup in the storage part of the installation, but in the end the installation of grub2 is failing because it does not find the md device. If I look in the created grub.cfg file root is set to /dev/md0 (and not /dev/sda1 for example). How can I install openSUSE to a RAID boot device? Shouldn't it be possible to use /boot as RAID 1 device and tell grub to only use the partition from one of the disks? Cheers, Marcel -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Fri, Jul 06, Marcel Witte wrote:
Hi,
at the moment I try to install openSUSE Kubic on a RAID system:
md0: sda1 + sdb1 RAID 1 /boot ext3 md1: sda2 + sdb2 RAID 0 swap swap md2: sda3 + sdb3 RAID 1 / btrfs
I can create such setup in the storage part of the installation, but in the end the installation of grub2 is failing because it does not find the md device. If I look in the created grub.cfg file root is set to /dev/md0 (and not /dev/sda1 for example). How can I install openSUSE to a RAID boot device? Shouldn't it be possible to use /boot as RAID 1 device and tell grub to only use the partition from one of the disks?
openSUSE Kubic does not support a seperate /boot partition, you should have seen a warning about this. openSUSE Kubic is not openSUSE Tumbleweed. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & CaaSP SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Thanks for the info :) So I can leave it away and it will work with a single root partition? Will grub be able to boot from btrfs? Will a RAID 1 work in this case? 2018-07-06 17:05 GMT+02:00, Thorsten Kukuk <kukuk@suse.de>:
On Fri, Jul 06, Marcel Witte wrote:
Hi,
at the moment I try to install openSUSE Kubic on a RAID system:
md0: sda1 + sdb1 RAID 1 /boot ext3 md1: sda2 + sdb2 RAID 0 swap swap md2: sda3 + sdb3 RAID 1 / btrfs
I can create such setup in the storage part of the installation, but in the end the installation of grub2 is failing because it does not find the md device. If I look in the created grub.cfg file root is set to /dev/md0 (and not /dev/sda1 for example). How can I install openSUSE to a RAID boot device? Shouldn't it be possible to use /boot as RAID 1 device and tell grub to only use the partition from one of the disks?
openSUSE Kubic does not support a seperate /boot partition, you should have seen a warning about this. openSUSE Kubic is not openSUSE Tumbleweed.
Thorsten
-- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & CaaSP SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Hi, On Fri, Jul 06, Marcel wrote:
Thanks for the info :) So I can leave it away and it will work with a single root partition?
What will work with a single root partition? The default is a single root partition with /var/lib/docker as extra partition for openSUSE Kubic.
Will grub be able to boot from btrfs?
openSUSE supports official only one bootloader: grub2. btrfs is the default filesystem. A default installation uses grub2 with btrfs as root filesystem without /boot partition. So of course is grub2 able to boot from btrfs, else nobody would be able to install and boot our distribution ;)
Will a RAID 1 work in this case?
I don't know about the requirements for Raid and bootloaders. For datapartitions it works for sure. Thorsten -- Thorsten Kukuk, Distinguished Engineer, Senior Architect SLES & CaaSP SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany GF: Felix Imendoerffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nuernberg) -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 6 July 2018 at 18:12, Marcel <wittemar@googlemail.com> wrote:
Thanks for the info :) So I can leave it away and it will work with a single root partition? Will grub be able to boot from btrfs? Will a RAID 1 work in this case?
An option you might have would be to use btrfs RAID1 https://btrfs.wiki.kernel.org/index.php/UseCases#How_do_I_create_a_RAID1_mir... https://btrfs.wiki.kernel.org/index.php/Using_Btrfs_with_Multiple_Devices Admittedly I haven't done this on a Kubic machine, but I did it retroactively on the server currently hosting my blog (https://rootco.de) because the hosting provider didn't let me customise the partitions during the install -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 07/06/18 18:12, Marcel wrote:
Thanks for the info :) So I can leave it away and it will work with a single root partition? Will grub be able to boot from btrfs? Will a RAID 1 work in this case?
I might be worth to look into openQA tests, e.g. https://openqa.opensuse.org/tests/latest?test=RAID1&flavor=DVD&machine=64bit&arch=x86_64&distri=opensuse&version=Tumbleweed for what we call "RAID". -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (5)
-
Marcel
-
Marcel Witte
-
Oliver Kurz
-
Richard Brown
-
Thorsten Kukuk