Opened 7 years ago

Last modified 3 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:
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 7 years ago.
sdc1_super (3.0 KB ) - added by przemub 7 years ago.
sdb1_super (3.2 KB ) - added by przemub 7 years ago.
sdb1_tree_t1 (577.8 KB ) - added by przemub 7 years ago.
sdb1_tree_t3 (247.3 KB ) - added by przemub 7 years ago.
sdc1_tree_t1 (15.6 KB ) - added by przemub 7 years ago.
sdc1_tree_t3 (6.4 KB ) - added by przemub 7 years ago.

Download all attachments as: .zip

Change History (19)

comment:2 by korli, 7 years ago

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

comment:3 by waddlesplash, 7 years ago

Cc: hyche added

A full syslog would be helpful.

by przemub, 7 years ago

Attachment: syslog added

comment:4 by przemub, 7 years ago

patch: 01
Version 0, edited 7 years ago by przemub (next)

comment:5 by hyche, 7 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 7 years ago by hyche (previous) (diff)

by przemub, 7 years ago

Attachment: sdc1_super added

by przemub, 7 years ago

Attachment: sdb1_super added

comment:6 by przemub, 7 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, 7 years ago

patch: 10

in reply to:  6 comment:8 by hyche, 7 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, 7 years ago

Attachment: sdb1_tree_t1 added

comment:9 by przemub, 7 years ago

patch: 01

by przemub, 7 years ago

Attachment: sdb1_tree_t3 added

by przemub, 7 years ago

Attachment: sdc1_tree_t1 added

by przemub, 7 years ago

Attachment: sdc1_tree_t3 added

comment:10 by przemub, 7 years ago

Okay, I have added these.

comment:11 by przemub, 7 years ago

patch: 10

comment:12 by kallisti5, 3 years ago

mounting works now for me. Could you try again with a recent version?

Note: See TracTickets for help on using tickets.