Off-topic, but there is a very handy utility named ncdu. It's ncurses variant 
of du.

Sent from my iPhone

> On 13 Nov 2016, at 02:51, Peter Lesterhuis <[email protected]> wrote:
> 
> My system compalined of a low disk space on filesystem root.
> Root consists of 50GB,
> df -h showed an usage of 100%.
> 
> I did some cleaning, : dnf clean all, removed an kernel (there were three), 
> removed a lot op files in /tmp and I ran Beachbit.
> 
> I have gained some room:
> 
> $ df -h
> Filesystem                    Size  Used Avail Use% Mounted on
> devtmpfs                      2.0G     0  2.0G   0% /dev
> tmpfs                         2.0G  284K  2.0G   1% /dev/shm
> tmpfs                         2.0G  9.6M  2.0G   1% /run
> tmpfs                         2.0G     0  2.0G   0% /sys/fs/cgroup
> /dev/mapper/vg_cello-lv_root   50G   35G   13G  74% /
> tmpfs                         2.0G   96K  2.0G   1% /tmp
> /dev/sda5                     477M  147M  302M  33% /boot
> /dev/mapper/vg_cello-lv_home  387G  165G  203G  45% /home
> tmpfs                         396M   24K  396M   1% /run/user/42
> tmpfs                         396M   28K  396M   1% /run/user/500
> 
> Still there is a lot inside root.
> It seems that /var/cache consumes a lot of room: PackageKit and yum.
> 
> $ su -c "du --max-depth=1 -m -x /var/cache"
> Password:
> 1    /var/cache/ccache
> 1    /var/cache/ldconfig
> 1    /var/cache/jwhois
> 17472    /var/cache/PackageKit
> 37    /var/cache/cups
> 1    /var/cache/hald
> 153    /var/cache/dnf
> 1    /var/cache/icecream
> 1    /var/cache/realmd
> 1    /var/cache/abrt-di
> 1    /var/cache/php-pear
> 1    /var/cache/libvirt
> 7    /var/cache/man
> 5597    /var/cache/yum
> 1    /var/cache/mock
> 1    /var/cache/app-info
> 1    /var/cache/httpd
> 6    /var/cache/fontconfig
> 1    /var/cache/foomatic
> 1    /var/cache/davfs2
> 1    /var/cache/gdm
> 1    /var/cache/ibus
> 1    /var/cache/krb5rcache
> 23271    /var/cache
> 
> Now I am not sure what to do. I want to delete unnecessary files. But here my 
> knowledge of the filesystem ends. Probably a stupid question, but I am going 
> to ask anyway; can I delete /var/cache/PackageKit, or will that ruin my 
> system?
> 
> 
> _______________________________________________
> users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to