Expanding Xen Filesystems in 5 simple steps
Frequently, I find I need to increase the size of my XenU virtual disks. Luckily, this is dead simple - while it can’t be done while the XenU is booted, it only takes 30 seconds.
Given you want to expand a virtual disk called filesystem.image by 1024MB (1G), do the following:
1. Shutdown the XenU
2. dd if=/dev/zero bs=1M count=1024 >> filesystem.image
3. e2fsck -f filesystem.image
4. resize2fs filesystem.image
5. e2fsck -f filesystem.image




