[SOLVED] resizing PMG HDD root

May 1, 2026
4
1
3
Hi everybody
I have a problem with my PMG (VM on vmware) : the dev/mapper/pmg-root is near to be full (95% full)
if in ssh console I do un "df -h" :
1779693646228.png

but with fdisk -l :

/dev/sda3 49,5G

I woud like to extend /dev/mapper/pmg-root to the max capacity of the /dex/sda3 partition
How should I proceed ?
Can you help me ?
Best regards
 
First extend the Phyisical Volume to the extents of the partition: pvresize /dev/sda3
Check with pvdisplay if the PV Size is now correct.
Find out the LV Path of the logical volume you want to resize with lvdisplay | grep Path.
Extend the Logical Volume to the maximum free space: lvextend -l +100%FREE <LV Path>
Resize the filesystem on the extended Logical Volume. In case of ext4: resize2fs <LV Path>
 
Last edited: