[CentOS] mounting lvm2

Sat Sep 3 13:33:28 UTC 2016
Ulf Volmer <u.volmer at u-v.de>

On 09/03/2016 03:22 PM, Alice Wonder wrote:

> Trying to mount drive on my laptop via USB interface. Which is easy when
> drives are plain old ext4 and not ext4 sitting on top lvm2.

> [root at localhost ~]# vgs
>   VG     #PV #LV #SN Attr   VSize   VFree
>   centos   1   3   0 wz--n- 111.30g    0
>   centos   1   3   0 wz--n- 223.08g    0

This is the reason why i normally set the VG name to the hostname.

But you can try to rename the VG. Pick the VG UUID from vgdisplay and
rename it:

vgrename $UUID centos-pc

HTH,
Ulf