Bug 1706984

Summary: "Unknown feature in status:" messages in lvs output
Product: Red Hat Enterprise Linux 7 Reporter: Corey Marthaler <cmarthal>
Component: lvm2Assignee: Zdenek Kabelac <zkabelac>
lvm2 sub component: Displaying and Reporting QA Contact: cluster-qe <cluster-qe>
Status: CLOSED ERRATA Docs Contact:
Severity: low    
Priority: unspecified CC: agk, djuran, evansjahja13, heinzm, jbrassow, marcello.lodi, mcsontos, msnitzer, prajnoha, rhandlin, zkabelac
Version: 7.7Keywords: FutureFeature
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: lvm2-2.02.186-1.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1710551 (view as bug list) Environment:
Last Closed: 2020-03-31 20:04: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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1710551    

Description Corey Marthaler 2019-05-06 14:35:05 UTC
Description of problem:
I'm not sure what volume type and attribute is exactly causing this yet, but it appears to be thin/thinpool volumes. I've seen this many times in initial rhel7.7 test output.

[root@harding-02 ~]# lvs -a -o +devices
  Unknown feature in status: 8 24/2048 128 303/8000 9456 151 1060795 3993 0 303 0 3 metadata2 writethrough no_discard_passdown 2 migration_threshold 2048 smq 0 rw - 
  Unknown feature in status: 8 24/2048 128 303/8000 9456 151 1060795 3993 0 303 0 3 metadata2 writethrough no_discard_passdown 2 migration_threshold 2048 smq 0 rw - 
  Unknown feature in status: 8 24/2048 128 301/8000 9368 161 1060795 4140 0 301 0 3 metadata2 writethrough no_discard_passdown 2 migration_threshold 2048 smq 0 rw - 
  Unknown feature in status: 8 24/2048 128 301/8000 9368 161 1060795 4140 0 301 0 3 metadata2 writethrough no_discard_passdown 2 migration_threshold 2048 smq 0 rw - 
  LV              VG              Attr       LSize    Pool    Origin          Data% Meta%  Cpy%Sync Devices                                                               
  corigin         pv_shuffle_A    Cwi-aoC---  752.00m [cpool] [corigin_corig] 3.76  1.17   0.00     corigin_corig(0)                                                      
  [corigin_corig] pv_shuffle_A    owi-aoC---  752.00m                                               /dev/mapper/mpatha2(812)                                              
  [cpool]         pv_shuffle_A    Cwi---C---  500.00m                         3.76  1.17   0.00     cpool_cdata(0)                                                        
  [cpool_cdata]   pv_shuffle_A    Cwi-ao----  500.00m                                               /dev/mapper/mpatha2(687)                                              
  [cpool_cmeta]   pv_shuffle_A    ewi-ao----    8.00m                                               /dev/mapper/mpatha2(685)                                              
  linear          pv_shuffle_A    -wi-ao----    2.00g                                               /dev/mapper/mpatha2(0)                                                
  [lvol0_pmspare] pv_shuffle_A    ewi-------    8.00m                                               /dev/mapper/mpatha2(683)                                              
  stripe          pv_shuffle_A    -wi-ao----    2.00g                                               /dev/mapper/mpatha2(512),/dev/mapper/mpatha1(0),/dev/mapper/mpathb2(0)
  corigin         pv_shuffle_B    Cwi-aoC---  752.00m [cpool] [corigin_corig] 3.79  1.17   0.00     corigin_corig(0)                                                      
  [corigin_corig] pv_shuffle_B    owi-aoC---  752.00m                                               /dev/mapper/mpathd2(812)                                              
  [cpool]         pv_shuffle_B    Cwi---C---  500.00m                         3.79  1.17   0.00     cpool_cdata(0)                                                        
  [cpool_cdata]   pv_shuffle_B    Cwi-ao----  500.00m                                               /dev/mapper/mpathd2(687)                                              
  [cpool_cmeta]   pv_shuffle_B    ewi-ao----    8.00m                                               /dev/mapper/mpathd2(685)                                              
  linear          pv_shuffle_B    -wi-ao----    2.00g                                               /dev/mapper/mpathd2(0)                                                
  [lvol0_pmspare] pv_shuffle_B    ewi-------    8.00m                                               /dev/mapper/mpathd2(683)                                              
  stripe          pv_shuffle_B    -wi-ao----    2.00g                                               /dev/mapper/mpathd2(512),/dev/mapper/mpathd1(0),/dev/mapper/mpathf2(0)


Version-Release number of selected component (if applicable):
3.10.0-1039.el7.x86_64

lvm2-2.02.184-3.el7    BUILT: Mon Apr 29 08:50:15 CDT 2019
lvm2-libs-2.02.184-3.el7    BUILT: Mon Apr 29 08:50:15 CDT 2019
lvm2-cluster-2.02.184-3.el7    BUILT: Mon Apr 29 08:50:15 CDT 2019
lvm2-lockd-2.02.184-3.el7    BUILT: Mon Apr 29 08:50:15 CDT 2019
lvm2-python-boom-0.9-16.el7.2    BUILT: Mon Apr 29 08:52:45 CDT 2019
cmirror-2.02.184-3.el7    BUILT: Mon Apr 29 08:50:15 CDT 2019
device-mapper-1.02.156-3.el7    BUILT: Mon Apr 29 08:50:15 CDT 2019
device-mapper-libs-1.02.156-3.el7    BUILT: Mon Apr 29 08:50:15 CDT 2019
device-mapper-event-1.02.156-3.el7    BUILT: Mon Apr 29 08:50:15 CDT 2019
device-mapper-event-libs-1.02.156-3.el7    BUILT: Mon Apr 29 08:50:15 CDT 2019
device-mapper-persistent-data-0.7.3-3.el7    BUILT: Tue Nov 14 05:07:18 CST 2017


How reproducible:
Often

Comment 3 Evans 2019-05-24 11:05:30 UTC
I am having this issue as well on ArchLinux. I am new to LVM2, so I don't quite understand what causes this to happen.

I'm not sure which one causes the issues, but I have a few in mind:
1. I just updated my kernel (just today), running lvs -a gives the error
2. I have several unclean shutdown

I cannot confirm whethere this issue is present before any of those two.


% uname -a
Linux moonhsine 5.1.4-arch1-1-ARCH #1 SMP PREEMPT Wed May 22 08:06:56 UTC 2019 x86_64 GNU/Linux

% sudo lvm version
  LVM version:     2.02.184(2) (2019-03-22)  Library version: 1.02.156 (2019-03-22)
  Driver version:  4.39.0  Configuration:   ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc --localstatedir=/var --enable-applib --enable-cmdlib --enable-dmeventd --enable-lvmetad --enable-lvmpolld --enable-pkgconfig --enable-readline --enable-udev_rules --enable-udev_sync --enable-use-lvmetad --with-cache=internal --with-default-dm-run-dir=/run --with-default-locking-dir=/run/lock/lvm --with-default-pid-dir=/run --with-default-run-dir=/run/lvm --with-systemdsystemunitdir=/usr/lib/systemd/system --with-thin=internal --with-udev-prefix=/usr --enable-udev-systemd-background-jobs

% sudo lvs -a -o +devices
  Unknown feature in status: 8 2647/128000 512 95792/876544 1589244 78385 4312324 863014 0 3 52813 3 metadata2 writeback no_discard_passdown 2 migration_threshold 4096 smq 0 rw - 
  Unknown feature in status: 8 2647/128000 512 95792/876544 1589244 78385 4312324 863014 0 3 52813 3 metadata2 writeback no_discard_passdown 2 migration_threshold 4096 smq 0 rw - 
  LV                 VG Attr       LSize   Pool         Origin       Data%  Meta%  Move Log Cpy%Sync Convert Devices            
  [cache_data]       vg Cwi---C--- 214.00g                           10.93  2.07            55.13            cache_data_cdata(0)
  [cache_data_cdata] vg Cwi-ao---- 214.00g                                                                   /dev/sda2(125)     
  [cache_data_cmeta] vg ewi-ao---- 500.00m                                                                   /dev/sda2(0)       
  [lvol0_pmspare]    vg ewi------- 500.00m                                                                   /dev/sda2(54909)   
  root               vg Cwi-aoC---  50.00g [cache_data] [root_corig] 10.93  2.07            55.13            root_corig(0)      
  [root_corig]       vg owi-aoC---  50.00g 


I then try running

% sudo lvs -a -o +devices *LV* for each of them. The "Unknown feature" error is only present when I run it on:
vg/cache_data
vg/root

Comment 4 Zdenek Kabelac 2019-05-24 11:26:49 UTC
kernel started to report new 'keyword' in status - and lvm2 has not yet learned about it.

There will be soon some upstream patch for this new kernel enhancement.

Other then that - you can continue to use lvm2 normally - just command will print this 'unknown' warning.

Comment 5 Marian Csontos 2019-06-20 18:04:39 UTC
Do we want this fixed in 7.7?

Comment 8 Corey Marthaler 2019-10-15 20:16:03 UTC
This appears fixed in the latest 7.8 rpms.

3.10.0-1101.el7.x86_64

lvm2-2.02.186-2.el7    BUILT: Tue Sep 24 06:20:17 CDT 2019
lvm2-libs-2.02.186-2.el7    BUILT: Tue Sep 24 06:20:17 CDT 2019
lvm2-cluster-2.02.186-2.el7    BUILT: Tue Sep 24 06:20:17 CDT 2019
lvm2-lockd-2.02.186-2.el7    BUILT: Tue Sep 24 06:20:17 CDT 2019
device-mapper-1.02.164-2.el7    BUILT: Tue Sep 24 06:20:17 CDT 2019
device-mapper-libs-1.02.164-2.el7    BUILT: Tue Sep 24 06:20:17 CDT 2019
device-mapper-event-1.02.164-2.el7    BUILT: Tue Sep 24 06:20:17 CDT 2019
device-mapper-event-libs-1.02.164-2.el7    BUILT: Tue Sep 24 06:20:17 CDT 2019
device-mapper-persistent-data-0.8.5-1.el7    BUILT: Mon Jun 10 03:58:20 CDT 2019



[root@harding-02 ~]# dmsetup status | grep metadata2
pv_shuffle_A-corigin: 0 1540096 cache 8 24/2048 128 275/8000 966 152 656 4090 0 275 0 3 metadata2 writethrough no_discard_passdown 2 migration_threshold 2048 smq 0 rw - 
pv_shuffle_B-corigin: 0 1540096 cache 8 24/2048 128 200/8000 728 209 485 4095 0 200 0 3 metadata2 writethrough no_discard_passdown 2 migration_threshold 2048 smq 0 rw - 
[root@harding-02 ~]# 
[root@harding-02 ~]# 
[root@harding-02 ~]# lvs -a -o +devices
  LV                VG              Attr       LSize    Pool    Origin          Data%  Meta%  Move Log Cpy%Sync Convert Devices                                                                    
  corigin           pv_shuffle_A    Cwi-aoC---  752.00m [cpool] [corigin_corig] 3.44   1.17            0.00             corigin_corig(0)                                                           
  [corigin_corig]   pv_shuffle_A    owi-aoC---  752.00m                                                                 /dev/mapper/mpatha1(2607)                                                  
  [cpool]           pv_shuffle_A    Cwi---C---  500.00m                         3.44   1.17            0.00             cpool_cdata(0)                                                             
  [cpool_cdata]     pv_shuffle_A    Cwi-ao----  500.00m                                                                 /dev/mapper/mpatha1(2482)                                                  
  [cpool_cmeta]     pv_shuffle_A    ewi-ao----    8.00m                                                                 /dev/mapper/mpatha1(2480)                                                  
  linear            pv_shuffle_A    -wi-ao----    2.00g                                                                 /dev/mapper/mpatha1(0)                                                     
  [lvol0_pmspare]   pv_shuffle_A    ewi-------    8.00m                                                                 /dev/mapper/mpatha1(1966)                                                  
  [lvol0_pmspare]   pv_shuffle_A    ewi-------    8.00m                                                                 /dev/mapper/mpatha1(2479)                                                  
  raid0             pv_shuffle_A    rwi-aor---    2.00g                                                                 raid0_rimage_0(0),raid0_rimage_1(0)                                        
  [raid0_rimage_0]  pv_shuffle_A    iwi-aor---    1.00g                                                                 /dev/mapper/mpatha1(683)                                                   
  [raid0_rimage_1]  pv_shuffle_A    iwi-aor---    1.00g                                                                 /dev/mapper/mpathb1(171)                                                   
  raid1             pv_shuffle_A    Rwi-aor---    2.00g                                                100.00           raid1_rimage_0(0),raid1_rimage_1(0)                                        
  raid10            pv_shuffle_A    Rwi-aor---    2.00g                                                100.00           raid10_rimage_0(0),raid10_rimage_1(0),raid10_rimage_2(0),raid10_rimage_3(0)
  [raid10_rimage_0] pv_shuffle_A    iwi-aor---    1.00g                                                                 /dev/mapper/mpatha1(1710)                                                  
  [raid10_rimage_1] pv_shuffle_A    iwi-aor---    1.00g                                                                 /dev/mapper/mpathb1(1198)                                                  
  [raid10_rimage_2] pv_shuffle_A    iwi-aor---    1.00g                                                                 /dev/mapper/mpathc1(429)                                                   
  [raid10_rimage_3] pv_shuffle_A    iwi-aor---    1.00g                                                                 /dev/mapper/mpathd1(1)                                                     
  [raid10_rmeta_0]  pv_shuffle_A    ewi-aor---    4.00m                                                                 /dev/mapper/mpatha1(1709)                                                  
  [raid10_rmeta_1]  pv_shuffle_A    ewi-aor---    4.00m                                                                 /dev/mapper/mpathb1(1197)                                                  
  [raid10_rmeta_2]  pv_shuffle_A    ewi-aor---    4.00m                                                                 /dev/mapper/mpathc1(428)                                                   
  [raid10_rmeta_3]  pv_shuffle_A    ewi-aor---    4.00m                                                                 /dev/mapper/mpathd1(0)                                                     
  [raid1_rimage_0]  pv_shuffle_A    iwi-aor---    2.00g                                                                 /dev/mapper/mpatha1(940)                                                   
  [raid1_rimage_1]  pv_shuffle_A    iwi-aor---    2.00g                                                                 /dev/mapper/mpathb1(428)                                                   
  [raid1_rmeta_0]   pv_shuffle_A    ewi-aor---    4.00m                                                                 /dev/mapper/mpatha1(939)                                                   
  [raid1_rmeta_1]   pv_shuffle_A    ewi-aor---    4.00m                                                                 /dev/mapper/mpathb1(427)                                                   
  raid4             pv_shuffle_A    Rwi-aor---    2.00g                                                100.00           raid4_rimage_0(0),raid4_rimage_1(0),raid4_rimage_2(0)                      
  [raid4_rimage_0]  pv_shuffle_A    iwi-aor---    1.00g                                                                 /dev/mapper/mpatha1(1453)                                                  
  [raid4_rimage_1]  pv_shuffle_A    iwi-aor---    1.00g                                                                 /dev/mapper/mpathb1(941)                                                   
  [raid4_rimage_2]  pv_shuffle_A    iwi-aor---    1.00g                                                                 /dev/mapper/mpathc1(172)                                                   
  [raid4_rmeta_0]   pv_shuffle_A    ewi-aor---    4.00m                                                                 /dev/mapper/mpatha1(1452)                                                  
  [raid4_rmeta_1]   pv_shuffle_A    ewi-aor---    4.00m                                                                 /dev/mapper/mpathb1(940)                                                   
  [raid4_rmeta_2]   pv_shuffle_A    ewi-aor---    4.00m                                                                 /dev/mapper/mpathc1(171)                                                   
  stripe            pv_shuffle_A    -wi-ao----    2.00g                                                                 /dev/mapper/mpatha1(512),/dev/mapper/mpathb1(0),/dev/mapper/mpathc1(0)     
  tpool             pv_shuffle_A    twi-aotz--    2.00g                         1.69   11.52                            tpool_tdata(0)                                                             
  [tpool_tdata]     pv_shuffle_A    Twi-ao----    2.00g                                                                 /dev/mapper/mpatha1(1967)                                                  
  [tpool_tmeta]     pv_shuffle_A    ewi-ao----    4.00m                                                                 /dev/mapper/mpathh2(0)                                                     
  virt              pv_shuffle_A    Vwi-aotz--    2.00g tpool                   1.69                                                                                                               
  corigin           pv_shuffle_B    Cwi-aoC---  752.00m [cpool] [corigin_corig] 2.50   1.17            0.00             corigin_corig(0)                                                           
  [corigin_corig]   pv_shuffle_B    owi-aoC---  752.00m                                                                 /dev/mapper/mpatha2(2607)                                                  
  [cpool]           pv_shuffle_B    Cwi---C---  500.00m                         2.50   1.17            0.00             cpool_cdata(0)                                                             
  [cpool_cdata]     pv_shuffle_B    Cwi-ao----  500.00m                                                                 /dev/mapper/mpatha2(2482)                                                  
  [cpool_cmeta]     pv_shuffle_B    ewi-ao----    8.00m                                                                 /dev/mapper/mpatha2(2480)                                                  
  linear            pv_shuffle_B    -wi-ao----    2.00g                                                                 /dev/mapper/mpatha2(0)                                                     
  [lvol0_pmspare]   pv_shuffle_B    ewi-------    8.00m                                                                 /dev/mapper/mpatha2(1966)                                                  
  [lvol0_pmspare]   pv_shuffle_B    ewi-------    8.00m                                                                 /dev/mapper/mpatha2(2479)                                                  
  raid0             pv_shuffle_B    rwi-aor---    2.00g                                                                 raid0_rimage_0(0),raid0_rimage_1(0)                                        
  [raid0_rimage_0]  pv_shuffle_B    iwi-aor---    1.00g                                                                 /dev/mapper/mpatha2(683)                                                   
  [raid0_rimage_1]  pv_shuffle_B    iwi-aor---    1.00g                                                                 /dev/mapper/mpathb2(171)                                                   
  raid1             pv_shuffle_B    Rwi-aor---    2.00g                                                100.00           raid1_rimage_0(0),raid1_rimage_1(0)                                        
  raid10            pv_shuffle_B    Rwi-aor---    2.00g                                                100.00           raid10_rimage_0(0),raid10_rimage_1(0),raid10_rimage_2(0),raid10_rimage_3(0)
  [raid10_rimage_0] pv_shuffle_B    iwi-aor---    1.00g                                                                 /dev/mapper/mpatha2(1710)                                                  
  [raid10_rimage_1] pv_shuffle_B    iwi-aor---    1.00g                                                                 /dev/mapper/mpathb2(1198)                                                  
  [raid10_rimage_2] pv_shuffle_B    iwi-aor---    1.00g                                                                 /dev/mapper/mpathc2(429)                                                   
  [raid10_rimage_3] pv_shuffle_B    iwi-aor---    1.00g                                                                 /dev/mapper/mpathd2(1)                                                     
  [raid10_rmeta_0]  pv_shuffle_B    ewi-aor---    4.00m                                                                 /dev/mapper/mpatha2(1709)                                                  
  [raid10_rmeta_1]  pv_shuffle_B    ewi-aor---    4.00m                                                                 /dev/mapper/mpathb2(1197)                                                  
  [raid10_rmeta_2]  pv_shuffle_B    ewi-aor---    4.00m                                                                 /dev/mapper/mpathc2(428)                                                   
  [raid10_rmeta_3]  pv_shuffle_B    ewi-aor---    4.00m                                                                 /dev/mapper/mpathd2(0)                                                     
  [raid1_rimage_0]  pv_shuffle_B    iwi-aor---    2.00g                                                                 /dev/mapper/mpatha2(940)                                                   
  [raid1_rimage_1]  pv_shuffle_B    iwi-aor---    2.00g                                                                 /dev/mapper/mpathb2(428)                                                   
  [raid1_rmeta_0]   pv_shuffle_B    ewi-aor---    4.00m                                                                 /dev/mapper/mpatha2(939)                                                   
  [raid1_rmeta_1]   pv_shuffle_B    ewi-aor---    4.00m                                                                 /dev/mapper/mpathb2(427)                                                   
  raid4             pv_shuffle_B    Rwi-aor---    2.00g                                                100.00           raid4_rimage_0(0),raid4_rimage_1(0),raid4_rimage_2(0)                      
  [raid4_rimage_0]  pv_shuffle_B    iwi-aor---    1.00g                                                                 /dev/mapper/mpatha2(1453)                                                  
  [raid4_rimage_1]  pv_shuffle_B    iwi-aor---    1.00g                                                                 /dev/mapper/mpathb2(941)                                                   
  [raid4_rimage_2]  pv_shuffle_B    iwi-aor---    1.00g                                                                 /dev/mapper/mpathc2(172)                                                   
  [raid4_rmeta_0]   pv_shuffle_B    ewi-aor---    4.00m                                                                 /dev/mapper/mpatha2(1452)                                                  
  [raid4_rmeta_1]   pv_shuffle_B    ewi-aor---    4.00m                                                                 /dev/mapper/mpathb2(940)                                                   
  [raid4_rmeta_2]   pv_shuffle_B    ewi-aor---    4.00m                                                                 /dev/mapper/mpathc2(171)                                                   
  stripe            pv_shuffle_B    -wi-ao----    2.00g                                                                 /dev/mapper/mpatha2(512),/dev/mapper/mpathb2(0),/dev/mapper/mpathc2(0)     
  tpool             pv_shuffle_B    twi-aotz--    2.00g                         1.69   11.52                            tpool_tdata(0)                                                             
  [tpool_tdata]     pv_shuffle_B    Twi-ao----    2.00g                                                                 /dev/mapper/mpatha2(1967)                                                  
  [tpool_tmeta]     pv_shuffle_B    ewi-ao----    4.00m                                                                 /dev/mapper/mpathf2(0)                                                     
  virt              pv_shuffle_B    Vwi-aotz--    2.00g tpool                   1.69

Comment 10 errata-xmlrpc 2020-03-31 20:04:51 UTC
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://access.redhat.com/errata/RHBA-2020:1129