I am using a VMMware client and running a Debian 6.0 instance. I am running out of disk space.
Is it possible to extend the ext4 filesystem while the instance is running? I cannot reboot due to critical services running on it and the filesystem nearly out of space.
You didn't really give much to work with, but if you're using LVM this isn't terribly difficult. The 'lvextend' command increases the space available to your partition. Here's I'm adding 10GB to my HomePart logical partition on my TeraStor volume
lvextend -L+10G /dev/TeraStor/HomePart
And then you resize the partition:
resize2fs /dev/TeraStor/Homepart
Growing the disk in VMware will not do what your expecting. Expanding the drive will grow the size of the disk, BUT the partitions on the disk don't grow with it.
If your system is using LVM, adding the new space and growing the file system is fairly easy.
If you are not using LVM your going to have to figure out how to expand the partition without losing data while the server is running. Not something I recommend doing. My recently re-installed DB server will back me up on that. :-)
No matter what the setup, your playing with your server's disks and file systems while it's live. Things can go wrong, make sure you have a working backup ready.