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 731E3C43334 for ; Mon, 6 Jun 2022 22:18:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233982AbiFFWR6 (ORCPT ); Mon, 6 Jun 2022 18:17:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233987AbiFFWR4 (ORCPT ); Mon, 6 Jun 2022 18:17:56 -0400 Received: from mail1.merlins.org (magic.merlins.org [209.81.13.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BC80C6CAA2 for ; Mon, 6 Jun 2022 15:17:55 -0700 (PDT) Received: from merlin by mail1.merlins.org with local (Exim 4.94.2 #2) id 1nyL2p-0002E4-69 by authid ; Mon, 06 Jun 2022 15:17:55 -0700 Date: Mon, 6 Jun 2022 15:17:55 -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: <20220606221755.GO22722@merlins.org> References: <20220606000548.GF22722@merlins.org> <20220606012204.GP1745079@merlins.org> <20220606210855.GL22722@merlins.org> <20220606212301.GM22722@merlins.org> <20220606215013.GN22722@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, Jun 06, 2022 at 06:00:10PM -0400, Josef Bacik wrote: > > Found an extent we don't have a block group for in the file > > file > > push node left from right mid nritems 48 right nritems 0 parent 15645019684864 parent nritems 7 > > parent nritems is now 6 > > corrupt node: root=164624 root bytenr 15645019684864 commit bytenr 15645019602944 block=15645019717632 physical=18446744073709551615 slot=38, bad key order, current (7819 1 0) next (7819 1 0) > > kernel-shared/ctree.c:1042: balance_level: BUG_ON `check_path(path)` triggered, value -5 > > Hmm ok this may just be a new thing I have to check for in > tree-recover. Give this a shot please, thanks, searching 164623 for bad extents processed 311296 of 63193088 possible bytes, 0% searching 164624 for bad extents Found an extent we don't have a block group for in the file file kernel-shared/ctree.c:1718: push_node_left: BUG_ON `check_sibling_keys(dst, src)` triggered, value 1 ./btrfs(+0x1cf51)[0x5597970f2f51] ./btrfs(+0x1ef96)[0x5597970f4f96] ./btrfs(btrfs_search_slot+0xee4)[0x5597970f8881] ./btrfs(+0x8cdb6)[0x559797162db6] ./btrfs(+0x8cae5)[0x559797162ae5] ./btrfs(+0x8cae5)[0x559797162ae5] ./btrfs(+0x8d0d4)[0x5597971630d4] ./btrfs(+0x8c8df)[0x5597971628df] ./btrfs(btrfs_init_extent_tree+0xc83)[0x55979716466c] ./btrfs(+0x8467e)[0x55979715a67e] ./btrfs(handle_command_group+0x49)[0x5597970ee17b] ./btrfs(main+0x94)[0x5597970ee275] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xcd)[0x7f6b6f4567fd] ./btrfs(_start+0x2a)[0x5597970ede1a] Aborted -- "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/