All links of one day
in a single page.
<Previous day - Next day>

Daily RSS Feed
The Daily Shaarli
——————————— Tuesday 21, March 2017 ———————————
permalink
linux - lvm - partition - resize -
How to resize a LVM partition on Linux (works with RHEL) which uses a Volume Group and a Logical Volume:

1) Resize the original partition (i.e. /dev/sda2) with GParted or any other tool
2) Reboot
3) sudo pvresize /dev/sda2
4) sudo lvextend -l +100%FREE /dev/mapper/vg_emmchma153-lv_root (use the name of your VG and LV)
5) sudo resize2fs /dev/mapper/vg_emmchma153-lv_root

Done!

Additional useful info: http://www.techrepublic.com/blog/smb-technologist/extending-partitions-on-linux-vmware-virtual-machines/
-