I wanted to increase the disk size of 2 VMs from 20GB to 100GB.
I followed the normal procedure, increased vmdk size, fdisk to create a new partition with the free space (sda3), vgextend, then lvextend to increase my root lv to 100% of the free space, and finally resize2fs for lv_root.
Now, I have 2 exactly same machines, but at the end I get different results concerning the lv_root size. Please see the screenshot below.
Can anyone please explain to me what's happening?
edit: Sorry for the screenshot, but because there is too much text output I found it more clear to have it like this.
My vgs output on the second machine
[root@ddsl-e012 ~]# vgs VG #PV #LV #SN Attr VSize VFree vg_ddsle012 2 2 0 wz--n- 99.47g 18.50g
On the first it shows no free space. I followed both times the same procedure. Why in the second time when I did a vgextend (
vgextend vg_ddsle012 /dev/sda3) didn't allocate the whole space and how can I fix it now?