From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F9D3C43334 for ; Sun, 12 Jun 2022 17:38:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229864AbiFLRiC (ORCPT ); Sun, 12 Jun 2022 13:38:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231915AbiFLRh3 (ORCPT ); Sun, 12 Jun 2022 13:37:29 -0400 Received: from mail1.merlins.org (magic.merlins.org [209.81.13.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 54ADC5DA67 for ; Sun, 12 Jun 2022 10:37:26 -0700 (PDT) Received: from [172.58.16.183] (port=20468 helo=sauron.svh.merlins.org) by mail1.merlins.org with esmtpsa (Cipher TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2 #2) id 1o0QoH-0007d6-FM by authid with srv_auth_plain; Sun, 12 Jun 2022 10:37:24 -0700 Received: from merlin by sauron.svh.merlins.org with local (Exim 4.92) (envelope-from ) id 1o0RWc-00AVFy-QD; Sun, 12 Jun 2022 10:37:22 -0700 Date: Sun, 12 Jun 2022 10:37:22 -0700 From: Marc MERLIN To: Josef Bacik Cc: linux-btrfs Subject: Re: Rebuilding 24TB Raid5 array (was btrfs corruption: parent transid verify failed + open_ctree failed) Message-ID: <20220612173722.GA1843303@merlins.org> References: <20220608213845.GH22722@merlins.org> <20220609030128.GJ22722@merlins.org> <20220609211511.GW1745079@merlins.org> <20220610191156.GB1664812@merlins.org> <20220611001404.GM22722@merlins.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Sysadmin: BOFH X-URL: http://marc.merlins.org/ X-SA-Exim-Connect-IP: 172.58.16.183 X-SA-Exim-Mail-From: marc@merlins.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Sat, Jun 11, 2022 at 10:59:15AM -0400, Josef Bacik wrote: > Oops, sorry about that, fixed it up. My wife is travelling this week > so I'm going to be a little slower than normal, but hopefully we're > getting close to the end here. Thanks, In the meantime, I'm building the new replacement filesystem. I used your tree to have the latest mkfs.btrfs. gargamel:/var/local/src/btrfs-progs-josefbacik# ./mkfs.btrfs -m dup -L dshelf1 /dev/mapper/dshelf1n btrfs-progs v5.16.2 See http://btrfs.wiki.kernel.org for more information. NOTE: several default settings have changed in version 5.15, please make sure this does not affect your deployments: - DUP for metadata (-m dup) - enabled no-holes (-O no-holes) - enabled free-space-tree (-R free-space-tree) Label: dshelf1 UUID: ee91f407-39cb-41ef-bd7b-89eee4504ad5 Node size: 16384 Sector size: 4096 Filesystem size: 43.66TiB Block group profiles: Data: single 8.00MiB Metadata: DUP 1.00GiB System: DUP 8.00MiB SSD detected: no Zoned device: no Incompat features: extref, skinny-metadata, no-holes Runtime features: free-space-tree Checksum: crc32c Number of devices: 1 Devices: ID SIZE PATH 1 43.66TiB /dev/mapper/dshelf1n Does this look ok? (it's still running on top of cryptsetup, which is on top of mdadm raid5, but this time I added --consistency-policy=ppl and I removed bcache in the middle. Thanks, Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Home page: http://marc.merlins.org/ | PGP 7F55D5F27AAF9D08