V
V
VladimirKrasnov2021-01-07 10:35:36
ubuntu
VladimirKrasnov, 2021-01-07 10:35:36

Why is running out of space on my Ubuntu virtual machine?

I use VmBox with Ubuntu 20 installed, I allocated 20GB for the whole thing. After the first login, I installed all the packages and tools with which I will work, installed the docker as well. As a result, there were about 7-8 GB of free space left.

For all the time of work, I did not download anything, but the place gradually disappeared, as a result, now only 48 MB are left. Did sudo apt-get clean, cleaned up about 600MB and they soon evaporated just as quickly.

I don’t quite understand Ubuntu, maybe the cache is heavy or something

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Karabanov, 2021-01-07
@VladimirKrasnov

Install ncdu sudo apt install ncdu

R
rPman, 2021-01-07
@rPman

Start by examining the space occupied by files, utilities darkness - console ncdu (look in the Ncurses Disk Usage package manager) for example, the graphical same baobab (disk usage analyzer) or QDirStat
If you have a lot of mounted partitions (for example, with cycles using bind or network) you can limit the analysis to one disk in the settings (ncdu -x / for example)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question