[Bug 229829] [zfs] scrubbing prevents shutdown and slows down startup

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 22 Jun 2022 07:41:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229829

Ronald Klop <ronald-lists@klop.ws> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ronald-lists@klop.ws

--- Comment #6 from Ronald Klop <ronald-lists@klop.ws> ---
(In reply to Martin Birgmeier from comment #5)
It should already work that way.
see "man zpool-scrub"

OPTIONS
     -s  Stop scrubbing.

     -p  Pause scrubbing.  Scrub pause state and progress are periodically
         synced to disk.  If the system is restarted or pool is exported
         during a paused scrub, even after import, scrub will remain paused
         until it is resumed.  Once resumed the scrub will pick up from the
         place where it was last checkpointed to disk.  To resume a paused
         scrub issue zpool scrub again.

     -w  Wait until scrub has completed before returning.

-- 
You are receiving this mail because:
You are the assignee for the bug.