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 D3228C433FE for ; Tue, 5 Apr 2022 21:15:25 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350005AbiDEVOV (ORCPT ); Tue, 5 Apr 2022 17:14:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53460 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1457667AbiDEQb2 (ORCPT ); Tue, 5 Apr 2022 12:31:28 -0400 X-Greylist: delayed 414 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 05 Apr 2022 09:29:29 PDT Received: from rin.romanrm.net (rin.romanrm.net [IPv6:2001:bc8:2dd2:1000::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11772BF006 for ; Tue, 5 Apr 2022 09:29:28 -0700 (PDT) Received: from nvm (nvm2.home.romanrm.net [IPv6:fd39::4a:3cff:fe57:d6b5]) by rin.romanrm.net (Postfix) with SMTP id 9062175F; Tue, 5 Apr 2022 16:22:31 +0000 (UTC) Date: Tue, 5 Apr 2022 21:22:30 +0500 From: Roman Mamedov To: Marc MERLIN Cc: Josef Bacik , "linux-btrfs@vger.kernel.org" Subject: Re: Rebuilding 24TB Raid5 array (was btrfs corruption: parent transid verify failed + open_ctree failed) Message-ID: <20220405212230.28db3079@nvm> In-Reply-To: <20220405014259.GG5566@merlins.org> References: <20220405001325.GB5566@merlins.org> <20220405001808.GC5566@merlins.org> <20220405002826.GD5566@merlins.org> <20220405005809.GE5566@merlins.org> <20220405011559.GF5566@merlins.org> <20220405014259.GG5566@merlins.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-btrfs@vger.kernel.org On Mon, 4 Apr 2022 18:42:59 -0700 Marc MERLIN wrote: > And shit, I got distracted and sent the text output to > /dev/mapper/dshelf1a, so I clobbered about 30K of the device. > I'm assuming there was probably something there? > > Script started on Mon 04 Apr 2022 18:36:51 PDT > 1;37mgargamel:/var/local/src/btrfs-progs-josefbacik#m ./btrfs-inspect-internal dump-tree -b 13577821667328 &>/dev/mapper/dshelf1a > btrfs inspect-internal dump-tree: not enough arguments: 0 but at least 1 expected It doesn't appear like it would write 30K to the device, it failed right away since you didn't *specify* the device; the above output was to STDERR, and there would be no writes to STDOUT (i.e. the device). Did you check the content of /dev/mapper/dshelf1a (with less -f, for example)? I know Josef said this is no prolem, but anyways. :) -- With respect, Roman