All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Tippmann <martin.tippmann@gmail.com>
To: Hugo Mills <hugo@carfax.org.uk>, linux-btrfs@vger.kernel.org
Subject: Re: fs unreadable after powercycle: BTRFS (device sda): parent transid verify failed on 427084513280 wanted 390924 found 390922
Date: Sat, 8 Aug 2015 21:32:55 +0200	[thread overview]
Message-ID: <CABL_Pd-Sgq-P-aknsGJkVCcN-9tG2j0rFy1SQv7iKJ2QrSEo8A@mail.gmail.com> (raw)
In-Reply-To: <20150808190525.GM14352@carfax.org.uk>

2015-08-08 21:05 GMT+02:00 Hugo Mills <hugo@carfax.org.uk>:
>> Maybe someone can give some clues why does this happen in the first
>> place? Is it unfortunate timing due to the abrupt power cycle?
>> Shouldn't CoW protect against this somewhat?
>
>    Not "somewhat": it should protect it completely. There are two ways
> that this can happen: it's a bug in btrfs, or there's something
> stopping barriers from working. That latter case can be either a bug
> in the kernel's block layer (pretty unlikely), or the hardware is
> behaving badly and ignoring the barriers (more likely, particularly if
> it's on a USB/SATA converter).

Thanks for the information. The setup is nothing out of the ordinary.
The disks are HGST HUS724040ALA640 running on a Dell H310 SATA
controller and configured as JBOD. It's all running on defaults on a
Dell PowerEdge R720. SMART says the disk write cache is enabled -
maybe that's part of the problem?

>    I don't think there's a good solution to transid failures, I'm
> afraid. The best that I'm aware of is to use btrfs restore to grab the
> pieces of your FS that aren't up to date in your backups, and then
> restore from them.

Okay, fortunately can I dismiss the data - or is the broken Image of
any use for anyone? It's a 4TB disk but I guess I could create a
compressed (partial) image if it's of interest to anyone.

regards
Martin

  reply	other threads:[~2015-08-08 19:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-08 18:43 fs unreadable after powercycle: BTRFS (device sda): parent transid verify failed on 427084513280 wanted 390924 found 390922 Martin Tippmann
2015-08-08 19:05 ` Hugo Mills
2015-08-08 19:32   ` Martin Tippmann [this message]
2015-08-09  2:56 ` Duncan
2015-08-17  2:27 ` 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=CABL_Pd-Sgq-P-aknsGJkVCcN-9tG2j0rFy1SQv7iKJ2QrSEo8A@mail.gmail.com \
    --to=martin.tippmann@gmail.com \
    --cc=hugo@carfax.org.uk \
    --cc=linux-btrfs@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.