You are not logged in.

#1 2018-01-03 15:53:15

aksdb
Member
Registered: 2007-10-07
Posts: 38

[SOLVED] btrfs no space left on device

I got a little problem with btrfs.
Suddenly a lot of operations end with "no space left on device". Now you will probably think: "rtfm and google you fool" ... which I did. Both. None of the symptoms I found quite match what I experience, nor did the typical solutions work.

So, is the metadata full? Doesn't seem so:

# btrfs fi df /
Data, single: total=170.00GiB, used=147.39GiB
System, single: total=32.00MiB, used=48.00KiB
Metadata, single: total=3.00GiB, used=1.79GiB
GlobalReserve, single: total=274.52MiB, used=0.00B

Even with the generous buffer btrfs reserves there should be enough space left for quite a few files.

Did I rebalance? Yes, a full rebalance:

btrfs balance start /

Did I reboot (afterwards)? Yes.

Remount with clear_cache? Yes.

I'm out of ideas. What is going on here? Any ideas how I get my system back to be usable?

Thanks!

Last edited by aksdb (2018-01-03 16:14:03)

Offline

#2 2018-01-03 16:06:00

seth
Member
Registered: 2012-09-03
Posts: 50,957

Re: [SOLVED] btrfs no space left on device

What is "a lot of operations" and are your sure "no space left on device" relates to the inspected device?

df -h
df -hi

Offline

#3 2018-01-03 16:13:38

aksdb
Member
Registered: 2007-10-07
Posts: 38

Re: [SOLVED] btrfs no space left on device

Dammit you are right. I was too focused on the root partition.
As it seems a rogue background process constantly filled up my /tmp partition. Therefore bash autocompletion, code compilation, etc. all failed. But not because they could not write to the system partition, but because they could not write to the /tmp partition *facepalm*.

Thanks for pulling me out of tunnel vision and pointing me in the right direction :-)

Offline

Board footer

Powered by FluxBB