#My system is running out of disk space very quickly

82 messages · Page 1 of 1 (latest)

fathom spruce
#

I am using a machine that has an encrypted partition with LUKS on it. There are two partitions inside the encrypted logical partitions with Linux mint on it: a root partition of 185GB with 88 GB free and the home partition with 272 GB that is full. I am not able to open any programs asides from the system programs and I am not sure what is eating up my disk space. I have never encountered an error like this when I first installed mint. My suspicion is because of Python and docker because I tried installing them on the system and failed multiple times. What can I do to free up space without any loss of data or having to reinstall the entire operating system?

crisp fable
#

Maybe you have automated system snapshots with timeshift, and it automatically fills up the disk space.

fathom spruce
# crisp fable Maybe you have automated system snapshots with timeshift, and it automatically f...

My system snapshots are saved to the root partition. My home partition is the one affected. Upon looking into the file system structure I found that in this path: File system/home/.encryptfs/(username) I found this in the properties tab. I am not sure if this displays the size taken or the total size but my home folder according to the df -h command takes this much space out of all the disk (second IMG)

fathom spruce
# crisp fable Maybe you have automated system snapshots with timeshift, and it automatically f...

I have also gathered some info about the file system. Apparently, there are problems with the encrypted luks partition and docker desktop because when I have wiped the encrypted content that took the most disk space I ended up with 261 GB free out of 272. When I tried starting the docker engine again, on docker desktop I ended up with this amount of space free and a low disk space on root warning (4th image)

crisp fable
#

The encryption seems to be the problem.

fathom spruce
#

On my system there are 83.1 GB free out of 272

#

And this is taking the most disk size on the home partition

#

I am not sure if this is how Luks encryption should act normally or if I did something wrong when installing the os. I dual boot mint asides from windows and followed this tutorial in installing the encryption command by command

#

Ignore what I said about the 83 GB of free space, I think the error happened again and it took up all the space in the computer

limber vortex
#

boot into your linux, then do sudo apt clean && sudo apt autoclean && sudo apt autoremove

#

that will create some space. Secondly, launch "Disk Usage Analyzer" and see what exact folder is using up so much of the space.

#

and in that folder (in file manager) turn on details view, and see which file(s) are enormous

fathom spruce
fathom spruce
limber vortex
#

yes and use alt+prntscr to screenshot stuff when on linux, and logged into Discord. (use web browser if don't have discord app)

#

what you'll want to do is get info on that first thing in pic above which shows red, the first one under .Private . See what exact folder that is. taking up 281 GB

#

having 50 items

fathom spruce
limber vortex
#

install kfind

#

and bleachbit (system app, NOT flatpak)

fathom spruce
limber vortex
#

ok, open it

fathom spruce
#

I have removed the container too but when running docker my space got taken again

fathom spruce
limber vortex
#

in the "look in" field, put /home/$user

#

then in its options, find all files (*) of size: (at least) 1 GiB

limber vortex
#

no

#

in named, put * ; in look in: put /home/youraccountname

#

and in the properties tab,

#

put the size to search for, "at least" 1 GB

fathom spruce
#

This is what it found

limber vortex
#

maximize the window

#

it should show the size in the results columns

#

or move the bottom scrollbar

fathom spruce
limber vortex
#

pretty huge

#

that's just the deb package too. imagine once it installs and decompresses!

#

u searched by size as I said?

fathom spruce
limber vortex
#

you can also repeat search, and put search size "at least 400 MB"

#

you can also repeat search, but instead of size properties, do by 'modification or creation date' : last day, or last 3 days

#

and see what files got made in such timespan, and where they are found. that should give you hints on what is causing the issue

fathom spruce
#

In total the home folder is 10GB

#

Without the encryption

#

This is what I mean

limber vortex
#

do the thing i said about creation dates

#

asterisk (*) means all files

fathom spruce
#

I installed the os yesterday

limber vortex
#

well that's fucked

#

do this in terminal:

fathom spruce
#

I put the creation dates a few days ahead so that I am sure

limber vortex
#

lsblk -o NAME,TYPE,MODEL,LABEL,SIZE,FSSIZE,FSTYPE,FSUSED,MOUNTPOINT,OWNER

#

maximize window before hitting enter

fathom spruce
#

All in 1 go

limber vortex
#

yes all one line

#

and maximize first

#

then show it

fathom spruce
fathom spruce
limber vortex
#

look at the FSUSED column. I don't see any problem

#

mark that command down somewhere safe, and use it from time to time

#

you can also make an alias,, like lsblkk that equals the above exact command, so it's shorter to use

#

i mean you obviously must have installed a lot of stuff in just one day in order to have (84 + ~10GB) 94 GB already used up. A clean linux install only uses up about 10 GB.

fathom spruce
limber vortex
#

I dont need to see that. i see everything I need to know from lsblk -o

fathom spruce
#

OK, in that case I think it might be mainly from docker and Python. I don't think there is much more installed

#

Because when I start docker my disk space gets eaten up

limber vortex
#

then it's fucked

fathom spruce
#

What is fucked?

limber vortex
#

docker

fathom spruce
#

So docker is broken not Linux

limber vortex
#

seems like

limber vortex
fathom spruce