So, I just realized that my root partition which is 50 GB, only has 6 GB free space.
p.s: I have separate root and home partition, my home partition is 180 GB and I have a 1TB HDD drive too which I use for my most of my big files.
Should I do anything? like resizing or anything(just guessing), or it has enough space?
edit: I've never saved personal files on my root partition
second edit: So I did a scan on the partition and here's how is my root partition that big
I have 26 GB on /var (21 GB on /var/lib, 20 GB of it on /var/lib/snapd and on snapd, 14 GB is on /var/lib/snapd/snapshots) and 5 GB on /var/log)
and 14.1 GB on /usr (8 gb on /usr/lib and 4 gb on /usr/share)
these were the big files
/var/lib
? Might be/var/lib/snapd/
? That is where the snap packages are installed to.... If so , check output ofdu -h /var/lib/snapd/snaps/*
... – pLumo Apr 13 '21 at 13:01,also, 14GB of snapd is in snapshots and 3GB in cache
– Parsa Apr 13 '21 at 13:08snap
packages you don't need anymore. Also, you have snapshots ofsnap
packages. Automatic snapshots is disabled in Ubuntu. Either you made snapshots manually or you enabled the feature. Check withsnap saved
. – pLumo Apr 13 '21 at 13:10/var/lib/snapd/snapshots
, it seemed like i had turned on automatic snapshots or I made them manually. anyway, i deleted them withsnap forget
command. – Parsa Apr 13 '21 at 13:42