The following process has been tested on the server version of the following distros
Shut down the VM and increase the volume in VM’s VMware ESXi settings and restart the VM
Login into the system via
web console. Change user privilege to administrator (
sudo), in other words – become
This command should invoke configure disk options and the terminal should look similar as below
Select the last drive (in my case
/dev/sda3) using up and down arrow key and from the bottom menu select
Resize has been selected, the terminal will prompt for the total size of the disk to be resized. Add the free space size with the current size and put the numbers in, if not already provided. In most cases, the system can detect the free space and adds it automatically. Press
At the bottom of the screen, the terminal will show that
partition *x* has been resized. (change x with the partition number that you just resized)
The next step is to write these changes (
partition table) into the disk. Select
Write option from the bottom menu using the left and right arrows.
This operation might delete data. So make sure that you have taken the appropriate backup of your data.
this will invoke a confirmation dialog, type
yes to confirm the changes and press
If this writing process did not encounter any problem then the terminal should show that the
partition table has been altered.
cfdisk by selecting
Quit from the bottom menu.
Terminal might show
syncing disks. message as it exits from the
Reboot the system.
log back in, change back to
The first thing to do after the restart is to check if the partition has been extended properly, to do that run
fdisk -l /dev/sda
This should show you that the desired partition has been extended.
df -h still shows that the
/ mount point is still stuck with nearly
4GB of space.
To increase the size of the logical volume at the mount point
/ we would need the file system
name from the command
df -h and then run
N.B: (change the file system name according to your system)
Check the disk size has changed
Successfully increased LV disk space in the ubuntu system.
Here is the original answer that lead me to this post for my own reference.