Follow-up Comment #6, bug #45709 (project grub):

util/grub-probe.c:268 is:
   device_names = grub_guess_root_devices (grub_path);
that function exists at grub-core/osdep/unix/getroot.c:492 which is around
where I'm thinking needs to get updated.

I'll stop here for now, rather than start trying to put together a patch.

Let me know if running anything for you helps.

Here are the commands I used to set everything up as I did:


pvcreate /dev/sda2
pvcreate /dev/sdb2
pvcreate /dev/sdc2
vgcreate disk1 /dev/sda2
vgcreate disk2 /dev/sdb2
vgcreate disk3 /dev/sdc2
lvcreate disk1 -L 100G -n terra1
lvcreate disk2 -L 100G -n terra2
lvcreate disk3 -L 100G -n terra3
mkfs.btrfs -m raid1 -d raid1 /dev/disk1/terra1 /dev/disk2/terra2
/dev/disk3/terra3


Then, with the way btrfs raid works, you just mount /dev/disk1/terra1 like
it's a standalone non-raid device, and the btrfs internals pick up the other
devices.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45709>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/


_______________________________________________
Bug-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-grub

Reply via email to