linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mordechay Kaganer <mkaganer@gmail.com>
To: Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: BTRFS: Transaction aborted (error -28)
Date: Sun, 31 Jul 2016 13:23:31 +0300	[thread overview]
Message-ID: <CA+xOVSMP_ZXCoyRWL5KaDvkdPJHYtLd9f9GgD-y55=cppENLhA@mail.gmail.com> (raw)
In-Reply-To: <pan$5fb1f$7ade4380$d83d2847$ba15621a@cox.net>

B.H.

Thanks for the detailed answer!

On Fri, Jul 29, 2016 at 8:23 PM, Duncan <1i5t5.duncan@cox.net> wrote:
> ...
> Of course the fact that the transaction aborted /does/ indicate some sort
> of problem, which may in fact have left the filesystem in an unknown
> state.  However, I'd recommend a couple other checks, not balance, to be
> sure you're good.  First, a btrfs scrub of the filesystem, just to be
> sure the checksums all come out fine (or are fixable and fixed if not).
> Second, a btrfs check, which will be read-only unless you add --repair or
> similar option.

OK, scrub finished with 0 errors so I assume the FS is probably in a good shape

Regarding 'btrfs check' - my FS is huge and with a lot of metadata so
btrfs check seems to consume a lot of RAM. I've added all of my system
disk's free space as a swap but the check was killed due to OOM after
consuming about 100GB of memory.

> ...
> So I'd recommend upgrading to the latest kernel 4.4 if you want to stay
> with the stable series, or 4.6 or 4.7 if you want current, and then (less
> important) upgrading the btrfs userspace as well.  It's possible the
> newer kernel will handle the combined rsync and send stresses better, and
> if not, you're on a better base to provide bug reports, etc.

OK, upgraded to 4.4 (Ubuntu 16.04 stock kernel) and the fresh
btrfs-progs 4.7. I'm assuming the error was due to some kind of bug or
race condition and the FS is clean. Let's see how it behaves. Thanks!

-- 
משיח NOW!
Moshiach is coming very soon, prepare yourself!
יחי אדוננו מורינו ורבינו מלך המשיח לעולם ועד!

  reply	other threads:[~2016-07-31 10:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-29 13:37 BTRFS: Transaction aborted (error -28) Mordechay Kaganer
2016-07-29 17:23 ` Duncan
2016-07-31 10:23   ` Mordechay Kaganer [this message]
2016-08-04 23:05     ` Mordechay Kaganer

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='CA+xOVSMP_ZXCoyRWL5KaDvkdPJHYtLd9f9GgD-y55=cppENLhA@mail.gmail.com' \
    --to=mkaganer@gmail.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).