| Summary: | Extending thinpool metadata doesn't extend pmspare | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | prasun.gera |
| Component: | lvm2 | Assignee: | Zdenek Kabelac <zkabelac> |
| lvm2 sub component: | Thin Provisioning | QA Contact: | cluster-qe <cluster-qe> |
| Status: | CLOSED WONTFIX | Docs Contact: | |
| Severity: | unspecified | ||
| Priority: | unspecified | CC: | agk, cmarthal, heinzm, jbrassow, msnitzer, prajnoha, prasun.gera, thornber, zkabelac |
| Version: | 7.2 | ||
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-11-18 17:32:51 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
prasun.gera
2016-04-03 05:11:46 UTC
I just had a look at /etc/lvm/lvm.conf, and I noticed thin_pool_autoextend_threshold = 100. So the metadata was never going to extend on its own ? That's puzzling. Why does the OS installer such a low value then ? (In reply to prasun.gera from comment #2) > I just had a look at /etc/lvm/lvm.conf, and I noticed > thin_pool_autoextend_threshold = 100. So the metadata was never going to > extend on its own ? That's puzzling. Why does the OS installer such a low > value then ? lvm2 default configuration is set to NOT auto-extend any LV - as we do not know what for is the free space VG (same as with old 'thick' snapshots). So it's always on the machine administrator to decide how can 'eat' space in VG. Note: this allocation policy should be probably much more advanced like setting 'max' size the pool can grow to - but that's probably a big can a worms. Anyway - ATM if you want the thin-pool to auto-extend - you need to set threshold to lower value then 100% - from this moment (when monitoring is enabled) thin-pool can 'eat' free space in your VG. I also believe current version of lvm2 is maintaining size of _pmspare much better and the _pmspace should be upsized to biggest metadata LV in VG (for recovery purpose) There have been several fixes already upstream improving extension of _pmspare - but those likely not meet criteria for new release of RH7. |