Bug 1314482
| Summary: | Inconsistent headings in 'lvs' output for cache | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jonathan Earl Brassow <jbrassow> |
| Component: | lvm2 | Assignee: | Alasdair Kergon <agk> |
| lvm2 sub component: | Displaying and Reporting | QA Contact: | cluster-qe <cluster-qe> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | unspecified | ||
| Priority: | unspecified | CC: | agk, cmarthal, heinzm, jbrassow, msnitzer, prajnoha, prockai, zkabelac |
| Version: | 7.3 | ||
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | lvm2-2.02.152-1.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-04 04:19:16 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: | |
| Embargoed: | |||
|
Description
Jonathan Earl Brassow
2016-03-03 17:31:39 UTC
While I'm at it...
[root@bp-01 ~]# lvs -o barf 2>&1 | grep cache
lv_metadata_size - For thin and cache pools, the size of the LV that holds the metadata.
data_lv - For thin and cache pools, the LV holding the associated data.
metadata_lv - For thin and cache pools, the LV holding the associated metadata.
cache_total_blocks - Total cache blocks.
cache_used_blocks - Used cache blocks.
cache_dirty_blocks - Dirty cache blocks.
cache_read_hits - Cache read hits.
cache_read_misses - Cache read misses.
cache_write_hits - Cache write hits.
cache_write_misses - Cache write misses.
cachemode - For cache pools, how writes are cached.
cache_policy - The cache policy (cached segments only).
cache_settings - Cache settings/parameters (cached segments only).
'cachemode' should be 'cache_mode'
Covered by https://git.fedorahosted.org/cgit/lvm2.git/commit/?id=90c5d470c2f3a67a90894846f7294ad31d7dc877 https://www.redhat.com/archives/lvm-devel/2016-March/msg00074.html This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions Verified in the latest rpms.
3.10.0-419.el7.x86_64
lvm2-2.02.152-2.el7 BUILT: Thu May 5 02:33:28 CDT 2016
lvm2-libs-2.02.152-2.el7 BUILT: Thu May 5 02:33:28 CDT 2016
lvm2-cluster-2.02.152-2.el7 BUILT: Thu May 5 02:33:28 CDT 2016
device-mapper-1.02.124-2.el7 BUILT: Thu May 5 02:33:28 CDT 2016
device-mapper-libs-1.02.124-2.el7 BUILT: Thu May 5 02:33:28 CDT 2016
device-mapper-event-1.02.124-2.el7 BUILT: Thu May 5 02:33:28 CDT 2016
device-mapper-event-libs-1.02.124-2.el7 BUILT: Thu May 5 02:33:28 CDT 2016
device-mapper-persistent-data-0.6.2-0.1.rc8.el7 BUILT: Wed May 4 02:56:34 CDT 2016
cmirror-2.02.152-2.el7 BUILT: Thu May 5 02:33:28 CDT 2016
sanlock-3.3.0-1.el7 BUILT: Wed Feb 24 09:52:30 CST 2016
sanlock-lib-3.3.0-1.el7 BUILT: Wed Feb 24 09:52:30 CST 2016
lvm2-lockd-2.02.152-2.el7 BUILT: Thu May 5 02:33:28 CDT 2016
# cache headers are correct
[root@host-084 ~]# lvs -a -o +devices,cache_mode,cache_policy,cache_dirty_blocks
LV VG Attr LSize Pool Data% Meta% Cpy%Sync Devices CacheMode CachePolicy CacheDirtyBlocks
display_cache cache_sanity Cwi-a-C--- 4.00g [pool] 0.00 8.66 100.00 display_cache_corig(0) writeback smq 0
[display_cache_corig] cache_sanity owi-aoC--- 4.00g /dev/sdb1(0)
[lvol0_pmspare] cache_sanity ewi------- 12.00m /dev/sdc1(0)
[pool] cache_sanity Cwi---C--- 4.00g 0.00 8.66 100.00 pool_cdata(0) writeback smq
[pool_cdata] cache_sanity Cwi-ao---- 4.00g /dev/sda1(0)
[pool_cmeta] cache_sanity ewi-ao---- 12.00m /dev/sda1(1024)
# cache_mode is correct
[root@host-084 ~]# lvs -o barf 2>&1 | grep cache
lv_metadata_size - For thin and cache pools, the size of the LV that holds the metadata.
data_lv - For thin and cache pools, the LV holding the associated data.
data_lv_uuid - For thin and cache pools, the UUID of the LV holding the associated data.
metadata_lv - For thin and cache pools, the LV holding the associated metadata.
metadata_lv_uuid - For thin and cache pools, the UUID of the LV holding the associated metadata.
cache_total_blocks - Total cache blocks.
cache_used_blocks - Used cache blocks.
cache_dirty_blocks - Dirty cache blocks.
cache_read_hits - Cache read hits.
cache_read_misses - Cache read misses.
cache_write_hits - Cache write hits.
cache_write_misses - Cache write misses.
kernel_cache_settings - Cache settings/parameters as set in kernel, including default values (cached segments only).
kernel_cache_policy - Cache policy used in kernel.
cache_mode - For cache pools, how writes are cached.
cache_policy - The cache policy (cached segments only).
cache_settings - Cache settings/parameters (cached segments only).
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-1445.html |