You original scrub took just under 4.5 hours. Have you let the second
scrub run anywhere near that long? If not, start there.

The new scrub code uses a two-phase approach. First it works through
metadata determining what (on-disk) blocks to scrub. Second, it does the
actual scrub. This allows ZFS to coalesce the blocks and do large,
sequential reads in the second phase. This dramatically speeds up the
total scrub time. In contrast, the original scrub code is doing a lot of
small, random reads.

You might just be seeing the first phase completing in 5 minutes, but
the second phase still needs to occur. Or, maybe it did part of the
first phase but hit the RAM limit and needed to start the second phase.

If you've let it run for 4.5 hours and it's still showing that status,
then I'd say something is wrong.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1860182

Title:
  zpool scrub malfunction after kernel upgrade

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1860182/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to