Opened 2 years ago

Last modified 2 years ago

#13865 assigned bug

Can't mount any BTRFS filesystem

Reported by: przemub Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: File Systems/Btrfs Version: R1/Development
Keywords: btrfs Cc: waddlesplash, hyche
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Hi,

I'm unable to mount any BTRFS filesystem. I get "General system error" when trying to mount them via Tracker and "mount: No such file or directory" when trying via the command line. I get the following error in the syslog:

KERN: ahci: sg_memcpy phyAddr 0x9f35680, size 8
KERN: btrfs: Find() unmapped block 0
Last message repeated 1 time
KERN: btrfs: Volume::Mount(): Couldn't find extent root
KERN: btrfs: Failed mounting the volume. Error: No such file or directory

Attachments (7)

syslog (432.2 KB ) - added by przemub 2 years ago.
sdc1_super (3.0 KB ) - added by przemub 2 years ago.
sdb1_super (3.2 KB ) - added by przemub 2 years ago.
sdb1_tree_t1 (577.8 KB ) - added by przemub 2 years ago.
sdb1_tree_t3 (247.3 KB ) - added by przemub 2 years ago.
sdc1_tree_t1 (15.6 KB ) - added by przemub 2 years ago.
sdc1_tree_t3 (6.4 KB ) - added by przemub 2 years ago.

Download all attachments as: .zip

Change History (18)

comment:2 by korli, 2 years ago

Cc: waddlesplash added
Owner: changed from korli to nobody
Status: newassigned

comment:3 by waddlesplash, 2 years ago

Cc: hyche added

A full syslog would be helpful.

by przemub, 2 years ago

Attachment: syslog added

comment:4 by przemub, 2 years ago

Has a Patch: set

Here.

Last edited 2 years ago by przemub (previous) (diff)

comment:5 by hyche, 2 years ago

Can you provide the outputs of the two following commands with argument is your device ? (run as root if neccessary)

btrfs-show-super -f your_device
btrfs-debug-tree your_device

if your linux system doesn't provide it by default, you can download it or compile it from here

The new version of btrfs tools just change the command lines, so you can try it with these

btrfs inspect-internal dump-super -f your_device
btrfs inspect-internal dump-tree your_device
Last edited 2 years ago by hyche (previous) (diff)

by przemub, 2 years ago

Attachment: sdc1_super added

by przemub, 2 years ago

Attachment: sdb1_super added

comment:6 by przemub, 2 years ago

I'll upload tree dumps to another server and link them later, because they take a lot of disk space. I have one more partition (sda3) - trying to mount it crashes the system - https://i.imgur.com/rON897U.jpg Should I report it as a separate issue or provide outputs for this partition too?

comment:7 by przemub, 2 years ago

Has a Patch: unset

in reply to:  6 comment:8 by hyche, 2 years ago

Replying to Przemysław Buczkowski:

I'll upload tree dumps to another server and link them later, because they take a lot of disk space.

If it takes too large, you can truncate part of it or only print the info of root tree and chunk tree (btrfs-debug-tree -t1 your_device, and -t3)

I have one more partition (sda3) - trying to mount it crashes the system - https://i.imgur.com/rON897U.jpg Should I report it as a separate issue or provide outputs for this partition too?

I think make it as a separate issue is better because this is different cause.

by przemub, 2 years ago

Attachment: sdb1_tree_t1 added

comment:9 by przemub, 2 years ago

Has a Patch: set

by przemub, 2 years ago

Attachment: sdb1_tree_t3 added

by przemub, 2 years ago

Attachment: sdc1_tree_t1 added

by przemub, 2 years ago

Attachment: sdc1_tree_t3 added

comment:10 by przemub, 2 years ago

Okay, I have added these.

comment:11 by przemub, 2 years ago

Has a Patch: unset
Note: See TracTickets for help on using tickets.