Bug#804629: linux-image-amd64: Cannot mount LVM RAID1 file system at boot

SW Riccardo Scartozzi riccardo.scartozzi at softwareworkers.it
Fri Mar 24 10:45:04 UTC 2017


> On recent kernels it just works.
Sorry but as said in my previous post I'm still experiencing the issue 
even with the kernel version 4.9 from backports.

> I believe the bug can be closed now.
Sorry, but the bug is still present!

As Jarek Kamiński himself said:
> The legacy mirror is not affected, only raid1. The steps to reproduce 
> are:
> lvcreate -L 100M --type raid1 -m 1 -n test-raid
> lvchange -an test-raid
> lvchange -ay test-raid
> 
> and it either works or not.

I haven't test to activate and deactivate the logical volume, therefore 
I experience the issue every time on system reboot (but I will make a 
go).


Here is what I get on logs (sorry for not posting earlier):

[    0.000000] Linux version 4.9.0-0.bpo.2-amd64 
(debian-kernel at lists.debian.org) (gcc version 4.9.2 (Debian 4.9.2-10) ) 
#1 SMP Debian 4.9.13-1~bpo8+1 (2017-02-27)
[    0.000000] Command line: 
BOOT_IMAGE=/boot/vmlinuz-4.9.0-0.bpo.2-amd64 root=/dev/md1 ro 
rootdelay=10
[    0.000000] Kernel command line: 
BOOT_IMAGE=/boot/vmlinuz-4.9.0-0.bpo.2-amd64 root=/dev/md1 ro 
rootdelay=10
[    0.600171] pmd_set_huge: Cannot satisfy [mem 0xf8000000-0xf8200000] 
with a huge-page mapping due to MTRR override.
[    0.976001] systemd-udevd[90]: starting version 215
[    0.976401] random: systemd-udevd: uninitialized urandom read (16 
bytes read)
[    1.004407] usb usb1: Manufacturer: Linux 4.9.0-0.bpo.2-amd64 
xhci-hcd
[    1.007544] usb usb2: Manufacturer: Linux 4.9.0-0.bpo.2-amd64 
xhci-hcd
[    1.293276] usb usb3: Manufacturer: Linux 4.9.0-0.bpo.2-amd64 
ehci_hcd
[    1.313268] usb usb4: Manufacturer: Linux 4.9.0-0.bpo.2-amd64 
ehci_hcd
[   14.155760] md: raid1 personality registered for level 1
[   14.157449] md: raid0 personality registered for level 0
[   14.573040] md: raid6 personality registered for level 6
[   14.573101] md: raid5 personality registered for level 5
[   14.573160] md: raid4 personality registered for level 4
[   14.611467] md: md1 stopped.
[   14.611779] md: bind<sdb1>
[   14.611910] md: bind<sda1>
[   14.612648] md/raid1:md1: active with 2 out of 2 mirrors
[   14.612730] md1: detected capacity change from 0 to 20970405888
[   14.895923] EXT4-fs (md1): mounted filesystem with ordered data mode. 
Opts: (null)
[   15.936768] systemd-udevd[359]: starting version 215
[   17.755542] EXT4-fs (md1): re-mounted. Opts: errors=remount-ro
[   19.971243] md/raid1:mdX: not clean -- starting background 
reconstruction
[   19.972180] md/raid1:mdX: active with 2 out of 2 mirrors
[   19.977646] mdX: invalid bitmap file superblock: bad magic
[   19.978540] mdX: bitmap file superblock:
[   19.978547] mdX: failed to create bitmap (-22)
System infos:
$ uname -a
Linux SWhost 4.9.0-0.bpo.2-amd64 #1 SMP Debian 4.9.13-1~bpo8+1 
(2017-02-27) x86_64 GNU/Linux
$ cat /etc/debian_version
8.7


Thank you,

risca



More information about the pkg-lvm-maintainers mailing list