All of lore.kernel.org
 help / color / mirror / Atom feed
From: Robert Krig <robert.krig@render-wahnsinn.de>
To: linux-btrfs@vger.kernel.org
Subject: scrub resume after suspend not working
Date: Mon, 24 Feb 2020 10:39:25 +0100	[thread overview]
Message-ID: <e476b0aec351754b3cd72ed7d9135a6900f57554.camel@render-wahnsinn.de> (raw)

Hi guys. 

I have a backup server which is running a BTRFS raid10. This server is
in the bedroom. So I have it set to suspend at night because of the
noise, and then a systemd timer which resumes it at 07:00 a.m the next
morning.

As part of the suspend/resume script i issue a btrfs cancel before
suspending and a btrfs scrub resume when the server wakes up again.

I've noticed however that after a suspend the btrfs scrub resume
doesn't seem to work properly. It just never finishes, even if the
original estimate (before the resume) was roughly about 20hours, which
it should have finished in one or two days.

After waking up from a suspend, the btrfs scrub resume does indeed
"resume" but it seems to have forgotten it's progress. It "looks" as
though it just started over. 

Is this expected behavior or is it a bug?


I'm running Debian Buster with backported Kernel 5.4.0 and btrfs
version 5.4.1



             reply	other threads:[~2020-02-24  9:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-24  9:39 Robert Krig [this message]
2020-02-24 10:08 ` scrub resume after suspend not working Holger Hoffstätte
2020-02-24 13:47   ` Robert Krig
2020-02-24 14:47     ` Holger Hoffstätte
2020-02-24 15:22       ` Robert Krig
2020-02-28 11:34       ` Robert Krig

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=e476b0aec351754b3cd72ed7d9135a6900f57554.camel@render-wahnsinn.de \
    --to=robert.krig@render-wahnsinn.de \
    --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.