The latest upgrade to cpanel has failed due to insufficient space on the /usr partition. "Please correct these issues and rerun updates. •fatal: Cannot upgrade due to insufficent disk space. Detected 1.56G. You will need atleast 1.6G to install a new version of cPanel".
The partition sizes were the default / recommended option from softlayer at the time of setting up the server which is why the partitions are so small.
Previously I've moved the log files to free up space but now I have no idea what's left that I can safely move or delete. Below is the info on directory sizes etc.
Interestingly the /usr/local/src directory has 552mbs of content that I'm unable to view.
The partition sizes were the default / recommended option from softlayer at the time of setting up the server which is why the partitions are so small.
Previously I've moved the log files to free up space but now I have no idea what's left that I can safely move or delete. Below is the info on directory sizes etc.
Interestingly the /usr/local/src directory has 552mbs of content that I'm unable to view.
Code:
root@srv04 [/usr/local/src]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 7.8G 784M 6.6G 11% /
/dev/sda8 198G 27G 162G 14% /home
/dev/sda6 996M 721M 224M 77% /tmp
/dev/sda3 7.8G 5.8G 1.6G 79% /usr
/dev/sda2 9.7G 6.4G 2.9G 70% /var
/dev/sda1 122M 17M 100M 14% /boot
tmpfs 1014M 0 1014M 0% /dev/shm
root@srv04 [/usr]# du -sm * | sort -n
321 bin
831 lib
1213 share
3002 local
root@srv04 [/usr/share]# du -sm * | sort -n
31 icons
34 selinux
38 gtk-doc
41 frysk
44 foomatic
88 man
113 mysql-test
163 clamav
170 locale
260 doc
root@srv04 [/usr/share/doc]# du -sm * | sort -n
5 bash-3.2
5 libstdc++-devel-4.1.2
5 systemtap-client-1.8
6 swig-1.3.29
7 db4-devel-4.3.29
7 libxml2-devel-2.6.26
8 libstdc++44-devel-4.4.7
9 alsa-lib-devel-1.0.17
9 ghostscript-8.70
9 selinux-policy-2.4.6
14 Deployment_Guide-en-US-5.8
19 python-docs-2.4.3
25 ImageMagick-6.7.8
25 samba-3.0.33
root@srv04 [/usr/local]# du -sm * | sort -n
31 frontpage
41 apache.backup
45 apache
77 apache.backup_archive
274 cpanel-rollback
2474 cpanel
root@srv04 [/usr/local]# du -sm * | sort -n
26 cpaddons
30 Cpanel
184 modules-install
245 logs
267 whostmgr
299 bin
353 base
374 3rdparty
552 src
root@srv04 [/usr/local/src]# du -sm * | sort -n
du: cannot access `*': No such file or directory
root@srv04 [/usr/local/src]# ls
./ ../
root@srv04 [/usr/local/src]# du | sort -n
8
root@srv04 [/usr/local/cpanel/3rdparty]# du -sm * | sort -n
35 php
42 mailman
46 lib
52 share
173 perl
root@srv04 [/usr/local/cpanel/3rdparty/perl/514/lib/perl5/cpanel_lib]# du -sm * | sort -n
5 Net
7 DBIx
10 DateTime
17 Locales
37 i386-linux-64int