You are not logged in.
Pages: 1
Hello,
My computer recently stopped booting up. It stops and gives me the following error message and leaves me at a prompt.
Starting version 232
[ 5.467668] BTRFS critical (device sda3): corrupt leaf, slot offset bad: block=166520237560,root=1, slot=125
[ 5.469344] BTRFS critical (device sda3): corrupt leaf, slot offset bad: block=166520237560,root=1, slot=125
[ 5.556603] BTRFS: error (device sda3) in btrfs_replay_log:2470: error=-5 IO failure (Failed to recover log tree)
[ 5.550026] pending csums is 8192
[ 5.550456] BTRFS error (device sda3): cleaner transaction attach returned -30
[ 5.701321] BTRFS: open_ctree failed
mount: /dev/sda3: can’t read superblock
You are now being dropped into an emergency shell.
Sh: can’t access tty: job control turned off
[rootfs ]#I found some posts here in the Arch forums (here and here) about it and it seems like it is a BTRFS ctree failure. I'm not exactly sure how to correct this. The steps that are provided in the posts are probably aimed at someone with a higher Linux and Arch familiarity than I. I attempted to follow but they didn't work for me. The drive doesn't seem to mount anyway I try. I don't know if that's because I did the steps wrong or if they don't work for my situation.
Some additional information is that it is 1 hard drive not multiple drives. This occurred on December 13. I update almost daily so it
might have been an update from December 12.
I appreciate any help provided. Thank-you for reading.
Offline
try sudo btrfs-show-super /dev/<name> from shell
see how many devices it says (sounds like you mave multiple partitions in the pool)
Offline
Thank you for the reply!
Where you put <name> I put in my drive (sda) right? I did this at the emergency prompt that the computer boots up to and it gives an error about sudo not being found. So I booted up a alive Ubuntu cd and typed that in the terminal. I received
superblock: bytenr=65536, device=/dev/sda
ERROR: bad magic on superblock on /dev/sda at 65536But your are correct I do have multiple partitions on my hard drive. I also have a Windows 10 partition and Windows recovery partition. I have not booted into Windows in months.
Offline
you need to specify the main btrfs partition, not just the device e.g. on my system 'sudo btrfs-show-super /dev/sda6'
Offline
Thanks.
num_devices is 1.
Offline
i have no idea - but try poking around, there are various recovery tools. the mount recovery given near the end here https://visibilityspots.org/btrfs-mount-issue.html looks promising (and might at least let you recover your data). you could also run fsck without changes etc.
Google shows a lot of these errors for arch (esp multi device systems) but comparatively few for opensuse (where btrfs is the default = lots of users).
Offline
I appreciate your help. That link looks promising. At this point I'd just be happy to grab the files that hadn't been backed up yet. I don't mind having to reinstall arch (maybe not with btrfs this time). Always good to practice ![]()
Offline
Pages: 1