[CentOS] mounting lvm2

Alice Wonder alice at domblogger.net
Sat Sep 3 13:48:38 UTC 2016


On 09/03/2016 06:33 AM, Ulf Volmer wrote:
> 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
>

Thanks, I'm on the right track now.



More information about the CentOS mailing list