Increase the partition size in Linux VMs created before 2018
On older Linux VMs, the partition needs to be manually expanded.
fdisk /dev/sdaCommand (m for help): p
Disk /dev/sda: 32.2 GB, 32212254720 bytes
255 heads, 63 sectors/track, 3916 cylinders, total 62914560 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00026e2c
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 391167 194560 83 Linux
/dev/sda2 391168 2344959 976896 82 Linux swap / Solaris
/dev/sda3 2344960 62914559 30284800 83 LinuxPreviousIncrease the partition size in Windows VMs created before Q1 2024NextDelete virtual machines
Last updated
Was this helpful?