enter increment in GB
2. # growpart /dev/sda 3
CHANGED: partition=3 start=2101248 old: size=65005568 end=67106816 new: size=85979103,end=88080351
this will grow from 32gb to 43gb
3. # pvresize /dev/sda3
Physical volume "/dev/sda3" changed
1 physical volume(s) resized / 0 physical volume(s) not resized
this resize volume group to new size
4. # pvs
PV VG Fmt Attr PSize PFree
/dev/sda3 ubuntu-vg lvm2 a-- <41 .00g="" b="" g="" nbsp="">41>
/dev/sdb1 ssdMySQL lvm2 a-- <2 .00g="" nbsp="" p=""> /dev/sdc1 ssd1gb lvm2 a-- 1016.00m 1016.00m
Done!
ref:
https://ask.fedoraproject.org/en/question/115383/need-to-resize-lv_home-to-use-remaining-space-on-pv-but-cannot/
https://askubuntu.com/questions/24027/how-can-i-resize-an-ext-root-partition-at-runtime2>