I have inherited a Centos 5.5 server provided by Softlayer.
My /usr partition is filling up, and I can't see any quick wins by deleting cruft. It looks like the sheer number of cpanel accounts is to blame, that and the /usr directory not being made large enough initially.
The current status of the disks is as follows:
Filesystem Type 1K-blocks Used Available Use% Mounted on /dev/sda5 ext3 10153988 2270004 7359868 24% / /dev/sda8 ext3 1019208 39296 927304 5% /tmp /dev/sda7 ext3 438694908 107546224 308504668 26% /home /dev/sda3 ext3 10154020 5162120 4467780 54% /var /dev/sda2 ext3 10154020 8107412 1522488 85% /usr /dev/sda1 ext3 101086 24181 71686 26% /boot tmpfs tmpfs 4082860 0 4082860 0% /dev/shm
I need to increase the size of this, I'm thinking of doubling it to 20GB.
I have read that its possible to expand ext3 partitions on live systems. My question is, how would I go about this? The softlayer guys won't touch it with a barge-pole, and will only go as far as performing an OS reload, thus leaving me to restore everything from backups.