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 213DCC433F5 for ; Mon, 2 May 2022 23:44:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229547AbiEBXq3 (ORCPT ); Mon, 2 May 2022 19:46:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58850 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232386AbiEBXp3 (ORCPT ); Mon, 2 May 2022 19:45:29 -0400 Received: from mail1.merlins.org (magic.merlins.org [209.81.13.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B87833895 for ; Mon, 2 May 2022 16:41:42 -0700 (PDT) Received: from merlin by mail1.merlins.org with local (Exim 4.94.2 #2) id 1nlffb-0000dq-Ay by authid ; Mon, 02 May 2022 16:41:35 -0700 Date: Mon, 2 May 2022 16:41:35 -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: <20220502234135.GC29107@merlins.org> References: <20220501152231.GM12542@merlins.org> <20220502012528.GA29107@merlins.org> <20220502173459.GP12542@merlins.org> <20220502200848.GR12542@merlins.org> <20220502214916.GB29107@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/ User-Agent: Mutt/1.10.1 (2018-07-13) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: marc@merlins.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Mon, May 02, 2022 at 04:16:14PM -0700, Josef Bacik wrote: > On Mon, May 2, 2022 at 2:49 PM Marc MERLIN wrote: > > > > On Mon, May 02, 2022 at 05:03:40PM -0400, Josef Bacik wrote: > > > Ok I've fixed it to yell about what file has this weird extent so you > > > can delete it and we can carry on. Thanks, > > > > That worked. How do I delete this one? > > > > doing roots > > Recording extents for root 4 > > processed 1032192 of 1064960 possible bytes > > Recording extents for root 5 > > processed 10960896 of 10977280 possible bytes > > Recording extents for root 7 > > processed 16384 of 16545742848 possible bytes > > Recording extents for root 9 > > processed 16384 of 16384 possible bytes > > Recording extents for root 11221 > > processed 16384 of 255983616 possible bytes > > Recording extents for root 11222 > > processed 49479680 of 49479680 possible bytes > > Recording extents for root 11223 > > processed 1619902464 of 1635549184 possible bytesWe're tyring to add a data extent that we don't have a block group for, delete 1819130,108,0 on root 11223 > > btrfs-corrupt-block -d "1819130,108,0" -r 11223 Whoops, it was right there in the text, sorry gargamel:/var/local/src/btrfs-progs-josefbacik# ./btrfs-corrupt-block -d "1819130,108,0" -r 11223 /dev/mapper/dshelf1 FS_INFO IS 0x564360382600 JOSEF: root 9 Couldn't find the last root for 8 FS_INFO AFTER IS 0x564360382600 Didn't help? doing roots Recording extents for root 4 processed 1032192 of 1064960 possible bytes Recording extents for root 5 processed 10960896 of 10977280 possible bytes Recording extents for root 7 processed 16384 of 16545742848 possible bytes Recording extents for root 9 processed 16384 of 16384 possible bytes Recording extents for root 11221 processed 16384 of 255983616 possible bytes Recording extents for root 11222 processed 49479680 of 49479680 possible bytes Recording extents for root 11223 processed 1619902464 of 1635549184 possible bytesWe're tyring to add a data extent that we don't have a block group for, delete 1819131,108,0 on root 11223 inode ref info failed??? elem_cnt 1 elem_missed 0 ret 0 Xilinx_Unified_2020.1_0602_1208/payload/rdi_0026_2020.1_0602_1208.xz cmds/rescue-init-extent-tree.c:654: process_eb: BUG_ON `1` triggered, value 1 -- "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/