Open ikozhukhov opened 3 years ago
@behlendorf @ahrens please take a look
I don't recall what the intended behavior was here. @sdimitro could you take a look?
@ikozhukhov Is there a thread executing in an infinite loop? If so could you post the stack trace? It sounds like there might not be, but rather the observed problem is that the scrub does not make progress, according to zpool status
?
I experienced this with a live pool, where resilvers complete and immediately restart again when a pool checkpoint is present. Here is a rough order of important events:
zpool status
before removal - might be important, I'm not sureHere is a truncated and redacted log of zpool history
showing the strange behaviour: https://gist.githubusercontent.com/frebib/ee4143a606ec5252e1ca3986b586a662/raw
The issue cleared right up when I removed the checkpoint.
@frebib thanks for letting us know, could you please add which version of OpenZFS you're seeing this with and the platform / distribution you're using.
$ zfs version
zfs-2.0.3-8
zfs-kmod-2.0.1-3
$ uname -a
Linux localhost 5.10.0-3-amd64 #1 SMP Debian 5.10.12-1 (2021-01-30) x86_64 GNU/Linux
$ head -n1 /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions.
System information
Describe the problem you're observing
infinit loop resilver with checkpoint on pool
Describe how to reproduce the problem
start
warch zpool status -s testpool
and monitor status of poolInclude any warning/errors/backtraces from the system logs