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 1E278C433FE for ; Tue, 5 Apr 2022 21:15:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236716AbiDEVLs (ORCPT ); Tue, 5 Apr 2022 17:11:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48616 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573184AbiDESNL (ORCPT ); Tue, 5 Apr 2022 14:13:11 -0400 Received: from mail1.merlins.org (magic.merlins.org [209.81.13.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BD1547DA9E for ; Tue, 5 Apr 2022 11:11:10 -0700 (PDT) Received: from merlin by mail1.merlins.org with local (Exim 4.94.2 #2) id 1nbne0-0002DD-NY by authid ; Tue, 05 Apr 2022 11:11:08 -0700 Date: Tue, 5 Apr 2022 11:11:08 -0700 From: Marc MERLIN To: Josef Bacik Cc: "linux-btrfs@vger.kernel.org" Subject: Re: Rebuilding 24TB Raid5 array (was btrfs corruption: parent transid verify failed + open_ctree failed) Message-ID: <20220405181108.GA28707@merlins.org> References: <20220405011559.GF5566@merlins.org> <20220405014259.GG5566@merlins.org> <20220405020729.GH5566@merlins.org> <20220405155311.GJ5566@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 Tue, Apr 05, 2022 at 01:41:10PM -0400, Josef Bacik wrote: > Ok I think I'm going to do a humpty-dumpty thing where I scan for the > best possible copies of blocks and stitch them into the tree root. > I've wired something up to find out how many bad slots we're working > with so I've got an idea of how careful I need to be, can you pull > your branch again, rebuild, and run > > ./btrfs-find-root -o 1 /dev/whatever > > and send me the output? I'm working on the tool right now, hoping it > takes me a couple of hours at most (mostly because I have meetings > sporadically throughout today). Thanks, Cool. there you go gargamel:/var/local/src/btrfs-progs-josefbacik# ./btrfs-find-root -o 1 /dev/mapper/dshelf1a Couldn't read chunk tree WTF??? ERROR: open ctree failed Marc -- "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/