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 B9352C433EF for ; Wed, 8 Jun 2022 00:33:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376630AbiFHA3G (ORCPT ); Tue, 7 Jun 2022 20:29:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1451893AbiFGXNQ (ORCPT ); Tue, 7 Jun 2022 19:13:16 -0400 Received: from mail-il1-x12a.google.com (mail-il1-x12a.google.com [IPv6:2607:f8b0:4864:20::12a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0BD3C3A7BE7 for ; Tue, 7 Jun 2022 13:59:10 -0700 (PDT) Received: by mail-il1-x12a.google.com with SMTP id s1so15183291ilj.0 for ; Tue, 07 Jun 2022 13:59:10 -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=jXwm++VzZDMNEKUCIc30GiyP1KNsRx3tcoVZ4wOCZJA=; b=D3cgIXXj6d0IY39GInKI0ejqlpRDpaYqG+BJcjWbIHXGifKRiT/Ee/n6frXMxShuNX xOBeHFyVBAs3OuKeHrPZynLzSe7jjjMeq/ilKVuXNbH2KIUIqQ7l1+GiBlRxJHk02lqi 8J0Y+whhev4V8ms1O6xvmDchT5JtQqvIp7wzQv42KwHArL2wQtKJmZV3AC5xRZrs7+w+ Muyv9oZzDhXnu6kS7iNYVKh1KlX79mC7JSHiQzn3PNhQ6IqSBPrUdqgXOtSbPkUDDJ1R gsQKn3ywAQvJrYrfQpvq2j6LEgDQLakVgYyfNEOZpe7BZ8R9J/6sEjGRIZfJQ3WlRwKv JeJQ== 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=jXwm++VzZDMNEKUCIc30GiyP1KNsRx3tcoVZ4wOCZJA=; b=n33RKMuOGoDKk4AyY4yL1AI2kXmE2jM6mQLrroA7S1JLavQvRCWzjvm2sIyKUpwNbg gJBmBuq7nyomVD0/c7Tqcgg/28QKHeFUHMnDZoGeNriEo7RVtQusaxj93MdxNPpFipvo uE0/+WnVced19SQw+ffqqzuLxBWcn5V5X5kuDshaS881HvYAz5MAQRYJM/Yed8gPNMvg yvNEw8xmBmnsrnmo1QFGk+JXlCdgCT4LsG1gslEq4zEc6cxC1PxzJaiji3Mu6ybRDXfs zK54uLrQRhmWZrFNNOlxK+dPijjMJn+iCxcpDW/O/2xutx8LlU7ENJ08KWASNoz6UCMn swaA== X-Gm-Message-State: AOAM532VVGubm1YdmUHGWYyiF+ZjZZrMyLlchvHDwMUIXPWZNFiapjhV EHBbQHizAJnW/OoPaaj6whVz1JlpCvGSPp0G8NGAEnwS0Kc= X-Google-Smtp-Source: ABdhPJztvid5O3sYTytpG1gAJx3SXNKQ75bjUG2s+o+32CyAaNFyb24qEYx+sruTSMVJG7L0HPqwHPWbMTSiTWV+OcQ= X-Received: by 2002:a05:6e02:216a:b0:2d1:71a0:c2b8 with SMTP id s10-20020a056e02216a00b002d171a0c2b8mr18316543ilv.6.1654635549114; Tue, 07 Jun 2022 13:59:09 -0700 (PDT) MIME-Version: 1.0 References: <20220607032240.GS22722@merlins.org> <20220607151829.GQ1745079@merlins.org> <20220607153257.GR1745079@merlins.org> <20220607182737.GU1745079@merlins.org> <20220607195744.GV22722@merlins.org> <20220607204406.GX22722@merlins.org> In-Reply-To: <20220607204406.GX22722@merlins.org> From: Josef Bacik Date: Tue, 7 Jun 2022 16:58:57 -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, Jun 7, 2022 at 4:44 PM Marc MERLIN wrote: > > On Tue, Jun 07, 2022 at 04:10:02PM -0400, Josef Bacik wrote: > > Alright it looks like we've gotten everything we're going to get, go > > ahead and let init-extent-tree do its thing. Thanks, > > Argh, it ran for a while and then it crashed, but I didn't have it run under gdb. > > searching 164624 for bad extents > processed 655360 of 109084672 possible bytes, 0% > Found an extent we don't have a block group for in the file 12283412910080 > ref to path failed > Couldn't find any paths for this inode > Deleting [26761, 108, 34557952] root 15645018243072 path top 15645018243072 top slot 40 leaf 15645020192768 slot 3 > > searching 164624 for bad extents > processed 655360 of 109084672 possible bytes, 0% > Found an extent we don't have a block group for in the file 12283452309504 > ref to path failed > Couldn't find any paths for this inode > Deleting [26761, 108, 43954176] root 15645019504640 path top 15645019504640 top slot 40 leaf 15645020028928 slot 3 > Segmentation fault > > re-running it thankfully crashed in the same place > processed 655360 of 109084672 possible bytes, 0% > Found an extent we don't have a block group for in the file 12283452309504 > ref to path failed > Couldn't find any paths for this inode > Deleting [26761, 108, 43954176] root 15645019586560 path top 15645019586560 top slot 40 leaf 15645019602944 slot 3 > Ok I think I fixed that, but I also updated the loop to bulk delete as many bad items in a leaf at a time, hopefully this will make it go much faster. Expect more fireworks with the new code. Thanks, Josef