
Thereafter, grow the filesystem using the resize2fs: server:/$ sudo resize2fs /dev/sda2įilesystem at /dev/sda2 is mounted on / on-line resizing required Information: You may need to update /etc/fstab.ĥ. Warning: Partition /dev/sda2 is being used. Number Start End Size File system Name Flags Sector size (logical/physical): 512B/512B Welcome to GNU Parted! Type 'help' to view a list of commands.

Now extend the partition: server:/$ sudo parted Log in to Ubuntu and extend the partition using the parted:įilesystem Size Used Avail Use% Mounted on Check in the ESXi, the disk capacity will show 30GB now:Ĥ. We needed to extend from 16GB to 30GB, and we used 30G as the last disk size.ģ.

I remembered the old software we used back in the stone age, like Symantec PartitionMagic or Norton Disk Doctor.


We started building something on a Dev VM but decided to move it to production later on. We were struggling with the disk capacity of a necessary Ubuntu VM.
