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 ~]# vgsVG          #PV #LV #SN Attr   VSize  VFree vg_ddsle012   2   2   0 wz--n- 99.47g 18.50gOn 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?
Innacurate lv_root size after extend
partition;fdisk;resize2fs
Ok, it seems that during my lvextend on the second machine I had forgotten the + sign. So, instead oflvextend -l +100%FREE /dev/mapper/vg_ddsle012-lv_rootI've writtenlvextend -l 100%FREE /dev/mapper/vg_ddsle012-lv_rootso the space wasn't added to the actual size of the logical volume.