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?
#My system is running out of disk space very quickly
82 messages · Page 1 of 1 (latest)
Maybe you have automated system snapshots with timeshift, and it automatically fills up the disk space.
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)
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)
The encryption seems to be the problem.
Further proof, this is the aftermath of trying to start another docker container
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
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
these are my findings on the disk usage analyzer, this is part of the encryption on the home logical partition
i will run that command when i boot into linux and ping you again
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
Ran the command but it didnt do much im afraid. This is what I found that is the issue. A folder with an encrypted file of 281 GB
that's just an encrypted container showing your drive as one file
install kfind
and bleachbit (system app, NOT flatpak)
Installed kfind
ok, open it
I have removed the container too but when running docker my space got taken again
I have opened the app
in the "look in" field, put /home/$user
then in its options, find all files (*) of size: (at least) 1 GiB
Like this?
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
maximize the window
it should show the size in the results columns
or move the bottom scrollbar
The size of that item is 3.9 Gib
pretty huge
that's just the deb package too. imagine once it installs and decompresses!
u searched by size as I said?
Yes I did
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
Done that too now, just that 1 item showed up
In total the home folder is 10GB
Without the encryption
This is what I mean
I installed the os yesterday
I put the creation dates a few days ahead so that I am sure
lsblk -o NAME,TYPE,MODEL,LABEL,SIZE,FSSIZE,FSTYPE,FSUSED,MOUNTPOINT,OWNER
maximize window before hitting enter
All in 1 go
My terminal
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.
My home folder without the encrypted garbage has 10GB taken
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
then it's fucked
What is fucked?
docker
So docker is broken not Linux
seems like
alias this command, and you will always have it handy
Might want to go on docker support or reinstall docker in that case