[bug #63839] LVM partition not show if insmod mdraid1x before insmod lvm

2024-01-04 Thread Guillermo Reisch
Follow-up Comment #2, bug#63839 (group grub):

still present in grub 2.12~rc1-12


___

Reply to this item at:

  

___
Mensaje enviado vía Savannah
https://savannah.gnu.org/




[bug #63839] LVM partition not show if insmod mdraid1x before insmod lvm

2023-02-26 Thread Guillermo Reisch
Follow-up Comment #1, bug #63839 (project grub):

bug:
 booting grub2
 insmod mdraid1x
 ls
  (hd0) (md/raid)
 insmod lvm
 ls
  (md/raid) (hd0)
 ... lvm partition is not show ... 

change algoritm because not getting the bug.
for some reason the "ls" command trigger the problem...
also the list of partition get reordered..
Bug also exist in GRUB2 (version 2.02)


___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/




[bug #63839] LVM partition not show if insmod mdraid1x before insmod lvm

2023-02-26 Thread Guillermo Reisch
URL:
  

 Summary: LVM partition not show if insmod mdraid1x before
insmod lvm
   Group: GNU GRUB
   Submitter: guillere
   Submitted: Sun 26 Feb 2023 05:31:58 PM UTC
Category: None
Severity: Major
Priority: 5 - Normal
  Item Group: None
  Status: None
 Privacy: Public
 Assigned to: None
 Originator Name: 
Originator Email: 
 Open/Closed: Open
 Release: other
 Release: 
 Discussion Lock: Any
 Reproducibility: Every Time
 Planned Release: None


___

Follow-up Comments:


---
Date: Sun 26 Feb 2023 05:31:58 PM UTC By: Guillermo Reisch 
this problem is in grub 2.06 (debian 2.06-8)
I have a LVM partition inside a RAID (mdadm raid)
Disk: (whole disk) => RAID => PV => LVM

Creation of disk (/dev/diskA)
 mdadm --create /dev/md/raid --level=1 --raid-devices=2 /dev/diskA missing
 pvcreate /dev/md/raid
 vgcreate vgr /dev/md/raid
 lvcreate --name A --size 12M gvr

bug:
booting grub2
insmod mdraid1x
insmod lvm
ls
 (hd0) (md/raid)
... lvm partition is not show ...

work around:
booting grub2
insmod lvm
insmod mdraid1x
ls
 (hd0) (md/raid) (lvm/vgr-A)

-
This problem was firts find in my machine that have 5 disk each partitioned in
raid1 and raid5 ; the boot partition is in the raid1 (that is formated in
ext4) so grub2 preload "mdraid1x" and "ext2" and boot perfeclty! The problem:
I want to migrate the boot partition inside a LVM partiton (that is inside the
raid5 that is the PV of this LVM), i do update-grub (that create a correct
menu entry and include "insmod lvm") but "insmod lvm" is loaded after "insmod
mdraid1x" so the boot partion is not show and cannot boot.
I reproduce this problem in a virtualbox so enconter that "insmod lvm" need to
be loaded before "insmod mdraid1x" to grub discover the partition correctly







___

Reply to this item at:

  

___
Message sent via Savannah
https://savannah.gnu.org/