From: Hans van Kranenburg <hans.van.kranenburg@mendix.com>
To: Rich Rauenzahn <rrauenza@gmail.com>,
Btrfs BTRFS <linux-btrfs@vger.kernel.org>
Subject: Re: kernel hangs during balance
Date: Tue, 19 Dec 2017 18:14:51 +0100 [thread overview]
Message-ID: <83e041e2-a440-845f-df54-ecde29bd10dd@mendix.com> (raw)
In-Reply-To: <CAG+QAKUbtQc0V0njpXoC_UZL5NF1BP+qoH6Zbh4KgEN_2EiOdw@mail.gmail.com>
On 12/19/2017 06:08 PM, Rich Rauenzahn wrote:
> What's also confusing is I just ran a manual balance on the fs using
> defaults (which are aggressive) and it completed with no problems.
> It smells more like a race condition than a particular corruption.
Just wild first guess... are you also using btrfs send/receive
functionality where the system having problems is the sending part?
> On Tue, Dec 19, 2017 at 8:09 AM, Rich Rauenzahn <rrauenza@gmail.com> wrote:
>> I'm running 4.4.106-1.el7.elrepo.x86_64 and I do a btrfs balance everynight.
>>
>> Every night I'm getting a kernel hang, sometimes caught by my
>> watchdog, sometimes not. Last night's hang was on the balance of DATA
>> on / at 70.
>>
>> I'm not sure how to further trace this down to help you -- the console
>> by the time I notice just has lots of messages on it without the
>> initial ones.
Capturing more logs is definitely the first thing to do.
Look if the output of `dmesg` still shows the btrfs errors. Otherwise,
if something is spamming there, turn that off, or if you don't have the
errors in a log file because the log files are on the same btrfs, then
you have to find out another way to capture them. E.g. make the kernel
buffer for messages bigger, use netconsole or just pragmatic things like
ssh from another server and `dmesg -w` and store it on the other machine.
>> The last items in /var/log/message aren't helpful, but
>> I'm pretty sure it is the nightly balance.
>>
>> I've run btrfs check on / with no issues recently.
--
Hans van Kranenburg
next prev parent reply other threads:[~2017-12-19 17:14 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-19 16:09 kernel hangs during balance Rich Rauenzahn
2017-12-19 17:08 ` Rich Rauenzahn
2017-12-19 17:14 ` Hans van Kranenburg [this message]
2017-12-19 17:48 ` Rich Rauenzahn
2017-12-20 16:24 ` Rich Rauenzahn
2017-12-20 19:02 ` Chris Murphy
2017-12-20 19:58 ` Holger Hoffstätte
2017-12-20 21:11 ` Rich Rauenzahn
2017-12-21 6:26 ` Duncan
2017-12-23 19:59 ` Rich Rauenzahn
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=83e041e2-a440-845f-df54-ecde29bd10dd@mendix.com \
--to=hans.van.kranenburg@mendix.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=rrauenza@gmail.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