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 E9F10C4332F for ; Tue, 5 Apr 2022 21:15:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350308AbiDEVOY (ORCPT ); Tue, 5 Apr 2022 17:14:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1573655AbiDETdy (ORCPT ); Tue, 5 Apr 2022 15:33:54 -0400 Received: from mail1.merlins.org (magic.merlins.org [209.81.13.136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E5EB245BD for ; Tue, 5 Apr 2022 12:31:55 -0700 (PDT) Received: from merlin by mail1.merlins.org with local (Exim 4.94.2 #2) id 1nbou9-0001nV-M1 by authid ; Tue, 05 Apr 2022 12:31:53 -0700 Date: Tue, 5 Apr 2022 12:31:53 -0700 From: Marc MERLIN To: Zygo Blaxell , 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: <20220405193153.GB28707@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 02:38:59PM -0400, Zygo Blaxell wrote: > First superblock is at 64K, and the first 1M of every device is unused. > A 30K write at the beginning will overwrite nothing important to btrfs. I figured something like that was the case, thanks for confirming. On Tue, Apr 05, 2022 at 02:36:29PM -0400, Josef Bacik wrote: > > 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 > > That's new, the chunk tree wasn't failing before right? Anyway I > pushed a change, it should work now, thanks, works better now gargamel:/var/local/src/btrfs-progs-josefbacik# ./btrfs-find-root -o 1 /dev/mapper/dshelf1a parent transid verify failed on 22216704 wanted 1600938 found 1602177 parent transid verify failed on 22216704 wanted 1600938 found 1602177 parent transid verify failed on 22216704 wanted 1600938 found 1602177 Ignoring transid failure FS_INFO IS 0x55d38ce312a0 parent transid verify failed on 13577821667328 wanted 1602089 found 1602242 parent transid verify failed on 13577821667328 wanted 1602089 found 1602242 parent transid verify failed on 13577821667328 wanted 1602089 found 1602242 Ignoring transid failure parent transid verify failed on 13577821667328 wanted 1602089 found 1602242 Ignoring transid failure parent transid verify failed on 13577821667328 wanted 1602089 found 1602242 Ignoring transid failure parent transid verify failed on 13577821667328 wanted 1602089 found 1602242 Ignoring transid failure Couldn't find the last root for 4 Couldn't setup device tree FS_INFO AFTER IS 0x55d38ce312a0 Superblock thinks the generation is 1602089 Superblock thinks the level is 1 Ignoring transid failure Ignoring transid failure (...) many similar lines, now it's running for a while, I'll update when it's done. Thanks, 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/