I currently have 2 boxes running LMDE, both with only hard/physical partitions (setup with gparted). To avoid the problems related below, I intend to install LVM (as described here) ASAP, but probably won't be able to do that until the winter holidays. Meanwhile, I'm trying to fix some problems on these boxes:
- production box: for everyday work, runs UP4. LMDE is the only installed OS. Has 4 partitions: swap, /, /boot, /home
- experimentation box: newer/faster than the production box, but is not quite setup (more below). Has 7 partitions: swap, /, /boot, /home, /tmp, /usr, /var
However now my production box is giving me warnings about low free space on /. The experimentation box has a separate /var partition, but the production box has everything except /boot and /home (and swap) on the root partition, which I see has
Code: Select all
me@it:~$ df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/disk/by-uuid/5821418b-0f83-43b0-99f2-77964602ef6b 19G 17G 719M 97% /
me@it:~$ find / -maxdepth 1 -type d | grep -ve '/$' | grep -ve '/boot\|/home\|/proc\|/run' | sort | xargs -i du -hs {}/ 2> /dev/null
7.2M /bin/
8.0K /debian/
0 /dev/
35M /etc/
550M /lib/
5.2M /lib32/
4.0K /lib64/
16K /lost+found/
8.0K /media/
4.0K /mnt/
1.4G /opt/
4.0K /.pulse/
4.0K /root/
9.3M /sbin/
4.0K /selinux/
4.0K /srv/
0 /sys/
536K /tmp/
7.6G /usr/
7.1G /var/
me@it:~$ find /var -maxdepth 1 -type d | grep -ve '/var$' | sort | xargs -i du -hs {}/ 2> /dev/null
13M /var/backups/
6.5G /var/cache/
255M /var/lib/
4.0K /var/local/
38M /var/log/
80K /var/mail/
4.0K /var/opt/
56K /var/spool/
273M /var/tmp/
So what could I probably remove most safely, and how?