From owner-freebsd-questions@freebsd.org Mon Feb 15 20:34:40 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2FAC2538962 for ; Mon, 15 Feb 2021 20:34:40 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: from mail-ej1-x633.google.com (mail-ej1-x633.google.com [IPv6:2a00:1450:4864:20::633]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DfbSH3GwLz3LFv for ; Mon, 15 Feb 2021 20:34:39 +0000 (UTC) (envelope-from ultima1252@gmail.com) Received: by mail-ej1-x633.google.com with SMTP id w1so13251980ejf.11 for ; Mon, 15 Feb 2021 12:34:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=92rFwo0sLUA0IU7LRKzZnjRAaZjrUKrhzUuIBIO19hE=; b=KtndHDHX+W4BCEdAmBsBX8Z6F0LUme/6S8PzS/OhlFyWL1y7OxVmj2NRghiNnRtKZ7 tzgHd7jUrMXubB45W5Oo9kEhHC1VTLP22U2O49qgDLq+yTOTI8DjL6XJbSg9A7XoAaGf axREsz4mTyIKPfmZwQTndGF7iRuB08tTvKECDkxv8RZTteyPtw23u9KKikflfAjPmsAv YHUWzs1e6h9B4r8T+3fOcK6iJ0zSMP8kXOR4j84CFUrLYWYVA4SPuStaIJ0rkzGgL4e+ uRSFAMJ58afm8tKdQ6mM5H04Xq/mASozVWxNnucmwmB2u+buayADGdYp2bnZ2ZBDH2x7 u9Og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=92rFwo0sLUA0IU7LRKzZnjRAaZjrUKrhzUuIBIO19hE=; b=ffhHWY+t/jA6NLN4p/AfNr/FZVwhiwxZq5VNR0lGmd6ythkUn/4cMRHvcW28K74H+A 8nS7oInO4Qz69hziBEUnUX+r6tRZzi++zflGp0R4O61C0cRAGzdQ4Art5IvCYrkOsJ9W d0w3NBObzjqEhK0wInsYkRQ6oGUK2nCrw9sT7IvZUZwpXsHM0vvbkZkj7+0OnPk1/sdG dZ2cM+FKDSedylFWvVm1rMj8daWG4QSNvn/jVcSybyJqbl/jQoBO+JtkSXuHhTY+vIrG OVe/+dnL7jw851Kda7XDRtKxL93FaowFHGtJWmTQGFVQO1fLHPmIBshnxWxShM7ylnC5 vSbA== X-Gm-Message-State: AOAM532bSVlLIcSsSM5HcCiKoGfWktxfUNlrCjbvubu00BUfWbFd1cfV aQ1Ok64quQwJdQh8WWRgZpsi5SvDLrM92f4TOZDYWwaocnYcYw== X-Google-Smtp-Source: ABdhPJz9PpX9oZdysEq3NN3ccSEKcdnLUDKYJa2anbl0GVX5bcxz1d0tBQuUyp25bbdlvkmRWG1zjwAiVQ+Y6bQZTrA= X-Received: by 2002:a17:906:7fc4:: with SMTP id r4mr16161905ejs.81.1613421277173; Mon, 15 Feb 2021 12:34:37 -0800 (PST) MIME-Version: 1.0 References: <20210215131139.c3ad9f9c9f907ee5b058fd37@3dresearch.com> In-Reply-To: <20210215131139.c3ad9f9c9f907ee5b058fd37@3dresearch.com> From: Ultima Date: Mon, 15 Feb 2021 12:34:25 -0800 Message-ID: Subject: Re: zpool CKSUM 0 --> 1 while resilvering To: Janos Dohanics Cc: FreeBSD Questions X-Rspamd-Queue-Id: 4DfbSH3GwLz3LFv X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=KtndHDHX; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ultima1252@gmail.com designates 2a00:1450:4864:20::633 as permitted sender) smtp.mailfrom=ultima1252@gmail.com X-Spamd-Result: default: False [-4.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::633:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::633:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::633:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2021 20:34:40 -0000 Hey Janos, Yeah, one checksum error is fine. This simply means that during the resilver one of the devices did not have correct data, this is automatically fixed on the device when detected if there is redundancy. If it does not have enough redundancy, then it would have provided a file that may have been corrupted. This output can be useful over time for detect failing hardware or links issues. Best regards, Richard Gallamore On Mon, Feb 15, 2021 at 10:12 AM Janos Dohanics wrote: > Hello, > > I had to replace a hard drive which has failed a smart test. As the > replacement hard drive was being resilvered, I have peridically checked > the progress. > > Initially, everything looked fine: > > # zpool status > pool: zroot > state: ONLINE > status: One or more devices is currently being resilvered. The pool will > continue to function, possibly in a degraded state. > action: Wait for the resilver to complete. > scan: resilver in progress since Sun Feb 14 20:44:20 2021 > 1.77T scanned at 291M/s, 179G issued at 28.7M/s, 1.97T total > 179G resilvered, 8.88% done, 0 days 18:12:23 to go > config: > > NAME STATE READ WRITE CKSUM > zroot ONLINE 0 0 0 > mirror-0 ONLINE 0 0 0 > ada0p3 ONLINE 0 0 0 > replacing-1 ONLINE 0 0 0 > ada1p3 ONLINE 0 0 0 > ada3p3 ONLINE 0 0 0 > ada2p3 ONLINE 0 0 0 > > errors: No known data errors > > But a little later CKSUM changed from 0 to 1: > > # zpool status > pool: zroot > state: ONLINE > status: One or more devices is currently being resilvered. The pool will > continue to function, possibly in a degraded state. > action: Wait for the resilver to complete. > scan: resilver in progress since Sun Feb 14 20:44:20 2021 > 1.84T scanned at 249M/s, 275G issued at 36.5M/s, 1.97T total > 275G resilvered, 13.65% done, 0 days 13:35:00 to go > config: > > NAME STATE READ WRITE CKSUM > zroot ONLINE 0 0 0 > mirror-0 ONLINE 0 0 0 > ada0p3 ONLINE 0 0 0 > replacing-1 ONLINE 0 0 0 > ada1p3 ONLINE 0 0 0 > ada3p3 ONLINE 0 0 1 > ada2p3 ONLINE 0 0 0 > > errors: No known data errors > > After resilvering has finished: > > # zpool status > pool: zroot > state: ONLINE > status: One or more devices has experienced an unrecoverable error. An > attempt was made to correct the error. Applications are > unaffected. > action: Determine if the device needs to be replaced, and clear the errors > using 'zpool clear' or replace the device with 'zpool replace'. > see: http://illumos.org/msg/ZFS-8000-9P > scan: resilvered 1.97T in 0 days 08:25:27 with 0 errors on Mon Feb 15 > 05:09:47 2021 > config: > > NAME STATE READ WRITE CKSUM > zroot ONLINE 0 0 0 > mirror-0 ONLINE 0 0 0 > ada0p3 ONLINE 0 0 0 > ada3p3 ONLINE 0 0 1 > ada2p3 ONLINE 0 0 0 > > errors: No known data errors > > No errors reported by smartctl(8) for /dev/ada3. > > Can I consider this a harmless error and should I just run "zpool clear > ada3p3'? > > Please advise. > > -- > Janos Dohanics > _______________________________________________ > freebsd-questions@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >