[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #45709] Grub git master makes bad grub.cfg with btrfs raid of lvm v

From: James Harvey
Subject: [bug #45709] Grub git master makes bad grub.cfg with btrfs raid of lvm volumes
Date: Fri, 07 Aug 2015 23:55:21 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.125 Safari/537.36

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

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


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]