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 0BE98C433F5 for ; Mon, 30 May 2022 00:37:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231969AbiE3AhH (ORCPT ); Sun, 29 May 2022 20:37:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230192AbiE3AhG (ORCPT ); Sun, 29 May 2022 20:37:06 -0400 Received: from mail1.merlins.org (magic.merlins.org [209.81.13.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 53AA612A9A for ; Sun, 29 May 2022 17:37:03 -0700 (PDT) Received: from [76.132.34.178] (port=59062 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 1nvSgg-0002aX-OG by authid with srv_auth_plain; Sun, 29 May 2022 17:37:01 -0700 Received: from merlin by sauron.svh.merlins.org with local (Exim 4.92) (envelope-from ) id 1nvTP3-0051xc-NF; Sun, 29 May 2022 17:37:01 -0700 Date: Sun, 29 May 2022 17:37:01 -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: <20220530003701.GJ24951@merlins.org> References: <20220529035139.GE24951@merlins.org> <20220529153312.GF24951@merlins.org> <20220529180510.GG24951@merlins.org> <20220529194235.GH24951@merlins.org> <20220529200415.GI24951@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-Broken-Reverse-DNS: no host name for IP address 76.132.34.178 X-SA-Exim-Connect-IP: 76.132.34.178 X-SA-Exim-Mail-From: marc@merlins.org Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Sun, May 29, 2022 at 04:32:19PM -0400, Josef Bacik wrote: > On Sun, May 29, 2022 at 4:04 PM Marc MERLIN wrote: > > > > On Sun, May 29, 2022 at 03:49:26PM -0400, Josef Bacik wrote: > > > > gargamel:/var/local/src/btrfs-progs-josefbacik# ./btrfs rescue tree-recover /dev/mapper/dshelf1 > > > > WARNING: cannot read chunk root, continue anyway > > > > none of our backups was sufficient, scanning for a root > > > > ERROR: Couldn't find a valid root block for 3, we're going to clear it and hope for the best > > > > Tree recover failed > > > > > > Lord alright, lets try some debugging. Thanks, > > > > gargamel:/var/local/src/btrfs-progs-josefbacik# ./btrfs rescue tree-recover /dev/mapper/dshelf1 > > WARNING: cannot read chunk root, continue anyway > > none of our backups was sufficient, scanning for a root > > scanning, best has 0 found 1 bad > > ERROR: Couldn't find a valid root block for 3, we're going to clear it and hope for the best > > Tree recover failed > > gargamel:/var/local/src/btrfs-progs-josefbacik# > > Hmm, the sys array should be fine, try again, hopefully that'll clear > things up. Thanks, It went farther this time gargamel:/var/local/src/btrfs-progs-josefbacik# ./btrfs rescue tree-recover /dev/mapper/dshelf1 WARNING: cannot read chunk root, continue anyway none of our backups was sufficient, scanning for a root scanning, best has 0 found 1 bad ret is 0 offset 20971520 len 8388608 ret is -2 offset 20971520 len 8388608 checking block 22495232 generation 1572124 fs info generation 0 checking block 22462464 generation 1479229 fs info generation 0 checking block 22528000 generation 1572115 fs info generation 0 checking block 22446080 generation 1571791 fs info generation 0 checking block 22544384 generation 1556078 fs info generation 0 checking block 22511616 generation 1555799 fs info generation 0 checking block 22577152 generation 1586277 fs info generation 0 checking block 22478848 generation 1561557 fs info generation 0 checking block 22593536 generation 1590219 fs info generation 0 checking block 22609920 generation 1551635 fs info generation 0 checking block 22560768 generation 1590217 fs info generation 0 ERROR: Couldn't find a valid root block for 3, we're going to clear it and hope for the best Tree recover 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/ | PGP 7F55D5F27AAF9D08