Score:0

Hidden disk usage

ua flag

I have a problem with hidden disk usage on my Ubuntu 22.04. As you can see, the ncdu utility only finds ~30GB on the system:

enter image description here

Whereas Ubuntu's System Monitor finds that 88 GB are being used:

enter image description here

What's going on here?

Output of df -h:

enter image description here

uz flag
Jos
I also wonder where this "Apparent size: 128 Tb" comes from.
PonJar avatar
in flag
The red ! at the start of many of the entries means there is an error while reading the directory. I guess that might be an ownership issue so try it with sudo. Did you use the -x option? That stops the scan crossing filesystem boundaries. Without the -x I too get the crazy high 128TB. With the -x option I get a realistic number. So try `sudo ncdu -x /`
waltinator avatar
it flag
Files can be invisible (but using disk space) for several reasons. Programs can create temporary files, `open`, `unlink`, and use them very privately, with guaranteed deletion no matter how the program `exit`s. Files can get really big, if some budding sysadmin deleting a log file that some process has open (and is about to write block N+1) without notice. You can investigate open files with `sudo lsof`, followed by lots of options. Read `man lsof sudo`.
Hannu avatar
ca flag
https://askubuntu.com/questions/5980/how-do-i-free-up-disk-space
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.