linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BTRFS - Error After Power Outage
@ 2021-08-25 21:50 Evan Zimmerman
  2021-08-25 21:53 ` Roman Mamedov
  0 siblings, 1 reply; 3+ messages in thread
From: Evan Zimmerman @ 2021-08-25 21:50 UTC (permalink / raw)
  To: linux-btrfs

Hello!

I have a multi device btrfs array of 6 devices that is timing out or
otherwise failing to mount on boot causing me to enter recovery mode,
though I can manually mount the drives in recovery mode and can still
see my data.

I was working in my house the other day, when our power had gone out.
I turned my Debian server back on and it started up in emergency mode
saying BTRFS error: open_ctree failed. I also got a "failed to mount
/mnt/data", which is where I have my data.

Now, I've had a similar problem before where I believe one of my
EasyStore drives was taking too long to be read from and causing
Debian to boot into emergency mode, but after restarting it a few
times, it would manage to finally boot up. This "fix" is not working
this time around and I fear something corrupted during that power
outage.

I'm hoping to get some advice on this to see what I can do to get
things up and running again. Now, trying to mount manually actually
worked in emergency mode. Thank you in advance for any help you all
can provide!

# uname -a
Linux [server_name] 5.9.0-5-amd64 #1 SMP Debian 5.9.15-1 (2020-12-17)
x86_64 GNU/Linux

# btrfs --version
btrfs-progs v5.9

# btrfs fi show
Label: 'Media'  uuid: c29b9859-ae32-4be2-ad28-9193c9ebcc87
Total devices 6 FS bytes used 28.24TiB
devid    1 size 10.91TiB used 9.80TiB path /dev/sdd
devid    2 size 2.73TiB used 2.68TiB path /dev/sdc
devid    3 size 3.64TiB used 3.58TiB path /dev/sdb
devid    4 size 2.73TiB used 2.67TiB path /dev/sde
devid    5 size 2.73TiB used 1.61TiB path /dev/sdf
devid    6 size 9.10TiB used 7.98TiB path /dev/sdg

# dmesg | grep btrfs
[   16.106923] BTRFS: device label Media devid 6 transid 3072649
/dev/sdg scanned by systemd-udevd (301)
[   16.492767] BTRFS info (device sdd): setting incompat feature flag
for COMPRESS_ZSTD (0x10)
[   16.492768] BTRFS info (device sdd): force zstd compression, level 2
[   16.492768] BTRFS info (device sdd): using free space tree
[   16.492769] BTRFS info (device sdd): has skinny extents
[  114.864229] BTRFS error (device sdd): open_ctree failed

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-25 22:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-25 21:50 BTRFS - Error After Power Outage Evan Zimmerman
2021-08-25 21:53 ` Roman Mamedov
     [not found]   ` <CA+9Jo8uye5N-cj+70mVx_6AfgWHwWqYJjrzCU9jkbATK+_U0QA@mail.gmail.com>
2021-08-25 22:03     ` Roman Mamedov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).