Bug 2108326
| Summary: | use_sparse_index doesn't appear to work, even with the suggested minimum giving by the warning message | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Corey Marthaler <cmarthal> |
| Component: | lvm2 | Assignee: | Zdenek Kabelac <zkabelac> |
| lvm2 sub component: | VDO | QA Contact: | cluster-qe <cluster-qe> |
| Status: | POST --- | Docs Contact: | |
| Severity: | low | ||
| Priority: | unspecified | CC: | agk, awalsh, heinzm, jbrassow, mcsontos, prajnoha, zkabelac |
| Version: | 8.7 | Keywords: | Triaged |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Corey Marthaler
2022-07-18 20:53:13 UTC
vdo_use_sparse_index = 1|0 is used to enable/disable sparse indexing (dense/sparse type of indexing) For specification of indexing size for deduplication there is option: vdo_index_memory_size_mb (with _mb suffix to emphasize the input size value is in MiB units) (the range is 256MiB .. 1TiB) --vdosettings is accepting same settings as lvm.conf (which provides full description of all vdo settings) As of now - there is no support for any 'suffixes' past the specified parameter value as the original text format has only a simple form of: setting = value Since there is identified bug in the processing of vdo_ prefix 'vdo_use_sparse_index' has not been parsed properly - so ATM only 'sparse_index=1' works correctly to continue with testing on this BZ. The error message about the 26130157568 bytes is for minimal size of converted LV (and comes from vdoformat tool). We may need to think if it is worth to pass some vdo size compution into lvm2 code base to avoid calling tools for incorrect parameters. This upstream patch is correcting parsing of vdo_use_ prefixed settings: https://listman.redhat.com/archives/lvm-devel/2022-August/024268.html |