Unmountable partition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello btrfs folks,

I have a partition I am attempting to recover.  This was previously the root partition of a Linux system which was originally OpenSuse Leap 42.1 upgraded to Leap 15.0 about a month ago.  About a week ago I woke up and the system had crashed and put itself into emergency mode upon reboot.

I've since built a Leap 15.3 system on a new SSD and am hoping to get what I can from the old partition.

Mounting -o usebackuproot puts this in /var/log/messages:

2020-03-21T17:05:10.662250-04:00 localhost kernel: [75806.017018] BTRFS info (device sdb1): trying to use backup root at mount time
2020-03-21T17:05:10.662271-04:00 localhost kernel: [75806.017022] BTRFS info (device sdb1): disk space caching is enabled
2020-03-21T17:05:10.662273-04:00 localhost kernel: [75806.017023] BTRFS info (device sdb1): has skinny extents
2020-03-21T17:05:10.665893-04:00 localhost kernel: [75806.020781] BTRFS critical (device sdb1): corrupt leaf: root=1 block=2642034688 slot=29, unexpected item end, have 1866556696 expect 12824
2020-03-21T17:05:10.665905-04:00 localhost kernel: [75806.021272] BTRFS critical (device sdb1): corrupt leaf: root=1 block=2642034688 slot=29, unexpected item end, have 1866556696 expect 12824
2020-03-21T17:05:10.669816-04:00 localhost kernel: [75806.022346] BTRFS critical (device sdb1): corrupt leaf: root=1 block=2637185024 slot=29, unexpected item end, have 1866556696 expect 12824
2020-03-21T17:05:10.669826-04:00 localhost kernel: [75806.022987] BTRFS error (device sdb1): parent transid verify failed on 2643361792 wanted 24068411 found 24068413
2020-03-21T17:05:10.669828-04:00 localhost kernel: [75806.022990] BTRFS warning (device sdb1): failed to read tree root
2020-03-21T17:05:10.669829-04:00 localhost kernel: [75806.023498] BTRFS error (device sdb1): parent transid verify failed on 2638479360 wanted 24068410 found 24068412
2020-03-21T17:05:10.669830-04:00 localhost kernel: [75806.023500] BTRFS warning (device sdb1): failed to read tree root
2020-03-21T17:05:10.714520-04:00 localhost kernel: [75806.070005] BTRFS error (device sdb1): open_ctree failed

Here's output from btrfs restore:

lisa:/ # btrfs restore /dev/sdb1 /mnt
incorrect offsets 12824 1866556696
Couldn't setup extent tree
incorrect offsets 12824 1866556696
Couldn't setup device tree
Could not open root, trying backup super
incorrect offsets 12824 1866556696
Couldn't setup extent tree
incorrect offsets 12824 1866556696
Couldn't setup device tree
Could not open root, trying backup super
ERROR: superblock bytenr 274877906944 is larger than device size 42951770112
Could not open root, trying backup super

My system does not appear to have brtfs-find-root.

uname -a:
Linux lisa 4.12.14-lp151.28.40-default #1 SMP Fri Mar 6 13:48:15 UTC 2020 (f0f1262) x86_64 x86_64 x86_64 GNU/Linux

btrfs --version
btrfs-progs v4.19.1

btrfs fi show
Label: none  uuid: 11e7b516-5486-4637-bf67-7bd72abc314e 
        Total devices 1 FS bytes used 30.29GiB
        devid    1 size 40.00GiB used 40.00GiB path /dev/sdb1

btrfs fi df /home # Replace /home with the mount point of your btrfs-filesystem
Not available as drive is not mountable

dmesg > dmesg.log
attached

What should I try next?

Thanks,
Matthew



Attachment: dmesg.log
Description: Binary data


[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux