Centos 7 - Extend volume group to consume remaining space

phoeneousphoeneous Go ping yourself...Member Posts: 2,333 ■■■■■■■□□□
I'm throwing Centos 7 on an old laptop with a 128GB hard disk. During the install I chose to have it automatically partition (bad idea). After install was complete I noticed that it created /dev/mapper/home as a separate lvm (65GB) from /dev/mapper/root (50GB).
I'd prefer to keep all my stuff under / as opposed to a separate lvm for /home So I umount /home and lvremove it.
When I run vgdisplay I see Free PE / Size 65.00GB.
How can I have my entire /root lvm take up the remainder of the Free PE in the volume group? I've tried lvextend and vgextend but it doesnt appear to work, still shows 65GB free. Any advice appreciated.


Sign In or Register to comment.