[opensuse] Root and boot partitions on a sw raid volume (opensuse 12.2 - 12.3 rc1 64bit)
Hi all, i'm relatively new to opensuse, but i have been using linux (red hat based distros) since ten years ago (linux is not my job however). I've done several test installations using opensuse 12.2 and 12.3 rc1 and i encountered some unexpected problems with my partition layout and i started to realize that, probably, booting from a raid volume is not a supported configuration. I've already shared my experience on the forum without finding a definitive answer https://forums.opensuse.org/english/get-technical-help-here/pre-release-beta... https://forums.opensuse.org/english/get-technical-help-here/pre-release-beta... This is the partition layout i would like to implement: /boot -> /dev/md0 (raid1) -> sda1, sdb1 swap -> /dev/md1 (raid1) -> sda2,sdb2 / -> logvol1 -> volgroup1 -> /dev/md2 -> sda3,sdb3 /home -> logvol2 ->volgroup1 -> /dev/md2 -> sda3,sdb3 /tmp -> logvol3 -> volgroup1 -> /dev/md2 -> sda3,sdb3 /var -> logvol4 -> volgroup1 -> /dev/md2 -> sda3,sdb3 /space1 -> sda4 /space2 -> sdb4 The bootloader I selected was grub2. The system i obtain using full dvd yast graphical installation is unbootable. Doing some investigation (details on the forum) i discovered that grub was installed only on the first disk and the /dev/md0 raid volume was not initialized. All the /boot files were in sdb1 and nothing was written in sda1 which is the boot device really addressed by grub2 instance installed in the sda mbr. I manually started /dev/md0 with sdb1 and then i hot added sda1. Sinchronization started and completed few seconds later ( /boot is only 500 MB large). After sync was completed a rebooted the system and grub2 was able to regularly boot the system. By this way the system can boot, but can't survive to an sda failure because gurb is missing from sdb. I did some more test and i manually installed grub2 on sdb, without touching the configuration files. The system apparently is now able to survive an sda failure a boots from sdb. So my questions are: 1) Is really this configuration unsupported by opensuse ? I'm very surprised about that because redhat based distros i used in the past support booting form raid since, at least, 2008 2) Is manually adjusting the system as i described above (manual sync and manual grub installation) a reasonably secure way to have a stable system ? I also tryed to manually create partitions, raid and lvm volume prior to start the yast installer (see my second forum thread) but i encountered an erratic and unpredictable behavior of yast which refuses to use some raid volume, seeing them as they were physical disks. Any similar experience ? I have also opened a feature request on openfate https://features.opensuse.org/314870 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
jjletho67-esus@yahoo.it wrote:
Hi all, i'm relatively new to opensuse, but i have been using linux (red hat based distros) since ten years ago (linux is not my job however).
I've done several test installations using opensuse 12.2 and 12.3 rc1 and i encountered some unexpected problems with my partition layout and i started to realize that, probably, booting from a raid volume is not a supported configuration.
Booting from RAID1 is no problem, I have several systems on such a setup. I use lilo. -- Per Jessen, Zürich (9.4°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Booting from RAID1 is no problem, I have several systems on such a setup. I use lilo.
How did you install lilo ? manually or through yast installer ? My idea is that booting from raid is not natively supported but it's still possible with some manual tricks. I think lilo will be soon considered outdated, all main distros have already moved to grub as their default bootloader and recently opensuse and several other have started using grub2 (which i personally find uselessly more complex then grub legacy) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
jjletho67-esus@yahoo.it wrote:
Booting from RAID1 is no problem, I have several systems on such a setup. I use lilo.
How did you install lilo ? manually or through yast installer? My idea is that booting from raid is not natively supported but it's still possible with some manual tricks.
With the YaST installer. It warns about lilo not being supported, but the truth is that it works very well in 99% of my cases. I think I usually have to tweak the config slightly - e.g. add "raid-extra-boot". I always double-check, just in case YaST does screw something up.
I think lilo will be soon considered outdated, all main distros have already moved to grub as their default bootloader and recently opensuse and several other have started using grub2 (which i personally find uselessly more complex then grub legacy)
lilo does the job, being outdated or not means little to me. The only shortcoming I see in lilo is the lack of multi-boot support. One of these days when I'm bored, I might just fix that. -- Per Jessen, Zürich (10.6°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
lilo does the job, being outdated or not means little to me. The only shortcoming I see in lilo is the lack of multi-boot support. One of these days when I'm bored, I might just fix that.
It's very good to know that at least with lilo an installation with a software raid boot partition is possible. However i would like to know if that configuration is possible/supported also with grub or grub2 which are officially supported. I still have not any clear indication from the forum or from the mailing list The tests i'm doing tell me that there are severe problem using yast installation. Should i consider this a bug or simply i'm trying to do something which is deliberately unsupported ? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
jjletho67-esus@yahoo.it wrote:
Per Jessen wrote:
lilo does the job, being outdated or not means little to me. The only shortcoming I see in lilo is the lack of multi-boot support. One of these days when I'm bored, I might just fix that.
It's very good to know that at least with lilo an installation with a software raid boot partition is possible. However i would like to know if that configuration is possible/supported also with grub or grub2 which are officially supported.
Just my opinion - it has to be supported.
The tests i'm doing tell me that there are severe problem using yast installation. Should i consider this a bug or simply i'm trying to do something which is deliberately unsupported ?
I would open a bugreport. -- Per Jessen, Zürich (7.5°C) http://www.dns24.ch/ - free DNS hosting, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
jjletho67-esus@yahoo.it
-
Per Jessen