scrub resume after suspend not working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux