Fixed Blog Out of Space

Posted by JD 09/29/2012 at 14:00

The last month or so, this VM has been running low on storage thanks to some aggressive firewall filtering and increased logging to make abusive guests automatically blocked. Sorry to all my friends in China and Russia who are blocked now.

This morning, the blog was really slow and sitting at 97% disk utilization. It hit 100% yesterday, so some quick log file deletions were needed. I needed to add storage sooner than later. It is Saturday morning – a normal system maintenance period. The time was right.

Following the instructions to increase KVM VM Image File Size and 20 minutes later, all is well. Plus the VM and blog seem to be much, much faster. I’d forgotten how performance is slowed on UNIX systems when the file system gets full.

$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/vda1              5228060   3588288   1376312  73% /

Plenty of space now. Don’t forget to use parted and gparted to handle larger HDDs with 4K boundaries correctly, automatically, not fdisk. Those tools work correctly for older HDDs too.

Anyway, I hope it makes your experience visiting my little corner of the internet a tiny bit more enjoyable.