[Bug 1526111] [NEW] RAID1 + LVM in 14.04.3 causes intermittent boot failure

Launchpad Bug Tracker 1526111 at bugs.launchpad.net
Thu Aug 6 22:16:05 UTC 2020


You have been subscribed to a public bug:

This problem seems to be related to a timing bug within `udev`, and has been experienced by other users as seen here;
http://serverfault.com/questions/567579/boot-failure-with-root-on-md-raid1-lvm-udev-event-timing

Changing `/dev/md/0` to `/dev/md0` inside `/etc/mdadm/mdadm.conf` seems
to resolve the problem. However unless you apply this patch, the system
will intermittently fail to boot correctly, getting stuck here;

kernel: [    3.003506] md: bind<sda1>
kernel: [    3.007705] md/raid1:md0: active with 1 out of 1 mirrors
kernel: [    3.007768] md0: detected capacity change from 0 to 499972440064
kernel: [    3.047284]  md0: unknown partition table
kernel: [    3.124709] device-mapper: table: 252:0: linear: dm-linear: Device lookup failed
kernel: [    3.124759] device-mapper: ioctl: error adding target to table
kernel: [    3.125156] device-mapper: table: 252:1: linear: dm-linear: Device lookup failed
kernel: [    3.125196] device-mapper: ioctl: error adding target to table

There is also an example `/lib/udev/rules.d/` patch inside the thread I
posted above, which proposes to add a `sleep` statement into LVM udev
rules.

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: lvm mdadm raid
-- 
RAID1 + LVM in 14.04.3 causes intermittent boot failure
https://bugs.launchpad.net/bugs/1526111
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to systemd in Ubuntu.



More information about the foundations-bugs mailing list