My /var
is taking up the whole disk
sudo du -hx --max-depth=1 /
2.0G /opt
46G /var
12K /media
4.0K /srv
196K /tmp
4.0K /mnt
36M /root
8.3G /usr
4.0K /cdrom
200K /snap
32K /timeshift
16M /etc
16K /lost+found
57G /
I stared nautilus in admin mode (sudo nautilus
), moved old /var/log old version to trash. Then it wouldn't let me open Trash folder
- Where did they go?
- How do I decrease the size of
/var
?
/var/log
directory for large logs. You can safely remove the archived files in there, though you will want to check any large logs to see why they are large. If the system is trying to tell you something's wrong, then deleting the logs will only be a temporary measure. – matigo Oct 29 '21 at 03:31