All of lore.kernel.org
 help / color / mirror / Atom feed
* scrub resume after suspend not working
@ 2020-02-24  9:39 Robert Krig
  2020-02-24 10:08 ` Holger Hoffstätte
  0 siblings, 1 reply; 6+ messages in thread
From: Robert Krig @ 2020-02-24  9:39 UTC (permalink / raw)
  To: linux-btrfs

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-02-28 11:34 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-24  9:39 scrub resume after suspend not working Robert Krig
2020-02-24 10:08 ` 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

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.