Questions tagged [disk-usage]
Disk space usage: how much space do my files take?
1,116 questions
5
votes
2
answers
120
views
How to show directory sizes in tree format with correct values and depth control
I can't solve what I want using the tree, du, or df commands.
I'm using:
du version 9.6
tree version 2.2.1
What I want:
For the current directory, list all directories recursively to a depth of 3, ...
-1
votes
1
answer
97
views
Root filesystem is completely full [closed]
everyone.
I have a completely filled root filesystem, but I can't figure out what it is.
sudo df -h /
/dev/nvme0n1p2 49G 49G 0 100% /
sudo du -h --max-depth=1 --exclude="media" --...
0
votes
1
answer
22
views
Kodi on Ubuntu Studio filled disk, somewhere?
Apologies in advance if there is an existing answer I should consult...
Fired up Kodi for the first time on my Ubuntu Studio 24.04 box. It has a 1 TB hard drive, of which almost half is consumed by ...
1
vote
1
answer
55
views
MySQL general_log.CSV is 47GB in Production – How to Free Space?
I’m managing a production MySQL server running on a VM, and I just discovered that the general_log.CSV file in /var/lib/mysql/mysql/ has grown to 47GB, consuming almost 70% of the disk space.
Here’s ...
2
votes
1
answer
262
views
How can I install TeXLive bbm.sty without the full 3 GB install?
I have a fairly large (~ 1 GB) texlive install on Ubuntu 24 LTS:
$ apt list --installed | grep texlive
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
texlive-base/...
-1
votes
1
answer
51
views
how to find files that bloats a specific partition? [duplicate]
My title may not be the best so I will try to explain it.
I am using an old computer (more than 10y) with a ubuntu style distro. It has a lot of independent partitions.
I recently had an alert telling ...
1
vote
0
answers
63
views
No space left on device but only 50% space and 1% inodes used
This is on a Iomega IX200 NAS which had been expanded to 4TB disks from the original 2TB.
It all looks good.
But when I try to save data to a new file I get the "No space left on device error&...
1
vote
2
answers
84
views
My disk is 244.5GB of 258GB full and I don't know what is taking up all the space
I recently resolved a login loop on my Linux Mint machine caused by my drive being full. I have successfully cleaned out 31.2GB of data by running standard cleaning commands and by removing all my ...
1
vote
0
answers
41
views
Interruptible disk usage tallies for users?
I want to obtain, for every one of my system's users (or at least, every one with a home directory under /home), the amount of disk space their files use. I have root access, but - there are many ...
0
votes
2
answers
91
views
Adding up sizes of directories using bash is inconsistent
First, I got the total size of folder /my-downloads:
$ du -sh /my-downloads
304G /my-downloads
As you can see, it's 304G.
Then, I wanted to find out the total size of all immediate directories ...
0
votes
0
answers
20
views
`du` reports wildly different sizes for the same folder depending on arguments [duplicate]
While working on a Seafile server migration, I noticed my rsync of the data took quite a bit longer than I calculated it should. I ended up noticing that some of the directories were already bigger on ...
-1
votes
1
answer
57
views
df and du reports vastly different results [duplicate]
I understand that this question has been asked before. But I couldn't find a very satisfactory answer, so asking again here, sorry.
So my root filesystem is ext3, df shows there is only 3.7G left. but ...
1
vote
0
answers
371
views
What's filling /dev/mapper/ubuntu--vg-ubuntu--lv if mounted on /, but total size shows only part of the used space?
I have an issue with a virtual machine running Nextcloud. The version is Ubuntu 22.04 LTS.
The system continuously indicates that the logical volume /dev/mapper/ubuntu--vg-ubuntu--lv is full (used 100%...
0
votes
1
answer
41
views
NFS free space indication missing on Linux Mint 22 Cinnamon
I am running Linux Mint 22 Cinnamon with my DS923+ NAS mounted after login by clicking on it, full details here, only slightly changed since then, but the options and mount process are still the same ...
0
votes
0
answers
34
views
Report IEC Prefixed Sizes from Commands Like ls
In a GNOME terminal with a bash shell, is there a convenient way to have commands like ls and du output human readable sizes using IEC prefixes. Looking at the man page for ls, it looks like they are ...