linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tim Walberg <twalberg@comcast.net>
To: linux-btrfs@vger.kernel.org
Subject: btrfs check --repair question
Date: Mon, 12 Dec 2016 06:19:35 -0600	[thread overview]
Message-ID: <20161212121935.GA4345@comcast.net> (raw)

All -

I have a file system I'm having some issues with. The initial symptoms were that mount
would run for several hours, either committing or rolling back transactions (primarily
due to a balance that was running when the system was rebooted for other reasons -
the skip_balance mount option was specified because of this), but would then be killed
due to an OOM condition (not much else running on the box at the time - a desktop system
where everything else was waiting for the mount to finish). That's the background. Kernel
4.8.1 - custom config, but otherwise stock kernel - and btrfs-tools 4.8.3.

Ran btrfs check, and the only thing it reports is a sequence of these:

ref mismatch on [5400814960640 16384] extent item 0, found 1
Backref 5400814960640 parent 5401010913280 root 5401010913280 not found in extent tree
backpointer mismatch on [5400814960640 16384]
owner ref check failed [5400814960640 16384]

Which, to my reading are simply some missing backrefs, and probably should be one of the
easier issues to correct, but I know --repair is still considered experimental/dangerous,
so I thought I'd ask before I run it... Is this a case that --repair can be reasonably
expected to handle, or would I be better off recreating the file system and restoring from
either my saved btrfs send archives or the more reliable backups?


		      tw



-- 
twalberg@gmail.com

             reply	other threads:[~2016-12-12 12:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-12 12:19 Tim Walberg [this message]
2016-12-12 17:06 ` btrfs check --repair question Chris Murphy
  -- strict thread matches above, loose matches on Subject: below --
2016-12-13 12:53 bepi

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=20161212121935.GA4345@comcast.net \
    --to=twalberg@comcast.net \
    --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).