Summary: | sys-fs/lvm2-2.03.17-r2: breakage with cached volumes when USE=lvm (-thin) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Fabian Groffen <grobian> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | github, grobian, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=476908 https://bugs.gentoo.org/show_bug.cgi?id=563316 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Fabian Groffen
2023-01-23 09:10:33 UTC
Can this please be looked at? This just broke a system after the latest lvm2 update :( grobian: The cache_* binaries are part of sys-block/thin-provisioning-tools; Are you SURE you were using lvm2-2.03.17-r1.ebuild? I checked the history of that version, and the cache support is only there is you have USE=thin. If you're saying that Thin & Cache work reliably without sys-block/thin-provisioning-tools being present, then let's change that everywhere, but it really surprises me. Yes I was running 2.03.17-r1, but this happened inbetween -r1 and -r2: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e31bcf83eb070afb477f68cf9e22387a3f95e592 sys-fs/lvm2: disable LVM and thin by default See https://www.gentoo.org/support/news-items/2022-11-19-lvm2-default-USE-flags.html. That triggered me to only enable USE=lvm, for I don't use thin-provisioning and it has the heavy deps via thin-provisioning-tools. % qlist -Iv thin-provisioning-tools % I use SSD-cached volumes with HDDs, see lvmcache(7). Without the cache module, lvm fails in many ways because it doesn't understand the cached volumes any more, claiming corruption etc, see first post. I don't know how much this bloats the lvm binary, but in fact I don't think there's a real use-case why one wouldn't want cache=internal. You don't need cache_* binaries, it's all in lvm AFAICT. |