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 00B19C433F5 for ; Sun, 29 May 2022 15:00:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230482AbiE2PAs (ORCPT ); Sun, 29 May 2022 11:00:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229907AbiE2PAs (ORCPT ); Sun, 29 May 2022 11:00:48 -0400 Received: from mail-io1-xd31.google.com (mail-io1-xd31.google.com [IPv6:2607:f8b0:4864:20::d31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 23FEC9347B for ; Sun, 29 May 2022 08:00:47 -0700 (PDT) Received: by mail-io1-xd31.google.com with SMTP id s23so9106956iog.13 for ; Sun, 29 May 2022 08:00:47 -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=T/Xj26ATuX5kqg8FLgikWgT/0E+lGAtidm0kbL6zQLk=; b=QU3+GBGexLHHoTNG0mI8AHCNh/wVSALw+5MSsGQCSrBWi/h1CA37B7jhizhcpLJV5m ftBCMefuSjj5RlqWXrq746dtXJLOl9wCV5axsR7INpQnfX+TpaFGeuXuYsFtpyONBjmp NlPYipr4KeqHbYdrmIW9gH0UTg/KZiZB1KwdCaXCN7thFLrAUCkkWArLa5A+pCK15WnI 79UqU6BEMBjHCkKF1MfIgmMtv5KKn5FzD/tfZPWmb6HtgN7JGTCIoxlTM+HrMsYOFzfZ f1PJTkoytbJP1Y9gK2wxp/pcUBEycfbyDYQllQkpx+nayv5NewdJuTQ2EdgmLyqx1qmz 2AoA== 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=T/Xj26ATuX5kqg8FLgikWgT/0E+lGAtidm0kbL6zQLk=; b=hVMhgHoFpML/Ov9PEyKRT5wiaBZ988Ct5VPGMjYy8bFCmY4/AhbrbQcSm2Xw1Lz5j8 b5FyDKxmZ3uiCW/JXoJmORQeC72pc0QdnUkVurcDZNnZnyswfIuhSVItfNmLAtFsZgpX CyYG0kChl/MiGIDxAVqsR93R6TcnOdYFTW+FgbhxpPTlTS4X108Z7ek4wvSFpD+2PmDI raXdnmgIJHcZNqKsyFEBLVuh6zgTsINRLc3mr7aagIvG+kp9sYiu/wfir0yLeDEWv7OG flYxkK5+/a5EE/Y2ve6kQLZ6r2b+jS8NlSKlof9pYRf1dzqZFmcdk3o7PztcVvsj0H59 B60w== X-Gm-Message-State: AOAM5323/mz33ynx15bpA+J7eCt0An8jI9PAa+t5N0Iio1/Se7hxtK1E vEBJsG9TZaG5xGjoQzsFHy861jljOAGvkVVvEYeBvSnXwmE= X-Google-Smtp-Source: ABdhPJyMjDNVw7/Bt2QfgcALuBH/MRQPP/hUpmbrE63vrUTZZ940XZ2g5001QOnhIDLm1PnSoXIGNzmA4dacZ75fEDY= X-Received: by 2002:a05:6602:1695:b0:665:8390:fcf with SMTP id s21-20020a056602169500b0066583900fcfmr10655894iow.83.1653836446339; Sun, 29 May 2022 08:00:46 -0700 (PDT) MIME-Version: 1.0 References: <20220526191512.GE28329@merlins.org> <20220526213924.GB2414966@merlins.org> <20220527011622.GA24951@merlins.org> <20220527232604.GA22722@merlins.org> <20220528225601.GD24951@merlins.org> <20220529035139.GE24951@merlins.org> In-Reply-To: <20220529035139.GE24951@merlins.org> From: Josef Bacik Date: Sun, 29 May 2022 11:00:35 -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 Sat, May 28, 2022 at 11:51 PM Marc MERLIN wrote: > > On Sat, May 28, 2022 at 09:00:00PM -0400, Josef Bacik wrote: > > On Sat, May 28, 2022 at 6:56 PM Marc MERLIN wrote: > > > > > > On Sat, May 28, 2022 at 04:08:25PM -0400, Josef Bacik wrote: > > > > Sorry my ability to think isn't doing so great right now. I've wired > > > > up the detection stuff, but it won't actually fix anything yet. I > > > > want to make sure I've got detection part right before I go messing > > > > with the file system. If you can pull and build and then run > > > > > > > > btrfs rescue recover-chunks > > > > > > > > and capture the output that would be great. Hopefully this shows the > > > > missing block groups and I can just copy them into place. Thanks, > > > > > > gargamel:/var/local/src/btrfs-progs-josefbacik# ./btrfs rescue recover-chunks /dev/mapper/dshelf1 > > > checksum verify failed on 21135360 wanted 0x00000000 found 0x3533f3b5 > > > checksum verify failed on 21135360 wanted 0x00000000 found 0x3533f3b5 > > > checksum verify failed on 21135360 wanted 0x00000000 found 0x3533f3b5 > > > Csum didn't match > > > ERROR: cannot read chunk root > > > WTF??? > > > ERROR: open ctree failed, try btrfs rescue tree-recover > > > Recover chunks tree failed > > > gargamel:/var/local/src/btrfs-progs-josefbacik# > > > > > > So, should I do what it says? > > > > Oh yeah duh sorry, I was adding it to tree-recover but decided it was > > a bad place for it. Go ahead and run tree-recover and then do the > > recover-chunks. Thanks, > > :( > > gargamel:/var/local/src/btrfs-progs-josefbacik# ./btrfs rescue tree-recover /dev/mapper/dshelf1 > ERROR: cannot read chunk root > WTF??? > ERROR: open ctree failed > Tree recover failed Sorry, thought I fixed this before pushing yesterday, try again please. Thanks, Josef