dd if=/dev/zero count= >> /var/lib/xen/images/shiitake.dsk
Then? I need to increase the partition map for my disk:
fdisk /dev/xvda
What did I do in fdisk? I deleted the partition, and then recreated it with the new available blocks. Of course the machine was running at the time. What is life without a few risks? But I have to ask myself, why doesn't fdisk have a resize command? I swear that tool hasn't changed in well over a decade.
I am running LVM so then I had to:
pvresize /dev/xvda2
lvresize -L +5G /dev/VolGroup00/LogVol00
And finally since the filesystem is ext3:
[Read more...]
e2fsck -f