Why only one VG is showing in lsblk command at a time even though all the VGs are active.
Issue
-
After activating one VG, lsblk command does not show another vg and vice versa.
-
While activating testvg, lsblk command does not show anothe vg (e.g. vg0)
# vgchange -ay testvg
# lsblk
[...]
sdb 8:16 0 10G 0 disk
└─sdb1 8:17 0 10G 0 part
└─testvg-testlv 253:2 0 9G 0 lvm <----
sdc 8:32 0 10G 0 disk
└─sdc1 8:33 0 10G 0 part
- While activating another VG, lsblk command does not show another VG (i.e. testvg).
# vgchange -ay vg0
#lsblk
[...]
sdb 8:16 0 10G 0 disk
└─sdb1 8:17 0 10G 0 part
sdc 8:32 0 10G 0 disk
└─sdc1 8:33 0 10G 0 part
└─vg0-lv0 253:2 0 9G 0 lvm
Environment
Red Hat Enterprise Linux 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.