[Bug 1219462] New: Unable to boot when lvm raidintegrity is enabled
https://bugzilla.suse.com/show_bug.cgi?id=1219462 Bug ID: 1219462 Summary: Unable to boot when lvm raidintegrity is enabled Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Bootloader Assignee: screening-team-bugs@suse.de Reporter: william.brown@suse.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Created attachment 872386 --> https://bugzilla.suse.com/attachment.cgi?id=872386&action=edit screenshot of grub errors If a raid 1 lvm volume is configure with raidintegrity enable, grub is unable to boot with the error: "unknown node 'root_rimage_0'" Reproducer: Install tumbleweed in a VM with LVM for root + swap. Resize the VM disk to allow space for the integrity image. Add another virtual disk of the same size. copy the partition table from vda to vdb # sgdisk -R /dev/vdb /dev/vda reset vdb's GUID # sgdisk -G /dev/vdb Create a PV on vdb2 # pvcreate /dev/vdb2 Add vdb2 to the vg #vgextend system /dev/vdb2 Convert the root lv to raid 1 # lvconvert --type raid1 system/root wait for the sync to complete # lvs -a -o +devices LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices root system rwi-aor--- 18.62g 100.00 root_rimage_0(0),root_rimage_1(0) [root_rimage_0] system iwi-aor--- 18.62g /dev/vda2(351) [root_rimage_1] system iwi-aor--- 18.62g /dev/vdb2(1) [root_rmeta_0] system ewi-aor--- 4.00m /dev/vda2(5117) [root_rmeta_1] system ewi-aor--- 4.00m /dev/vdb2(0) swap system -wi-ao---- 1.37g /dev/vda2(0) Reboot to demonstrate that raid1 is bootable. # reboot Add raidintegrity # lvconvert --raidintegrity y system/root Wait for the sync to complete # lvs -a -o +devices LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices root system rwi-aor--- 18.62g 100.00 root_rimage_0(0),root_rimage_1(0) [root_rimage_0] system gwi-aor--- 18.62g [root_rimage_0_iorig] 100.00 root_rimage_0_iorig(0) [root_rimage_0_imeta] system ewi-ao---- 220.00m /dev/vda2(5118) [root_rimage_0_iorig] system -wi-ao---- 18.62g /dev/vda2(351) [root_rimage_1] system gwi-aor--- 18.62g [root_rimage_1_iorig] 100.00 root_rimage_1_iorig(0) [root_rimage_1_imeta] system ewi-ao---- 220.00m /dev/vdb2(4767) [root_rimage_1_iorig] system -wi-ao---- 18.62g /dev/vdb2(1) [root_rmeta_0] system ewi-aor--- 4.00m /dev/vda2(5117) [root_rmeta_1] system ewi-aor--- 4.00m /dev/vdb2(0) swap system -wi-ao---- 1.37g /dev/vda2(0) Reboot -- Expected Behaviour System boots normally. -- Actual Behaviour Grub errors and the system is unbootable. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1219462 https://bugzilla.suse.com/show_bug.cgi?id=1219462#c1 --- Comment #1 from William Brown <william.brown@suse.com> --- Affects SLE/Leap 15.5 as well. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com