Skip to contentSkip to conversation

Requesting guidance on no space left issue

DISCUSSION Jeff Gustafson 2 participants 2 messages Nov 26, 2025 – Dec 7, 2025 Btrfs file system

lore
Share & tools
lore
#0 lore raw

Hello,
I've been on the btrfs IRC channel seeking advice for my issues getting the volume mounted again.

I haven't had issues with my btrfs volume until now. It has been growing for years, until a couple of weeks ago. I didn't get ahead of the growth and the volume went into read only.

Initially I tried to re-balance. I should have specified data only, but I let to auto and it tried both metadata and data. I tried to cancel the re-balance, but I couldn't stop it. As soon as I tried to mount rw, it would start again. I tried various mount options and at some point it just stopped mounting. I think my mistake was trying to mount with the clear cache option. I let it run for 7 days without it mounting. I just kept mount at 100% on 'top'.

I've been reluctant to run any rescue yet until I get some guidance.

I now have a drive I can add to the volume, but I can't add it until the volume mounts.

Here are some links to the output I was getting from btrfs check commands:

http://cwillu.com:8080/47.180.143.227

Should I run btrfs check or rescue commands? If so, where should I start?

...Jeff

#1 lore raw
Quoted 7 lines · Jeff Gustafson

Hello,
I've been on the btrfs IRC channel seeking advice for my issues getting the volume mounted again.

I haven't had issues with my btrfs volume until now. It has been growing for years, until a couple of weeks ago. I didn't get ahead of the growth and the volume went into read only.

Looks like maybe more than one problem is going on, multiple devices with corrupt metadata, and at least one transid mistmatch. Both kernel and btrfs check have complaints.

I think you should mount -o ro,rescue=all, and extract any important data before you do anything else.

Note that you should embargo these files somehow because rescue=all includes ignoredatacsums therefore corrupt files are handed over to user space. Normal operation, corrupt data blocks result in EIO and the corrupt data never makes it to user space.

It's optional to do a read-only scrub while mounted read-only using 'btrfs scrub start -Bdr` (I use tmux or screen when using -B since the command doesn't return until after the scrub completes). And then any corrupt data blocks will result in a path to file message in dmesg - at least this way you will have a pretty strong assurance whether any data you copy out while using rescue=all mount option needs to be treated with suspicion.

Quoted 1 line

I've been reluctant to run any rescue yet until I get some guidance.

It's safe to use the rescue mount options since the fs is read only. And also btrfs restore is also read only but not nearly as straight forward as rescue mount option.

But it's best to not change anything with the file system (no writes) until there's advise from a developer or someone who knows more about what these messages mean.

Signature · 1 line
Chris Murphy