Extending a root filesystem in Linux without LVM

Overview

One of the great things about working with virtual environments is that if you start to run out of space in a virtual machine, it is usually trivial to extend your disk. I’m going to take the example of a Linux guest under VMware Workstation though this should apply to most hypervisors and flavors of Linux.

If your VM is not using LVM, the steps you’ll perform are:

  1. Extend the size of the physical disk
  2. Extend the size of the partition on the physical disk
  3. Do an online resize of the filesystem to use the new space Read more of this post
Advertisements