linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tom Vincent <tom@tlvince.com>
To: linux-btrfs@vger.kernel.org
Subject: btrfs fails to mount after power outage
Date: Wed, 11 Apr 2018 16:33:21 +0100	[thread overview]
Message-ID: <CAG4vCreOmBdsPT84ajozGb4XV83+Fc-joyUqXgizutPah0VrrA@mail.gmail.com> (raw)

My btrfs laptop had a power outage and failed to boot with "parent
transid verify failed..." errors. (I have backups).

I couldn't rw mount on a live disk, but could ro mount. I tried btrfs
scrub and then btrfs check --repair to no avail. However, btrfs rescue
zero-log _did_ work; the drive can be rw mounted and the machine boots
fine again.

Although there doesn't appear to be an immediate data loss, there's
still a transid error during boot. "BTRFS error (device dm-0): parent
transid verify failed on 115490816 wanted 339949 found 340182".

If I umount and re-run btrfs check, I'm given further transid errors
and pages of "inode [n] errors 2001, no inode item, link count wrong".

What steps should I take now?

btrfs progs 4.15
kernel 4.15.15
NVMe drive

             reply	other threads:[~2018-04-11 15:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-11 15:33 Tom Vincent [this message]
2018-04-11 23:25 ` btrfs fails to mount after power outage Qu Wenruo
2018-04-13  5:46   ` Duncan
2018-04-16 16:07   ` Tom Vincent
2018-04-17  0:31     ` 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=CAG4vCreOmBdsPT84ajozGb4XV83+Fc-joyUqXgizutPah0VrrA@mail.gmail.com \
    --to=tom@tlvince.com \
    --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 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).