From nobody Wed Jun 22 07:41:29 2022 X-Original-To: fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 979A4878F1B for ; Wed, 22 Jun 2022 07:41:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LSb153BZMz4R5Q for ; Wed, 22 Jun 2022 07:41:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4F0442220B for ; Wed, 22 Jun 2022 07:41:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 25M7fTsn080697 for ; Wed, 22 Jun 2022 07:41:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 25M7fTul080696 for fs@FreeBSD.org; Wed, 22 Jun 2022 07:41:29 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 229829] [zfs] scrubbing prevents shutdown and slows down startup Date: Wed, 22 Jun 2022 07:41:29 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 11.2-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ronald-lists@klop.ws X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655883689; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=2tycH5eFcWAXg0XikONKmiKpyv35kt96tp1+bWHTXtU=; b=oqtpPDgYF68lp7ft7rqL5Yc5umggy1U0CjnLTewyY/35ekvrzZM/lQ3UJiUOFQYF9O9e9b 37Y+2gRNNPN1c3nrfIphktD2I0UnTT7rhfUrfk4Qkcp15YLVWedn4/MMIZgKsJlFGhk0/P w6DeZJmO+RJkKUkOp1Va4KokM1Qa0Vy4cQ9oRcJvaUrcByAPB4K8lPoXBZlhYvRnBuYuOK nlZ0P4zF/2PCMdEDxH1+lc/JqiXbXnTdxuInCMRRtwTzDeTv3A0WP9UYLjiQ7UicM/OlSs 6xfh3ugc7naUKAFODLPLUOqj9TgAtEtsTjMCWi5q50YvOEe3usWrT0U0FFCMAw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655883689; a=rsa-sha256; cv=none; b=B9QttUvuUGiPc2eP1jz+6boVh4BlUp9mIWY/vd8zjHn2MaTumc9C3ySoOOflGK7l5qtsAu tTCW0PWUHja8F+0L9egUERfk4EgRbu4tnfh+x6GEt3Re5Krtf/msJS5pg7AmtQ3ga7bmnW is6Mxmgc5gXb649A36qmWDhUWhtfOQ8z2QTbUlbQEJItlAOmXp5faFD57gUbdBrNkL7K+2 cFNorMJk2mVKMYsauavEuCsc1Qc0vY5eQXa65vkLrtkFeNP52VWjmrXNtL6PHpAsSm7o3Z 76Vus9RGliKhZ3SBlKlz9RWgkO06klNeAGYvDOjkdNibtf9yRlSHLwem/nSp7A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D229829 Ronald Klop changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ronald-lists@klop.ws --- Comment #6 from Ronald Klop --- (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. --=20 You are receiving this mail because: You are the assignee for the bug.=