[Bug 811830] New: Root and boot partitions on a sw raid volume, system cannot boot
https://bugzilla.novell.com/show_bug.cgi?id=811830 https://bugzilla.novell.com/show_bug.cgi?id=811830#c0 Summary: Root and boot partitions on a sw raid volume, system cannot boot Classification: openSUSE Product: openSUSE 12.3 Version: Final Platform: x86-64 OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jjletho67-esus@yahoo.it QAContact: jsrain@suse.com Found By: --- Blocker: --- Created an attachment (id=531933) --> (http://bugzilla.novell.com/attachment.cgi?id=531933) y2log captured using the procedure described here: https://en.opensuse.org/SDB:YaST_logging_to_USB_stick_during_installation User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 It looks like it was impossible to configure boot and root partitions on raid volume using the standard yast installation. The system that I obtain is unable to boot Reproducible: Always Steps to Reproduce: 1. start a fresh installation of opensuse 12.3 64 bit using the installation DVD 2. disks must be completely zeroed 3. create, through yast partitioner, a layout like this: /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 empty extended partition -> sda4,sdb4 4. select grub2 as bootloader (grub legacy exhibits almost the same behavior) and install it on MBR Actual Results: After the installation the system was not able to boot (it fails on its very first reboot). On the screen there is this grub error message: ###################### Booting from local disk GRUB loading. Welcome to GRUB! error: file '/grub2/i386-pc/normal.mod' not found. Entering rescue mode grub rescue> ####################### Expected Results: The system is able to properly reboot and the second stage of the installation is launched Using the recovery cd from wich i booted I did some investigation discovering several problems: PROBLEM N. 1 the md raid 1 volume on wich i put /boot is not correctly initialized and /dev/sda1 appears to be empty. Consequently Grub is not able to find its configuration file and the kernel this is the situation i can see from the recovery cd: ******************* linux:~ # cat /proc/mdstat Personalities : [raid1] md125 : active (auto-read-only) raid1 sdb3[1] sda3[0] 23069568 blocks super 1.0 [2/2] [UU] resync=PENDING bitmap: 1/1 pages [4KB], 65536KB chunk md126 : active (auto-read-only) raid1 sdb1[1] 697280 blocks super 1.0 [2/1] [_U] bitmap: 1/1 pages [4KB], 65536KB chunk md127 : active (auto-read-only) raid1 sdb2[1] sda2[0] 1052608 blocks super 1.0 [2/2] [UU] resync=PENDING bitmap: 1/1 pages [4KB], 65536KB chunk unused devices: <none> ******************** Please note that /dev/md126 is the raid volume of our interest which i configured as /dev/md0, to be mounted as /boot ******************** linux:~ # mdadm --detail /dev/md126 /dev/md126: Version : 1.0 Creation Time : Fri Mar 22 10:50:00 2013 Raid Level : raid1 Array Size : 697280 (681.05 MiB 714.01 MB) Used Dev Size : 697280 (681.05 MiB 714.01 MB) Raid Devices : 2 Total Devices : 1 Persistence : Superblock is persistent Intent Bitmap : Internal Update Time : Fri Mar 22 11:01:17 2013 State : active, degraded Active Devices : 1 Working Devices : 1 Failed Devices : 0 Spare Devices : 0 Name : linux:0 UUID : 70fb55c6:47dfef14:7f280172:f5642bcd Events : 8 Number Major Minor RaidDevice State 0 0 0 0 removed 1 8 17 1 active sync /dev/sdb1 ******************** So the array is in degraded mode and /dev/sda1 looks like it was removed If I examine directly the two single devices I obtain this: ******************** linux:~ # mdadm --examine /dev/sdb1 /dev/sdb1: Magic : a92b4efc Version : 1.0 Feature Map : 0x1 Array UUID : 70fb55c6:47dfef14:7f280172:f5642bcd Name : linux:0 Creation Time : Fri Mar 22 10:50:00 2013 Raid Level : raid1 Raid Devices : 2 Avail Dev Size : 1394664 (681.10 MiB 714.07 MB) Array Size : 697280 (681.05 MiB 714.01 MB) Used Dev Size : 1394560 (681.05 MiB 714.01 MB) Super Offset : 1394672 sectors State : clean Device UUID : c9a37b38:98bda5c8:8e38f11b:6701829e Internal Bitmap : -8 sectors from superblock Update Time : Fri Mar 22 11:01:17 2013 Checksum : 976c3f59 - correct Events : 8 Device Role : Active device 1 Array State : .A ('A' == active, '.' == missing) linux:~ # mdadm --examine /dev/sda1 /dev/sda1: Magic : a92b4efc Version : 1.0 Feature Map : 0x1 Array UUID : 70fb55c6:47dfef14:7f280172:f5642bcd Name : linux:0 Creation Time : Fri Mar 22 10:50:00 2013 Raid Level : raid1 Raid Devices : 2 Avail Dev Size : 1394664 (681.10 MiB 714.07 MB) Array Size : 697280 (681.05 MiB 714.01 MB) Used Dev Size : 1394560 (681.05 MiB 714.01 MB) Super Offset : 1394672 sectors State : active Device UUID : de82b920:cd0eb164:f7fbfd57:7c27ca4d Internal Bitmap : -8 sectors from superblock Update Time : Fri Mar 22 10:50:05 2013 Checksum : 709567b - correct Events : 1 Device Role : Active device 0 Array State : AA ('A' == active, '.' == missing) ******************** So I can conclude that the array was created with both sda1 and sdb1, but, for some unknown reasons, sda1 has been pulled out before the first synchronization. I recovered from this situation booting from the recovery cd and issuing this command to hotadd /dev/sda1 to /dev/md0. mdadm --manage /dev/md126 --add /dev/sda1 I waited until the synchronization was completed and then the system was able to boot PROBLEM N. 2 grub is only installed on /dev/sda MBR Once I started the system I verified that grub was only installed on /dev/sda. So in the case /dev/sda is failed, the system cannot boot from /dev/sdb. I issued a grub2-install /dev/sdb without touching the grub config and the system was able to boot also with the first disk pulled out. PROBLEM N. 3 As you can see from the mdstat above, chunk size i selected (32 kb) was not honored PROBLEM N.4 Sometimes (i did several test installation) After applying the recovery workaround i described above the second stage of the installation was not launched (I selected runlevel 3 as my default, but this was not a problem on a non raid installation) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c
Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c1
Arvin Schnell
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c2
--- Comment #2 from Marco M.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c3
Andrey Borzenkov
Problem 2 is for Steffen Winterfeldt.
Note that the only configuration where it is safe to do is embedding grub2 in post-MBR gap (or in case of UEFI where it goes to ESP anyway). Anything else is error prone. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c4
Steffen Winterfeldt
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c5
--- Comment #5 from Andrey Borzenkov
I think problem 2 is actually for Michael (grub2-install).
How can grub-install know that it should install on multiple devices? We can discuss whether "grub-install /dev/sda /dev/sdb" makes sense (IMHO it does not add anything in this case), but YaST2 still has to invoke it with correct parameters. It is YaST2 task to build list of devices where grub2 has to be installed. Does it build such list now? And if it has this list, it can simply call "grub-install /dev/sda", "grub-install /dev/sdb" for every device in list. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c6
--- Comment #6 from Michael Chang
(In reply to comment #4)
I think problem 2 is actually for Michael (grub2-install).
It is YaST2 task to build list of devices where grub2 has to be installed. Does it build such list now?
Yes we can get such list in pbl passed by ybl but it's broken for Grub2. Legacy grub seems to handle the list well. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c7
Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c8
--- Comment #8 from Marco M.
The answer to problem 2 is definitely that 'chunk size' isn't meaningful for RAID1, so it is ignored. The chunk size you see listed as 64M is the "bitmap chunk size", which is how much of the array corresponds to each bit in the write-intent bitmap. It is unfortunate that we used the name "chunk size" for both :-(
You mean problem 3 I suppose :-) OK so i can safely ignore chunk size for raid 1 volumes
Problem 1 is strange. I can't see a good reason why one array would come through degraded while the others survived. Have you tried multiple times or did this only happen once? I'll see if I can reproduce it. If I can it shouldn't be hard to isolate the problem.
I reproduced the problem at least 10 times. I've done my tests using vmware. Nothing let me think the problem is hardware related so i think vmware for testing should be ok, but i'm eventually available to try an installation on a real hardware if you think it is necessary. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c9
Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c10
--- Comment #10 from Marco M.
I just tried an install from the 12.3 dvd with your partitioning in a KVM instance, and it worked perfectly :-(
:-( this is completely unexpeted to me! So vmware is involved in the problem! I'm very sorry, i was absolutely sure the problem was not hw related. In the next few days i'll do a test on a real hardware (or on kvm) and i'll post the results. In the meantime i did a test with opensuse 12.2 (always on a vmware vm) and an almost identical partition layout. This time i haven't had any problem with the array (it was well created and it was fully available at the first reboot). I'll try to examine logs in the hope to find some significative differences The problem number 2 instead (grub2 only installed onto sda MBR) was present in an identical way. Do you think it would be useful if i capture yast log also for opensuse 12.2 ? Should i open a different bug for this ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c11
--- Comment #11 from Michael Chang
The problem number 2 instead (grub2 only installed onto sda MBR) was present in an identical way.
I couldn't reproduce this problem when testing perl bootloader of this pull request. https://github.com/openSUSE/perl-bootloader/pull/16/commits Using sw raid1 created by mdadm on /dev/vda1 and /dev/vdb1, grub2 was successfully installed to /dev/vda and /dev/vdb respectively. Those commits are not likely to fix this problem directly so I'm surprised about the result. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c12
--- Comment #12 from Andrey Borzenkov
I couldn't reproduce this problem when testing perl bootloader of this pull request.
What's in your /boot/grub2/device.map and /etc/default/grub_installdevice? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c13
--- Comment #13 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c14
--- Comment #14 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c
Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c15
--- Comment #15 from Michael Chang
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c16
--- Comment #16 from Andrey Borzenkov
Created an attachment (id=538495) --> (http://bugzilla.novell.com/attachment.cgi?id=538495) [details] /etc/default/grub_installdevice
The main difference is that your grub_installdevice contains already /dev/vda and /dev/vdb and grub_installdevice of reported contains just (hd0). But perl-Bootloader does not change this file - so I guess something has changed in YaST2 bootloader module. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c17
--- Comment #17 from Michael Chang
The main difference is that your grub_installdevice contains already /dev/vda and /dev/vdb and grub_installdevice of reported contains just (hd0). But perl-Bootloader does not change this file - so I guess something has changed in YaST2 bootloader module.
It could be. My impression is YaST seems to not offer "Enable Redundancy for MD Array" loader location options for grub2 before but this time I notice it appeared in yast2 bootloader. But as always my memory could serve me wrong .. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c18
--- Comment #18 from Andrey Borzenkov
It could be. My impression is YaST seems to not offer "Enable Redundancy for MD Array" loader location options for grub2 before but this time I notice it appeared in yast2 bootloader.
But as always my memory could serve me wrong ..
I made installation of 12.3 on MD1 with default settings and bootloader was installed on the first disk only and grub_installdevice contained (hd0) only. Looking in y2log: 2013-05-09 02:43:56 <1> 10.0.2.15(2962) [YCP] BootCommon.ycp:1252 boot_md_mbr includes 2 disks: ["/dev/sda", "/dev/sdb"] ... 2013-05-09 02:43:56 <1> 10.0.2.15(2962) [YCP] bootloader/routines/lib_iface.ycp:136 Storing global settings $["activate":"true", "append":" nomodeset resume=/dev/md0 splash=silent quiet showopts", "append_failsafe":"showopts apm=off noresume nosmp maxcpus=0 edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe", "boot_boot":"false", "boot_extended":"false", "boot_mbr":"true", "boot_root":"false", "default":"0", "distributor":"openSUSE 12.3", "generic_mbr":"true", "gfxmode":"auto", "gfxtheme":"/boot/grub2/themes/openSUSE/theme.txt", "os_prober":"true", "terminal":"gfxterm", "timeout":"8", "vgamode":""] boot_md_mbr disappeared. This is due to this modules/BootCommon.ycp:Save if (VerifyMDArray()) { if ((enable_md_array_redundancy != true) && (haskey(my_globals, "boot_md_mbr"))) my_globals = remove(my_globals, "boot_md_mbr"); if ((enable_md_array_redundancy == true ) && (!haskey(my_globals, "boot_md_mbr"))) my_globals["boot_md_mbr"] = BootStorage::addMDSettingsToGlobals(); } else { if (haskey(globals, "boot_md_mbr")) my_globals = remove(my_globals, "boot_md_mbr"); } enable_md_array_redundancy is set only by UI as far as I can tell and UI is present in GRUB only. ./include/bootloader/grub/options.ycp: BootCommon::enable_md_array_redundancy = (boolean)UI::QueryWidget(`id("enable_redundancy"), `Value);
From perl-Bootloader side it should work already, but YaST2 part is missing.
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c19
--- Comment #19 from Andrey Borzenkov
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c20
--- Comment #20 from Andrey Borzenkov
dangerous. pbl just calls grub2-install two times. If grub2 could be embedded in both cases, that's OK. If grub2 could *not* be embedded, openSUSE forces it to use blocklists.
Correction - grub2 should refuse installation if it cannot be embedded even with "--force --skip-fs-probe" as long as /boot/grub2 is on MD raid. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c21
--- Comment #21 from Michael Chang
Created an attachment (id=538562) --> (http://bugzilla.novell.com/attachment.cgi?id=538562) [details] YaST2 BootGRUB2.ycp patch to enable Linux MD recognition
The patch looks good to me. Without it you'll have to go the the yast bootloader setting page, see redundancy array enabled AND you must click the OK to save it to true to get the redundancy really work. Otherwise it will be regular, non redundancy installation although the UI default says it's enabled, it's underlying is a uninitialized nil value. I was fooled by the buggy behavior during my testing.
BootGRUB2.pm did not initialize Linux MD state (see first attached patch). I do not know whether it was intentional. This patch does enable processing of both array members, but due to the way it is implemented it is *extremely* dangerous. pbl just calls grub2-install two times. If grub2 could be embedded in both cases, that's OK. If grub2 could *not* be embedded, openSUSE forces it to use blocklists. Second invocation of grub2-install will recreate core.img, rendering grub2 on first drive unbootable.
We should distinguish the options in perl bootloader. Believe or not it's not as easy as it should be ... $ MBR : <NO OPTIONS> $ BOOT AND ROOT Partition : --force $ EXTENDED : --force --skip-fs-probe $ CUSTOM : <DETECT and pick the best>
I'm still having this on my TODO list, but I still do not have clean way to support multiple install devices. Or, better said - it requires much more efforts than I want to spend on it.
What is worse, even if we remove "--force" parameter, second grub2-install invocation still recreates core.img potentially rendering grub2 on the first disk unbootable.
Why? Isn't core.img was embedded already to first disk ? The recreated file should not destroy it.
I'll get a look once more what can be done here.
Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c22
--- Comment #22 from Michael Chang
(In reply to comment #19)
dangerous. pbl just calls grub2-install two times. If grub2 could be embedded in both cases, that's OK. If grub2 could *not* be embedded, openSUSE forces it to use blocklists.
Correction - grub2 should refuse installation if it cannot be embedded even with "--force --skip-fs-probe" as long as /boot/grub2 is on MD raid.
Agree with you and yes. :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c23
--- Comment #23 from Andrey Borzenkov
Correction - grub2 should refuse installation if it cannot be embedded even with "--force --skip-fs-probe" as long as /boot/grub2 is on MD raid.
Agree with you and yes. :)
I actually mean - grub-install already does it. So I think we can enable this. https://github.com/yast/yast-bootloader/pull/16 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c24
--- Comment #24 from Marco M.
(In reply to comment #9)
I just tried an install from the 12.3 dvd with your partitioning in a KVM instance, and it worked perfectly :-(
:-( this is completely unexpeted to me! So vmware is involved in the problem! I'm very sorry, i was absolutely sure the problem was not hw related. In the next few days i'll do a test on a real hardware (or on kvm) and i'll post the results.
I did a test using kvm and i did NOT suffer the problem n. 1, so Neil's conclusion is definitely double confirmed. Problem N.1 is correlated to vmware. I'm now trying to figure out why opensuse 12.3 has this behavior while opensuse 12.2 works fine on exactly the same virtual hardware. I would like to see the kernel log while the installation goes on, but on the virtual terminal 4 I can see the kernel log only until yast is started. After that nothing more is logged. Could you suggest a way to see kernel log during the whole installation process ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c25
Romain Pelissier
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c26
--- Comment #26 from Marco M.
Hi, I experience the same issue with some differences: 2 x 3T discs
sda1, sdb1 => md126 /boot sda2, sdb2 => mds127 LVM LVM: /, /home, etc.
During the setup at the partition step and the end it complain that there is no /boot partition (well, yes there is one I have set md126 format ext4 and mounted on /boot) I have tried to forget this error and let setup finish (so I can fix the boot after).
I also experienced a similar issue, and the problem resided in the disks that were already partitioned and with raid volume already created. That situation causes confusion in yast which seems to prefer fully zeroed disks. In your case, when you started yast to install the SO, were your disks already partitioned ? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c
Alberto Planas Dominguez
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c27
--- Comment #27 from Marco M.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c28
--- Comment #28 from Andrey Borzenkov
The problem is still present in opensuse 13.1 rc1
Which one? Bug report lists 4 problems. Which one is still present? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c29
--- Comment #29 from Marco M.
Which one? Bug report lists 4 problems. Which one is still present?
The problem number 2 is still present in 13.1 rc1. Grub2 has been installed only on the mbr of the first disk, leaving the system in an unbootable state if the first disk of the raid volume fails. (other problems were assessed and they weren't real bugs) thanks to the forum, i've just discovered this bugs: https://bugzilla.novell.com/show_bug.cgi?id=842919 which looks very connected to this one -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c30
--- Comment #30 from Andrey Borzenkov
The problem number 2 is still present in 13.1 rc1. Grub2 has been installed only on the mbr of the first disk
This is a bug only of it was intended to install grub on every MBR by default. bnc#842919 may be result of such attempt. Otherwise it is the question of default. I think it is reasonable to install bootloader on all disks in RAID containing /boot by default, but I do not have enough understanding of code ATM to make a patch. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c31
--- Comment #31 from Marco M.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c32
--- Comment #32 from Neil Brown
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c33
--- Comment #33 from Marco M.
Hi Marco, please check bug 832501 to see if it matches your "degraded RAID1 for /boot" issue.
Hi Neil, yes the bug you mentioned looks very similar to the issue i'm facing. I posted some information in that bug. Thank you. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c34
--- Comment #34 from Marco M.
https://bugzilla.novell.com/show_bug.cgi?id=811830
https://bugzilla.novell.com/show_bug.cgi?id=811830#c35
--- Comment #35 from Steffen Winterfeldt
http://bugzilla.novell.com/show_bug.cgi?id=811830
--- Comment #36 from Marco M.
http://bugzilla.novell.com/show_bug.cgi?id=811830
--- Comment #37 from Andrei Borzenkov
The bug is tragically still present in 13.2 beta1 and the workaround of manually install grub2 on the second mbr does not work anymore! The boot stops because can't find the root file system (can't understand why).
I tested installation of 13.2 RC1 with manually created /boot, swap and / on RAID1. yast correctly detected this but defaulted to installing bootloader on the first disk only (see screenshot). If you check "Enable redundancy for MD array" it installs bootloader on both disks.
At this point what do you suggest ? Do i need to open a new bug ?
I think yes. At this point the question is whether current behavior is intentional or not. This bug became rather long and confusing. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=811830
--- Comment #38 from Marco M.
http://bugzilla.novell.com/show_bug.cgi?id=811830
--- Comment #39 from Marco M.
http://bugzilla.novell.com/show_bug.cgi?id=811830
--- Comment #40 from Andrei Borzenkov
In my case the "enable redundancy for md array" option has never appeared! (tested in 12.3, 13.1 and 13.2 beta1)
I know.
I tried to manually install grub2 on sdb, but the system was still unable to boot with sda pulled out. The boot process stops in the initrmfs phase, before root mounting, saying it can't mount root.
That's mdraid problem then. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=811830
--- Comment #41 from Neil Brown
http://bugzilla.novell.com/show_bug.cgi?id=811830
--- Comment #42 from Marco M.
Can you attach the initrd for the system that fails to boot if one device is missing please.
Hi Neil, i reopened the bug 832501 which looks strictly connected on which i'have just attached the rdosrepert.txt I'm attaching here the initrd -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=811830
--- Comment #43 from Marco M.
http://bugzilla.novell.com/show_bug.cgi?id=811830
--- Comment #44 from Marco M.
http://bugzilla.novell.com/show_bug.cgi?id=811830
--- Comment #45 from Neil Brown
participants (1)
-
bugzilla_noreply@novell.com