Is it possible to create a Logical Volume from more than one Volume Group...
... if the Volume Groups reside on the same Physical Volume?
... if the Volume Groups reside on different Physical Volumes?
OS is RHEL 9.
1 Answer 1
No, a logical volume always belongs to a single volume group. See man lvcreate
:
lvcreate creates a new LV in a VG.
You can merge separate VGs using vgmerge
, which would then allow you to use all the storage in those VGs in one or more logical volumes.
Physical volumes (PVs) also belong to at most one volume group, so
if the Volume Groups reside on the same Physical Volume?
isn’t possible either.
vgmerge
them together to make a single Volume Group. Also it should not be possible to have multiple VG on the same physical volume either. At most different VG/PV as partitions on the same physical disk. Or you meant something else?vgcreate
can’t use partial PVs. I don’t think there would be noticeable performance penalties with multiple partitions, but as you say there wouldn’t be much point to it.