lvm cache support lost in zesty
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
grub fails to work when araid1 lvm volume exists that is cached in zesty.
grub version 2.02~beta3-4ubuntu1
The same configuration worked on yakkety
~$ sudo update-grub2
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found linux image: /boot/vmlinuz-
Found initrd image: /boot/initrd.
Found memtest86+ image: /memtest86+.elf
Found memtest86+ image: /memtest86+.bin
Found Windows 7 on /dev/sdc4
Found Debian GNU/Linux wheezy/sid on /dev/mapper/
Found Ubuntu 15.04 (15.04) on /dev/mapper/
Found Ubuntu 14.04.1 LTS (14.04) on /dev/mapper/
$ sudo lvcreate --type raid1 -L 1G lvm -n testing
Logical volume "testing" created.
~$ sudo lvcreate --type cache --cachemode writeback -L 10G -n ssdcachetest lvm/testing /dev/sda1
Using default stripesize 64.00 KiB.
WARNING: Data redundancy is lost with writeback caching of raid logical volume!
Logical volume lvm/testing is now cached.
~$ sudo update-grub2
Generating grub configuration file ...
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
error: invalid segment.
grub-probe: error: disk `lvmid/
removing the cache fixes the issue.
lvmid/OwVp3J-
--- Logical volume ---
LV Path /dev/lvm/boot
LV Name boot
VG Name lvm
LV UUID 7Dieap-
LV Write Access read/write
LV Creation host, time ubuntu, 2015-09-27 23:22:37 +0200
LV Status available
# open 1
LV Size 1.00 GiB
Current LE 256
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2
description: | updated |
affects: | grub-installer (Ubuntu) → grub2 (Ubuntu) |
summary: |
- grub fails on lvmcached raid1 volume + lvm cache support lost in zesty |
tags: | added: regression-release |
tags: | added: bionic |
tags: | added: rls-ff-incoming |
Status changed to 'Confirmed' because the bug affects multiple users.