Conversation

great start, btrfs is in read only mode, because no space left (no metadata space left). do i really have to reinstall?

1
0
1

@vbabka any rescue operation is blocked by the kernel remounting the fs as readonly because no space. so there is no way to recover from such a state?

1
0
1

@wagi @vbabka

I assume you already tried rebalacing?

It has been something like 10 years since I had such a problem. Back then a rebalance was able to fix such problems. Not sure if they require a r/w mount though.

1
0
1

@wagi @vbabka why? the author says it has no bugs and will not eat your data…

2
0
1

@kernellogger @vbabka I think I triggered this by booting into a snapshot and forgot to do 'snapper rollback, reboot'. This caused the metaspace to fillup. Anyway, all attempts to free same space fail, because 'free extents' will allocate new space. Unless there is an option to disable this. Also no chance to change the snappshot or release one

3
0
1

@ptesarik @vbabka Is he able to write bug free C code? I heard this is now a thing

0
0
1

@kernellogger @vbabka first step before reinstalling everthing full backup.

maybe I could fix the FS offdisk... e.g. copy the fs to a external space, free space, copy it back...

0
0
1

@kernellogger @vbabka yes, that's a funny guide. All btrfs rescue operation assume it's possible to mount the filesystem in read-write mode. Even adding additional space needs read-write fs. I wish there would be a userland tool which could do fs ops... maybe a hackweek project :)

1
0
1

@wagi @vbabka

🥴

Then good luck dealing with the situation!

1
0
1

@ptesarik @wagi @vbabka Yes, it will eat someone else's data. Now, imagine someone else is running bcachefs…

1
0
1

@kernellogger @vbabka Thanks, I'll recover eventually. This is just a learning experience.

I wont work anything today, that's for sure. the full disk backup takes 1h and then I can start with some destructive operations

1
0
1

@wagi @oleksandr @vbabka borg? ah, yes, all software written in the same language is bug-free…

1
0
1

@ptesarik @oleksandr @vbabka I am using https://www.borgbackup.org/ for a while. It's rsync on steroids and with a helper like borgmatic really really good to use. systemd timer triggers the backup. Take a snapshot and move it to the remote machine. Obviously encrypted.

1
0
1

@wagi @kernellogger @vbabka > This is just a learning experience

maybe you should have learnt that computers suck already sir

1
0
1

@wagi @kernellogger @vbabka i see.

*sigh*

is computer engineering basically onlyfans for those of us who don't look too good?

1
0
3

@ljs @kernellogger @lkundrak @vbabka obviously it exists: LonelyFans is a unique social platform tailored for individuals who embrace solitude and prefer their own company. It's a tongue-in-cheek, ...

1
0
2

@wagi @oleksandr @vbabka Yes, it actually looks good. Thank you for mentioning it.
And if that wasn't clear, I was merely teasing you, because you mentioned “bug-free C code” elsewhere in this thread.

1
0
1

@wagi @oleksandr @vbabka OK, but that one was “error free coding”. IIUC code is error-free when the compiler does not report any errors.

1
0
0

@ptesarik @oleksandr @vbabka this is how I work. if it compiles I ship it!

2
1
1

@wagi @ptesarik @oleksandr @vbabka "runtime error? you mean customer error?"

1
0
1

@lkundrak @ptesarik @oleksandr @vbabka

A scandinavian study showed that it's always a layer 8 problem.

0
0
1

@wagi @kernellogger @vbabka sometimes it helps to user btrfs device add <usb stick > to give it some more spare space. Than it can be remounted rw, del some data and delete/remove the USB Stick from btrfs again

1
0
1

@manut @kernellogger @vbabka if there is no space left in the metadata zone this operation doesn't work. it's really sad, that if you hit the full metaspace situation the only way forward is to mkfs the partition. at least I didn't lose any data.

1
0
1

@wagi @kernellogger @vbabka damn! But thanks for explaining. I think I should add some monitoring for this on my machines that are heavily creating snapshots!

0
0
1