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 38C31C433EF for ; Mon, 16 May 2022 15:17:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237096AbiEPPQ7 (ORCPT ); Mon, 16 May 2022 11:16:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237458AbiEPPQz (ORCPT ); Mon, 16 May 2022 11:16:55 -0400 Received: from mail1.merlins.org (magic.merlins.org [209.81.13.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AB6F5E2B for ; Mon, 16 May 2022 08:16:54 -0700 (PDT) Received: from c-24-5-124-255.hsd1.ca.comcast.net ([24.5.124.255]:50642 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 1nqcSr-0003te-P2 by authid with srv_auth_plain; Mon, 16 May 2022 08:16:53 -0700 Received: from merlin by sauron.svh.merlins.org with local (Exim 4.92) (envelope-from ) id 1nqcSr-003cDv-IO; Mon, 16 May 2022 08:16:53 -0700 Date: Mon, 16 May 2022 08:16:53 -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: <20220516151653.GF13006@merlins.org> References: <20220515153347.GA8056@merlins.org> <20220515154122.GB8056@merlins.org> <20220515212951.GC13006@merlins.org> <20220515230147.GD13006@merlins.org> <20220516005759.GE13006@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: 24.5.124.255 X-SA-Exim-Mail-From: marc@merlins.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Mon, May 16, 2022 at 10:50:42AM -0400, Josef Bacik wrote: > > > btrfs-corrupt-block -d "1,204,941709328384" -r 3 > > > > > > and then you should be good, unless there are other dangling dev > > > extents that need to be removed. Thanks, > > > > Is that bad? > > Yeah, means I don't understand my own filesystem, use -r 4 instead > please. Thanks, gargamel:/var/local/src/btrfs-progs-josefbacik# ./btrfs-corrupt-block -d "1,204,941709328384" -r4 /dev/mapper/dshelf1 FS_INFO IS 0x55e58be9e600 JOSEF: root 9 Couldn't find the last root for 8 FS_INFO AFTER IS 0x55e58be9e600 gargamel:/var/local/src/btrfs-progs-josefbacik# ./btrfs-corrupt-block -d "1,204,941709328384" -r 4 /dev/mapper/dshelf1 FS_INFO IS 0x55e239055600 JOSEF: root 9 Couldn't find the last root for 8 FS_INFO AFTER IS 0x55e239055600 Error searching to node -2 Means it worked? -- "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