Linux Btrfs filesystem development
 help / color / mirror / Atom feed
From: marble <marble@hamburg.ccc.de>
To: Chris Murphy <lists@colorremedies.com>
Cc: Qu Wenruo <quwenruo.btrfs@gmx.com>,
	Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: btrfs suddenly think's it's raid6
Date: Sat, 30 Jun 2018 06:02:40 +0200	[thread overview]
Message-ID: <28fd355a-6368-b23d-fb77-67b684c5c06d@hamburg.ccc.de> (raw)
In-Reply-To: <CAJCQCtTV8UFdQUA8xKRzfQmKABsNCYFwR9XdvbD3br_cJ-Dp2w@mail.gmail.com>

> No log_root* in the super. So no fsyncing at the time? What was
> happening at the time of the power loss?
That I don't know.

> Pretty weird, all three supers are OK and yet two copies of the fs
> tree are corrupt. Why doesn't it fall back automatically to one of the
> other roots?
> 
> You could try 'mount -o usebackuproot,ro' and see if that's permissive
> enough to succeed.
That yields the same result
```
marble@archlinux ~ % sudo mount -o usebackuproot,ro /dev/mapper/black
/tmp/black
mount: /tmp/black: can't read superblock on /dev/mapper/black.
```
> I wonder if the drive firmware reordered things contrary to Btrfs
> expectation right at the powerfail - or even if the powerfail caused
> the drive firmware to do the writes in the wrong order?
> 
> 

  reply	other threads:[~2018-06-30  4:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-29 11:04 btrfs suddenly think's it's raid6 marble
2018-06-29 11:33 ` Austin S. Hemmelgarn
2018-06-29 12:41 ` Qu Wenruo
2018-06-29 22:09   ` marble
2018-06-30  0:01     ` Chris Murphy
2018-06-30  4:02       ` marble [this message]
2018-06-29 22:11   ` marble
2018-06-30 14:44     ` Qu Wenruo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=28fd355a-6368-b23d-fb77-67b684c5c06d@hamburg.ccc.de \
    --to=marble@hamburg.ccc.de \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=lists@colorremedies.com \
    --cc=quwenruo.btrfs@gmx.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox