From nobody Fri Nov 08 09:54:21 2024 X-Original-To: bugs@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 4XlDms68kQz5cV9q for ; Fri, 08 Nov 2024 09:54:21 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XlDms3T59z44jt for ; Fri, 8 Nov 2024 09:54:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1731059661; 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; bh=6TzjFNwGiVULr65ub7NLoDGMjjpbovzmv7gaNP8lyMQ=; b=kB64ilv6gdLumZLeHwT/H+W6EFOpNXjibef1Du4gfua78HIhQQyvPPZw5QVO4D5l9i1awa v0Ytb7/5KK0yJssIx5nN5yCduAX4+Y9Eu7Iu0llIMjppB482i18lryKtgUtbRIX/G4agnK CV7Ql9fr2o4tK0mWvMWxQKwne33VApiLykHA3tkpf3HTsZggKXJ1FI7BBylExPvIlR45Bn dHhKnSdalG4CLVOa1jz0SH+h/CvlteHrmfTmXNzkUUNoglulhyPaeb2cUBIai5YiMELwvs bqiv+bENUrUIvzQvriNAKTRW+lJ5qIjEn1lW5oVp2PBSKtm3Jy4zdHtpUhJrdQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731059661; a=rsa-sha256; cv=none; b=Oxn2GxeXXJ/ieX2vxD1ILGsuQhtpbZj99Qh6aNj12HZwhAxjgfnYy+7cl89/F9YPLsP1Js gG8oquDNJ6jQ7VMADDQHl+QbFQh8aS5nCA02KliXDnYXcMSsIPDgSc2VZtVp/zDrNjvkGV dZgD6297kDalc2COtmTfHNh0grPKu+NUwrHoNaVXdk+2ZMqlABV+FpzB/KaQLYnwXdiTMs BzBayBVEvoYD3tEJ596jo0wHvwKs43P4SWR2muDtlXDxLio41UKA09mhUGiaWq8pVIGvbv J21zRewTMGwOAYRpsN3EF8A1cf6sZ3MnxZfd3d3hDSdzV5aOoxYo+Zudbs+J1g== 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 4XlDms359GzPj2 for ; Fri, 8 Nov 2024 09:54:21 +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 4A89sLfJ010661 for ; Fri, 8 Nov 2024 09:54:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4A89sLGf010660 for bugs@FreeBSD.org; Fri, 8 Nov 2024 09:54:21 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: bugs@FreeBSD.org Subject: [Bug 282622] zfs snappshot corruption when using encryption Date: Fri, 08 Nov 2024 09:54:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: girgen@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282622 Bug ID: 282622 Summary: zfs snappshot corruption when using encryption Product: Base System Version: 14.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: girgen@FreeBSD.org Hi! We se sporadical corruption in snapshots (not really files, it seems) since= we started using encryption on previously well behaved system. $ sudo zpool status -v tank pool: tank state: ONLINE status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: https://openzfs.github.io/openzfs-docs/msg/ZFS-8000-8A scan: scrub in progress since Mon Nov 4 12:49:06 2024 126T / 128T scanned at 392M/s, 126T / 128T issued at 392M/s 0B repaired, 99.07% done, 00:53:05 to go config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 raidz2-0 ONLINE 0 0 0 gpt/ZA17TQRZ0000R7412YQE ONLINE 0 0 0 da7 ONLINE 0 0 0 gpt/ZA17YK2F0000R7443JLQ ONLINE 0 0 0 gpt/ZA17YLK20000R744Z3EQ ONLINE 0 0 0 da2 ONLINE 0 0 0 gpt/ZA17YMZM0000R741ZUG7 ONLINE 0 0 0 gpt/ZA17YN7N0000R7426S1K ONLINE 0 0 0 raidz2-1 ONLINE 0 0 0 gpt/Z4D4GSYQ0000R642L8LN ONLINE 0 0 0 gpt/S4D198220000K706NYDF ONLINE 0 0 0 gpt/S4D1E37R0000E715QM7B ONLINE 0 0 0 gpt/Z4D4J36Y0000R63167HP ONLINE 0 0 0 gpt/S4D198GF0000K706NYRP ONLINE 0 0 0 gpt/Z4D4J3DX0000R633K23E ONLINE 0 0 0 raidz3-3 ONLINE 0 0 0 gpt/9RKBX1NL ONLINE 0 0 0 gpt/9RKBZ0KL ONLINE 0 0 0 gpt/9RKBBPYL ONLINE 0 0 0 gpt/9RKBM1DC ONLINE 0 0 0 gpt/9RKAW5MC ONLINE 0 0 0 gpt/9RKD3LDC ONLINE 0 0 0 gpt/9RKD2H3C ONLINE 0 0 0 gpt/9RK7XB1C ONLINE 0 0 0 logs=20=20=20=20 mirror-2 ONLINE 0 0 0 gpt/ZIL1 ONLINE 0 0 0 gpt/ZIL2 ONLINE 0 0 0 cache gpt/L2ARC1 ONLINE 0 0 0 gpt/L2ARC2 ONLINE 0 0 0 spares gpt/ZA17YMCH0000R74264N0 AVAIL=20=20=20 errors: Permanent errors have been detected in the following files: No files though, and the last percent of scrub has been working for a few d= ays now. We know which snapshot is problematic since we ship them all off site using `zfs send`. Removing snapshot culprit fixes the problem, but it keeps poppi= ng up. We're planning upgrade to 14.1 this weekend, but I see no closed PRs ab= out this problem so I'm posting this before the upgrade. Anyone knows if anythi= ng in the encryption code has been improved? There a description in the OpenZFS github, https://github.com/openzfs/zfs/issues/12014 , that seems to be spot on. The issue is still open. Any ideaa? What more can I supply in terms of data? --=20 You are receiving this mail because: You are the assignee for the bug.=