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 7CF37C433EF for ; Sun, 12 Jun 2022 17:06:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230259AbiFLRGM (ORCPT ); Sun, 12 Jun 2022 13:06:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37860 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229864AbiFLRGL (ORCPT ); Sun, 12 Jun 2022 13:06:11 -0400 Received: from mail1.merlins.org (magic.merlins.org [209.81.13.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BF953FBF6 for ; Sun, 12 Jun 2022 10:06:09 -0700 (PDT) Received: from [172.58.16.183] (port=43504 helo=sauron.svh.merlins.org) by mail1.merlins.org with esmtpsa (Cipher TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94.2 #2) id 1o0QK0-0004bp-7K by authid with srv_auth_plain; Sun, 12 Jun 2022 10:06:07 -0700 Received: from merlin by sauron.svh.merlins.org with local (Exim 4.92) (envelope-from ) id 1o0R2L-00ASn1-MK; Sun, 12 Jun 2022 10:06:05 -0700 Date: Sun, 12 Jun 2022 10:06:05 -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: <20220612170605.GI1664812@merlins.org> References: <20220608213845.GH22722@merlins.org> <20220609030128.GJ22722@merlins.org> <20220609211511.GW1745079@merlins.org> <20220610191156.GB1664812@merlins.org> <20220611001404.GM22722@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/ X-SA-Exim-Connect-IP: 172.58.16.183 X-SA-Exim-Mail-From: marc@merlins.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Sat, Jun 11, 2022 at 10:59:15AM -0400, Josef Bacik wrote: > > gargamel:/var/local/src/btrfs-progs-josefbacik# ./btrfs rescue recover-chunks /dev/mapper/dshelf1 > > FS_INFO IS 0x559bd17b9bc0 > > Couldn't find the last root for 8 > > FS_INFO AFTER IS 0x559bd17b9bc0 > > Walking all our trees and pinning down the currently accessible blocks > > Found missing chunk in super block 20971520-29360128 type 34 > > adding bg for 20971520 8388608 > > kernel-shared/extent-tree.c:2829: btrfs_add_block_group: BUG_ON `ret` triggered, value -17 > > ./btrfs(+0x29f27)[0x559bd01a8f27] > > ./btrfs(btrfs_add_block_group+0x1e0)[0x559bd01ad700] > > ./btrfs(btrfs_find_recover_chunks+0x4fe)[0x559bd020fc44] > > ./btrfs(+0x848ce)[0x559bd02038ce] > > ./btrfs(handle_command_group+0x49)[0x559bd019717b] > > ./btrfs(main+0x94)[0x559bd0197275] > > /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xcd)[0x7fe20f24a7fd] > > ./btrfs(_start+0x2a)[0x559bd0196e1a] > > Aborted > > Oops, sorry about that, fixed it up. My wife is travelling this week > so I'm going to be a little slower than normal, but hopefully we're > getting close to the end here. Thanks, No worries. Same? gargamel:/var/local/src/btrfs-progs-josefbacik# git log | head -5 commit affc3bcd741ca350bbf340e757698281b149c9f3 Author: Josef Bacik Date: Sat Jun 11 10:58:21 2022 -0400 deal with existing block groups gargamel:/var/local/src/btrfs-progs-josefbacik# ./btrfs rescue recover-chunks /dev/mapper/dshelf1 FS_INFO IS 0x561aa58a4bc0 Couldn't find the last root for 8 FS_INFO AFTER IS 0x561aa58a4bc0 Walking all our trees and pinning down the currently accessible blocks Found missing chunk in super block 20971520-29360128 type 34 adding bg for 20971520 8388608 kernel-shared/extent-tree.c:2829: btrfs_add_block_group: BUG_ON `ret` triggered, value -17 ./btrfs(+0x29f27)[0x561aa569ef27] ./btrfs(btrfs_add_block_group+0x1e0)[0x561aa56a3700] ./btrfs(btrfs_find_recover_chunks+0x4fe)[0x561aa5705c44] ./btrfs(+0x848ce)[0x561aa56f98ce] ./btrfs(handle_command_group+0x49)[0x561aa568d17b] ./btrfs(main+0x94)[0x561aa568d275] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xcd)[0x7f282855a7fd] ./btrfs(_start+0x2a)[0x561aa568ce1a] Aborted gargamel:/var/local/src/btrfs-progs-josefbacik# -- "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/ | PGP 7F55D5F27AAF9D08