Opened 18 months ago

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

Download all attachments as: .zip

Change History (18)

comment:1 Changed 18 months ago by przemub

comment:2 Changed 18 months ago by korli

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

comment:3 Changed 18 months ago by waddlesplash

Cc: hyche added

A full syslog would be helpful.

Changed 18 months ago by przemub

Attachment: syslog added

comment:4 Changed 18 months ago by przemub

Has a Patch: set

Here.

Last edited 18 months ago by przemub (previous) (diff)

comment:5 Changed 18 months ago by hyche

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 18 months ago by hyche (previous) (diff)

Changed 18 months ago by przemub

Attachment: sdc1_super added

Changed 18 months ago by przemub

Attachment: sdb1_super added

comment:6 Changed 18 months ago by przemub

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 Changed 18 months ago by przemub

Has a Patch: unset

comment:8 in reply to:  6 Changed 17 months ago by hyche

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.

Changed 17 months ago by przemub

Attachment: sdb1_tree_t1 added

comment:9 Changed 17 months ago by przemub

Has a Patch: set

Changed 17 months ago by przemub

Attachment: sdb1_tree_t3 added

Changed 17 months ago by przemub

Attachment: sdc1_tree_t1 added

Changed 17 months ago by przemub

Attachment: sdc1_tree_t3 added

comment:10 Changed 17 months ago by przemub

Okay, I have added these.

comment:11 Changed 17 months ago by przemub

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