Summary: | sys-kernel/genkernel - Integrated LVM needs UDEV support | ||
---|---|---|---|
Product: | Gentoo Hosted Projects | Reporter: | Thomas Deutschmann (RETIRED) <whissi> |
Component: | genkernel | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Thomas Deutschmann (RETIRED)
2016-10-08 11:39:28 UTC
OK, I got my static lvm2 with UDEV support into the initramfs (see bug 442078). However when set 'external_device_info_source = "udev"' in /etc/lvm/lvm.conf (which get copied into the initramfs) the lvm part will fail with many > Udev database has incomplete information about device <device> errors. That's because lvm with UDEV supports expect /run/udev/ to be populated which isn't in the initramfs. I think > In other words, if udev is not running before you activate lvm, you may have problems. (from https://bugs.gentoo.org/show_bug.cgi?id=559026#c10) describes the problem best :/ Sounds like I have to use LVM2 without UDEV support, i.e. with > obtain_device_list_from_udev=0 > external_device_info_source="none" But I still don't understand why it suddenly stop working. I.e. why LVM works after boot for a while (i.e. all volumes show up, I can create snapshots...) and suddenly LVM no longer sees its volumes. Bug has been closed via the following commit: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed4c4b10e62a57129bb7da924f850e65bdf47b71 commit ed4c4b10e62a57129bb7da924f850e65bdf47b71 Author: Robin H. Johnson <robbat2@gentoo.org> AuthorDate: 2017-09-03 06:34:32 +0000 Commit: Robin H. Johnson <robbat2@gentoo.org> CommitDate: 2017-09-03 06:44:08 +0000 sys-kernel/genkernel: bump, lots of improvements - Improvements to the bincache system. - Updates initramfs tools to ensure they compile on ~arch glibc. -- busybox 1.27.2 -- mdadm 4.0 -- lvm 2.02.173 -- gpg 1.4.22 The following not well tested with new glibc at this time: - dmraid - fuse - iscsi - unionfs-fuse Closes: https://bugs.gentoo.org/442078 Closes: https://bugs.gentoo.org/524346 Closes: https://bugs.gentoo.org/596540 Closes: https://bugs.gentoo.org/627398 Closes: https://bugs.gentoo.org/628020 Closes: https://bugs.gentoo.org/609342 Package-Manager: Portage-2.3.6, Repoman-2.3.3 sys-kernel/genkernel/Manifest | 5 + sys-kernel/genkernel/genkernel-3.5.2.0.ebuild | 165 ++++++++++++++++++++++++++ sys-kernel/genkernel/genkernel-9999.ebuild | 17 +-- 3 files changed, 179 insertions(+), 8 deletions(-) |