I started a torrent download to an lvm storage. The file was bigger then the free space on the storage, so I deleted it through the transmission interface, then I emptied the "Trash". Now this is the output for df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vgubuntu-root 198G 187G 219M 100% /
As you can see, there should be roughly 10G of free space (size 198G, used 187G) but only 219M show up for available storage. I guess there was some corruption when I deleted the torrent before download.
The torrent size was 30G.
Somewhere I found that I should check open files. I guess restart should solve the issue if this is the problem, but I still checked out the stuff I found on the internet.
- Biggest file in the output of
lsof +L1
pulseaudi 1613 adam 6u REG 0,1 67108864 0 2050 /memfd:pulseaudio (deleted)
I guess pulseaudio shouldn't be involved in this issue, and even if it is, if the size is given in bytes, this can't be the case.
sudo du -sh /*
This will take sometime but will give you a list of the top level directories in root and the disk space that they consume. It won't be fast if you have a number of other partitions mounted, and it will trawl the full directory tree. I am hoping that this will show where the disk space is being consumed.
If you see one that looks way to high, say its /home. then do
sudo du -sh /home/*
And keep drilling down.
– Adrian Challinor May 27 '22 at 10:48