RHEL7: LVM2 command 'lvs -a -o +devices' reports duplicate entries for the same volume.
Issue
In the below output the linear image for a raid volume is being reported twice which can be confusing.
[root@localhost abc]# lvs -a -o +devices
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert Devices
myLV0 IscsiVG0 rwi-a-r--- 100.00m 100.00 myLV0_rimage_0(0),myLV0_rimage_1(0)
[myLV0_rimage_0] IscsiVG0 iwi-aor--- 100.00m /dev/mapper/mpathc(1)
[myLV0_rimage_0] IscsiVG0 iwi-aor--- 100.00m /dev/mapper/mpathc(28)
Environment
- Red Hat Enterprise Linux 7
- kernel - 3.10.0-693.el7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.