How to resize the disk of a Fedora guest VM in VMWare ESXi
Posted
by
Cerin
on Server Fault
See other posts from Server Fault
or by Cerin
Published on 2012-08-30T15:19:59Z
Indexed on
2012/08/30
15:39 UTC
Read the original article
Hit count: 251
How do I resize (specifically increase) the disk size of a Fedora guest VM running under VMWare ESXi 4.1?
I have a Fedora 16 VM with an ext4 formatted disk, and I've increased its disk size using the vSphere client from 50GB to about 250GB. I rebooted the guest, and it correctly shows this size using fdisk -l /dev/sda
. However, df -H
still shows the old size.
I've found a few KB articles explaining how to resize partitions for some flavors of Linux, but nothing for Fedora with ext4. That article seems to imply I have to create a completely new partition, and that I can't simply expand the existing partition. Using Gparted, it also prevents me from simply resizing the existing partition. Is this impossible to do under Linux?
© Server Fault or respective owner