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 BE7EDC433EF for ; Wed, 11 May 2022 00:28:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236320AbiEKA2X (ORCPT ); Tue, 10 May 2022 20:28:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52650 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231863AbiEKA2W (ORCPT ); Tue, 10 May 2022 20:28:22 -0400 Received: from mail-io1-xd2c.google.com (mail-io1-xd2c.google.com [IPv6:2607:f8b0:4864:20::d2c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB414262651 for ; Tue, 10 May 2022 17:28:21 -0700 (PDT) Received: by mail-io1-xd2c.google.com with SMTP id z26so515849iot.8 for ; Tue, 10 May 2022 17:28:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=toxicpanda-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XIoFPAERfm/R6eFKO+jk37f2Sq+UmFCTO33qPYdI7zk=; b=Uc3/Y4mvlvBXaKjeIm8HjWL6tgKQZ3d5jGbvzpcLAHir1P5Lqz3r0NgFlaDfVT/N6b 822y7VKl85fNMWxqoZig21PBBlmtlcCVCIo13lbQMI3PIRp2YikUHfXFHG4ZR9idyxvU Sre0s/CGUeI2J8/M0SAmW28qRKgiuaLWkaIbbhvevdRPLOeDILNiSNrPif+HvaS1vwMp 8CWTX50RtIQur49OFprRg1afDiaFHaVzqgH0S+gbp2lxowj1+U3l2VmR5hS+HFrRS5ah 0ctCFEEfhta1fU9P6DBC15e8KjEUeYj+FKwLKyh8tlUqW9k5pVhemlb19jC1KZlhS/LX aLqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XIoFPAERfm/R6eFKO+jk37f2Sq+UmFCTO33qPYdI7zk=; b=V61oRTFLJvupxL77g5efq7R0VKcIj3b4fnPkpKULKwXWhMLiFlT1H2AvXlYQlLGxu/ glyyiK1I+vse8CJaZFPh6XG222zPTcBHI2mDgZdkZ3X0GWhDMzTzhui5J9Bftowm+wdQ NghL9+ePeGXprQArJdCgMtu3HeN1n1SyxBJcrjcuSjBcddwhS9BMDGWj/nieZ/7QSRgM YLXeBcSzNYdpH0/Fr2qfEy6NbbQo7zxtV1vsYz1CJjuCukFqRlMyrze/IWHEXs8nqLvT VdSfP/VJvpZ7kmyf+nNa1awFZbNBheUFnmxbe0DS2aA5JyQ83i7K+htaRHk1NTWhnk1M B/hw== X-Gm-Message-State: AOAM533nI1QXaJsssTO3BFHA97KO5VU8gXC0s34gnxzso0C/p7+ZhL36 ezhXo0/YKQTeWZAxBR6ipHKDvcczU9XK5nPaoibL/mxWzmw= X-Google-Smtp-Source: ABdhPJzebCqFNXSNDDgZMyIFeP/TAbxHhj1M3mx0NqB0m2gU5igtiOKeYvuI5V0QD5Qmtk2fV5PsxxHGvKd+SNl6C5s= X-Received: by 2002:a05:6638:30e:b0:32a:f864:e4d4 with SMTP id w14-20020a056638030e00b0032af864e4d4mr10657507jap.218.1652228900804; Tue, 10 May 2022 17:28:20 -0700 (PDT) MIME-Version: 1.0 References: <20220510021916.GB12542@merlins.org> <20220510143739.GC12542@merlins.org> <20220510160600.GG12542@merlins.org> <20220510164448.GI12542@merlins.org> <20220510211507.GJ12542@merlins.org> <20220511000815.GK12542@merlins.org> In-Reply-To: <20220511000815.GK12542@merlins.org> From: Josef Bacik Date: Tue, 10 May 2022 20:28:09 -0400 Message-ID: Subject: Re: Rebuilding 24TB Raid5 array (was btrfs corruption: parent transid verify failed + open_ctree failed) To: Marc MERLIN Cc: linux-btrfs Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Tue, May 10, 2022 at 8:08 PM Marc MERLIN wrote: > > On Tue, May 10, 2022 at 07:38:37PM -0400, Josef Bacik wrote: > > On Tue, May 10, 2022 at 5:15 PM Marc MERLIN wrote: > > > > > > I have > > > ./btrfs check --repair /dev/mapper/dshelf1 > > > on hold (^Z), waiting for your ok to proceed. > > > > > > All good to continue? > > > > Hold on I'm looking at the code, I'm very confused, we shouldn't be > > finding any extent tree errors at this point. Let me work out what's > > going on. Thanks, > > Ok. > > I ran check without repair, at least it completed. 2.5 million lines of output > but I think they mostly look like this > Ok the csum errors I expect. I've made some changes and pushed them, re-run the rescue init-extent-tree again. Run check without --repair. If it complains about extent backrefs then I fucked up, I just need like 20ish lines of that output to see what I'm messing up. If it only complains about csums then we won, we can run btrfs check --init-csum-tree, and then --repair. Thanks, Josef