You are not logged in.

#1 2016-07-11 09:40:32

xT1ger
Member
Registered: 2015-04-04
Posts: 2

Btrfs filesystem unmountable

Hi,
today after waking my PC up fom suspend it was totally frozen up, so I reset the machine. Now I get the message "error on < uuid-of-caching-device>: corrupted btree at bucket 4067, block 389, 514 keys, disabling caching and iam thrown into emergency mode.
I can force bcache to start but it won't mount. The cache state of my backing device is shown as "inconsistent" even after flushing the cache to the backing device.

I reformatted and reattached the caching device

“btrfs device scan” won't recognize it either. -> it does now

If i try to mount the filesystem i get an error (see mount -a).

Trying to run fsck on it first spits out a lot of errors like this "btrfs parent transid verify failed" and then causes fsck to segfault.

This partition holds my /home and i just recently deleted my backups(stupid, i know) as my sister needed the drive.

How can i get this back to work?

mount -a : http://pastebin.com/W8tLqFXx
lsblk -f    :  http://pastebin.com/rMpSwUsG
journalctl  -xb: http://pastebin.com/EkChqe0n
bcache-super-show_backing: http://pastebin.com/B6V9nDeQ
bcache-super-show_cache: http://pastebin.com/XhjWYk3R

Edits: Title changed

Last edited by xT1ger (2016-07-11 11:35:18)

Offline

#2 2017-12-18 10:12:56

piotroxp
Member
Registered: 2008-08-04
Posts: 66

Re: Btrfs filesystem unmountable

I actually have the very same issue today, on my Laptop with a samsung 960 240 G drive. BTRFS holds my /home and is unmountable.
The exact error is "parent transid verify failed" and shows the difference in blocks.

Partition is unmountable. Was working a-ok until it shutoff itself during sleeping due to the lack of no power connected.

Anyone in the community experienced this?

A set of errors I run into while running btrfsck --repair on the partition, namely:
- Ignoring Transid failure,
- Errors in allocation tree or chunk allocation
- bad blocks
- leaf parent key incorrect
- a list of errors wrt to the transid failure

It seems that after losing power in sleep, the partition is fucked.

Thats a huge, huge huge issue. Can this be repeated?

Last edited by piotroxp (2017-12-18 10:16:10)


I invented EM Field Patterns and fixed Feynmann's Diagrams so they are physical.

Offline

#3 2017-12-21 11:59:56

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,783
Website

Re: Btrfs filesystem unmountable


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB