[Bug 1391429] Re: grub-probe takes snapshot LV instead of origin

2014-12-01 Thread MegaBrutal
Reported upstream to BTRFS developers: https://bugzilla.kernel.org/show_bug.cgi?id=89121 ** Bug watch added: Linux Kernel Bug Tracker #89121 http://bugzilla.kernel.org/show_bug.cgi?id=89121 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to U

[Bug 1391429] Re: grub-probe takes snapshot LV instead of origin

2014-11-30 Thread Phillip Susi
** Changed in: linux (Ubuntu) Status: Confirmed => Triaged ** Changed in: grub2 (Ubuntu) Status: New => Invalid ** Changed in: linux (Ubuntu) Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ub

[Bug 1391429] Re: grub-probe takes snapshot LV instead of origin

2014-11-18 Thread MegaBrutal
I've built a system to reproduce the bug. You can download the image and run it with KVM or other virtualization technology. Instructions are straightforward – if you start the VM, you'll know what to do, and you'll see what I was talking about. http://undead.megabrutal.com/kvm-reproduce-1391429.i

[Bug 1391429] Re: grub-probe takes snapshot LV instead of origin

2014-11-17 Thread MegaBrutal
I've tested with 3.18.0-031800rc5-generic amd64. I experience the same. ** Tags added: kernel-bug-exists-upstream -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1391429 Title: grub-probe takes snaps

[Bug 1391429] Re: grub-probe takes snapshot LV instead of origin

2014-11-17 Thread Joseph Salisbury
Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.18 kernel[0]. If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'. If the mainline kernel does not fix t

[Bug 1391429] Re: grub-probe takes snapshot LV instead of origin

2014-11-17 Thread Phillip Susi
** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1391429 Title: grub-probe takes snapshot LV instead of origin To manage notificati

[Bug 1391429] Re: grub-probe takes snapshot LV instead of origin

2014-11-17 Thread Phillip Susi
If /proc/mounts lists the wrong device, then that certainly is a kernel bug. ** Also affects: linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/

[Bug 1391429] Re: grub-probe takes snapshot LV instead of origin

2014-11-16 Thread MegaBrutal
The kernel is not being rebooted meanwhile, so /proc/cmdline, so it still states the original device as root. For example: root=/dev/vg/rootlv rootflags=subvol=@ ro -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpa

[Bug 1391429] Re: grub-probe takes snapshot LV instead of origin

2014-11-16 Thread Phillip Susi
So /proc/mounts lists the snapshot as the root... what does /proc/cmdline say? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1391429 Title: grub-probe takes snapshot LV instead of origin To manage

[Bug 1391429] Re: grub-probe takes snapshot LV instead of origin

2014-11-16 Thread MegaBrutal
I made some experiments and could only reproduce the problem with btrfs file system. And /proc/mounts says the root file system is the snapshot. This is rather strange. Probably it's a btrfs bug and nothing to do with grub-probe. To reproduce: 1. Create an LV, format it to btrfs. 2. Mount the LV

[Bug 1391429] Re: grub-probe takes snapshot LV instead of origin

2014-11-11 Thread Phillip Susi
Grub does ignore snapshots... what does cat /proc/mounts say? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1391429 Title: grub-probe takes snapshot LV instead of origin To manage notifications abo