Logical volume gets displayed multiple times in the output of `lvs` command with some switches

Solution Verified - Updated -

Issue

  • Logical volume gets displayed multiple times in the output of lvs command with some switches
# lvs -a -o +devices
LV   VG             Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert Devices        
root rhel_vm252-253 -wi-ao---- 37.25g                                                     /dev/sda2(0)   
swap rhel_vm252-253 -wi-ao----  1.86g                                                     /dev/sda2(9537)
lv1  vg1            -wi-a----- <4.49g                                                     /dev/sdb(0)    
lv1  vg1            -wi-a----- <4.49g                                                     /dev/sdd(0)    
lv2  vg1            -wi-a----- 11.00g                                                     /dev/sdb(1024) 

Environment

  • Red Hat Enterprise Linux

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In