D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Low diskspace on /

 

On 13/08/14 11:32, bad apple wrote:
On 13/08/2014 10:56, Julian Hall wrote:
Hi All,

Once again Mint is telling me / is low on disk space, and referring to
previous mails when I asked this question I know what information to
look for;

sda8 /is/ the / mount partition.  I have just checked the backup for /
and the size does seem to be reported correctly.  How would I list the
directory(ies) sizes on / please?

The steps you posted were fine: "df -klh" is confirming what Mint told
you, and that you have very little disk space left on /.

This is why I vehemently disagree with advocates of complex partitioning
systems and especially separate home partitions - self defeating,
backwards, prone to failure. In the modern world do one of the following:

1: single partition SSD (no separate anything, not even /boot - no swap
either, 8Gb+ RAM obviates it). In the case of EFI, you will also need a
~1Gb FAT32 EFI partition, that's it.
2: ZFS, BTRFS or LVM as your storage management layer - arbitrarily
resizing, snap-shotting and restoring filesystems is nice, I have
problems understanding why anyone would wilfully not use this

You're going to have to clear up your dangerously full root partition
the best you can - usual candidates are old kernels + linux-headers
packages littering /boot, crap building up in /var/log and /var/cache
and if you've done distribution upgrades between releases, a lot of
duplicate/obsolete packages and libraries.

Regards

Thanks for that. uname -r returns 3.13.0-33-generic. In /boot for example I have:

abi-3.11.0-18-generic          initrd.img-3.13.0-33-generic
abi-3.13.0-27-generic          initrd.img-3.8.0-19-generic
abi-3.13.0-29-generic          memtest86+.bin
abi-3.13.0-30-generic          memtest86+.elf
abi-3.13.0-32-generic          memtest86+_multiboot.bin
abi-3.13.0-33-generic          System.map-3.11.0-18-generic
abi-3.8.0-19-generic          System.map-3.13.0-27-generic
config-3.11.0-18-generic      System.map-3.13.0-29-generic
config-3.13.0-27-generic      System.map-3.13.0-30-generic
config-3.13.0-29-generic      System.map-3.13.0-32-generic
config-3.13.0-30-generic      System.map-3.13.0-33-generic
config-3.13.0-32-generic      System.map-3.8.0-19-generic
config-3.13.0-33-generic      vmlinuz-3.11.0-18-generic
config-3.8.0-19-generic       vmlinuz-3.13.0-27-generic
grub                  vmlinuz-3.13.0-29-generic
initrd.img-3.11.0-18-generic  vmlinuz-3.13.0-30-generic
initrd.img-3.13.0-27-generic  vmlinuz-3.13.0-32-generic
initrd.img-3.13.0-29-generic  vmlinuz-3.13.0-33-generic
initrd.img-3.13.0-30-generic  vmlinuz-3.8.0-19-generic

Would it be safe to delete anything other than 3.13.0-33 or do I need the older stuff in case of cockups? (It's me they're likely to happen at some point).

This is what is in /var/cache:

Cerce cache # dir
apt          cups               fontconfig  pm-utils
apt-xapian-index  debconf           ldconfig    pppconfig
cracklib      dictionaries-common  man       samba

Oh yes.. size is 1.1Gb.. ouch..

This is the /var/log content:

Cerce log # dir
alternatives.log       dpkg.log.3.gz         pm-suspend.log.2.gz
alternatives.log.1     dpkg.log.4.gz         pm-suspend.log.3.gz
alternatives.log.2.gz  dpkg.log.5.gz         prime-offload.log
alternatives.log.3.gz  faillog             prime-supported.log
alternatives.log.4.gz  fontconfig.log         pycentral.log
alternatives.log.5.gz  fsck             samba
apt               gpu-manager.log         speech-dispatcher
aptitude           gufw.log             syslog
aptitude.1.gz           hp             syslog.1
auth.log           installer         syslog.2.gz
auth.log.1           kern.log             syslog.3.gz
auth.log.2.gz           kern.log.1         syslog.4.gz
auth.log.3.gz           kern.log.2.gz         syslog.5.gz
auth.log.4.gz           kern.log.3.gz         syslog.6.gz
boot               kern.log.4.gz         syslog.7.gz
boot.log           lastlog             turboprint
bootstrap.log           mail.err             udev
btmp               mail.log             ufw.log
btmp.1               mdm             ufw.log.1
ConsoleKit           mintsystem.log         unattended-upgrades
cups               mintUpdate.history     upstart
dist-upgrade.log       news             uvcdynctrl-udev.log
dmesg               nvidia-installer.log     vbox-install.log
dmesg.0               nvidia-prime-upstart.log  wtmp
dmesg.1.gz           pm-powersave.log         wtmp.1
dmesg.2.gz           pm-powersave.log.1     Xorg.0.log
dmesg.3.gz           pm-powersave.log.2.gz     Xorg.0.log.old
dmesg.4.gz           pm-powersave.log.3.gz     Xorg.1.log
dpkg.log           pm-powersave.log.4.gz     Xorg.20.log
dpkg.log.1           pm-suspend.log
dpkg.log.2.gz           pm-suspend.log.1

17Mb so not an issue at the moment.

Kind regards,

Julian

--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq