I'm trying to figure out what's consuming so much space on my laptop, which has a 512 GB drive and is currently showing only 48 GB free, meaning it's about 90.7% full. I'm using Fedora Linux 43 with a Btrfs filesystem mounted at the root. I initially used Filelight to check the disk usage, but it went over 1 TB when counting files, which is confusing since I only have 510 GB allocated. I also tried a command to find the largest folders, which only added up to 78 GB. What could be causing this discrepancy, and how can I resolve it?
3 Answers
It might be a good idea to check the paths of your largest directories. Sharing that info could help pinpoint the culprits for the disk space usage. Right now, we don't have enough details to form a solid recommendation!
You might have excluded the /home directory in your search, which could lead to a lower total. Instead, try the command `sudo btrfs filesystem usage /` to see more detailed info. Pay attention to the "Device unallocated" line; it indicates space that's free but hasn't been accounted for by Btrfs yet. The "Free" line is your estimated free space, and that might give you a clearer picture of what's going on.
Have you considered that Btrfs snapshots might be the issue? Sometimes they can cause atypical disk usage patterns due to how they retain previous states of your data.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures