#[SOLVED] BTRFS 100% full but files take only 75%

30 messages · Page 1 of 1 (latest)

clear comet
#

I have a btrfs volume that is 460 GB big. 331 GB of that are used, as evidenced by NCDU and DU.
However, I can't create any files anymore and both df and btrfs subvolume df / display 100% usage wiht only 64 KB free.
How do I fix this?

FIXED: I deleted a log file that actually took up that space, but it ended up not changing the actual usage, but it did hide from du and ncdu. I then killed the creator of the log file (eww) which apparently turned into a zombie in the mean time. That instantly freed up the space the log file used to take.

unborn fiber
clear comet
#

that should be only the btrfs partition... also, df only scans the parittion anyway, so if du happened to scan other things that would be bigger no?

#

also i'm certain that it's actually full because I can't create files anymore and other things broke as well

unborn fiber
#

du would scan other things

#

bu oh yeah, it's smaller

clear comet
#

yes but df can't
and du clearly shows 331 GB, even if it scanned other things, thats still significantly less

unborn fiber
#

oh yeah, do you have snapshots?

clear comet
#

nope

unborn fiber
#

try seeing size with sudo btrfs df /

clear comet
#

i also dont really have a lot of subvolumes

unborn fiber
#

or sudo btrfs filesystem usage /

clear comet
#

oh i should add that i had a 130 GB logfile before, i then deleted that using ncdu, and confirmed its gone with du, so maybe that is somewhat related?

unborn fiber
#

what is ncdu?

clear comet
#

not curses disk usage

#

pretty much a DU TUI

clear comet
#

ok nvm its gone now?

#

OH PKILLING IT A FEW TIMES GAVE ME 125 GB OF SPACE

unborn fiber
#

try to see what

sudo du -shx $(findmnt /dev/nvme0n1p5 -o TARGET | sed '1d')

outputs

#

of course adjust /dev to your appropriate block device

rough pendant
clear comet
#

oh oops

#

[SOLVED] BTRFS 100% full but files take only 75%

unborn fiber
#

what is solved??

clear comet
#

the original problem

unborn fiber
#

it maches now?

clear comet
clear comet