[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: solution to / full



On Wed, Mar 01, 2023 at 02:35:17PM +0100, lina wrote:
> Hi,
> 
> My / is almost full.
> 
> # df -h
> Filesystem      Size  Used Avail Use% Mounted on
> udev            126G     0  126G   0% /dev
> tmpfs            26G  2.3M   26G   1% /run
> /dev/nvme0n1p2   23G   21G  966M  96% /
> tmpfs           126G   15M  126G   1% /dev/shm
> tmpfs           5.0M  4.0K  5.0M   1% /run/lock
> /dev/nvme0n1p6  267M   83M  166M  34% /boot
> /dev/nvme0n1p1  511M  5.8M  506M   2% /boot/efi
> /dev/nvme0n1p3  9.1G  3.2G  5.5G  37% /var
> /dev/nvme0n1p5  1.8G   14M  1.7G   1% /tmp
> /dev/nvme0n1p7  630G  116G  482G  20% /home
> 
> # ncdu -x
> --- /
> --------------------------------------------------------------------------
>    17.4 GiB [##########] /usr
> 
>     3.2 GiB [#         ] /opt
>    16.5 MiB [          ] /etc
>     7.3 MiB [          ] /root
> 
> What is the best solution so far?
> 
> I have done some purging already.
> :/usr# du -sh *
> 742M bin
> 4.0K games
> 260M include
> 8.1G lib
> 36M lib32
> 4.0K lib64
> 140M libexec
> 33M libx32
> 3.4G local
> 53M sbin
> 4.6G share
> 215M src

The one which sticks out a bit is /lib, but not outrageously so.
My /usr/lib is 4.1G.

You just might need a bigger disk?

In a pinch, you can "sudo apt-get clean", which purges the APT
package cache, which lives in /var. You didn't show us /var,
which might be interesting too (/var/log, in case some logs
aren't rotated properly?)

Cheers
-- 
t
> 
> 
> Thanks,

Attachment: signature.asc
Description: PGP signature


Reply to: