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 X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A91A3C4363D for ; Fri, 2 Oct 2020 12:15:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5EEDB206FA for ; Fri, 2 Oct 2020 12:15:42 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="Qw9UL72C" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387717AbgJBMPm (ORCPT ); Fri, 2 Oct 2020 08:15:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726017AbgJBMPl (ORCPT ); Fri, 2 Oct 2020 08:15:41 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B2536C0613D0 for ; Fri, 2 Oct 2020 05:15:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=CR8e49YKlesaisZe6dO4zC/e//OYRkzLpTss7IU3TsI=; b=Qw9UL72CLtISVIGDEJxF9J8l4p xslqqtb6guKmZgswi3N+QGQOCDrYX8vgqrIBoD4o4etOxrwDi5wCUsqBbSygr/n6FupAdhypj8eXw kydD5BxjXf0ATPV7oMc7I9G5Or2SY4+q3lRva3HVsElC1iGbgOqTBS+wxoLOa696UT8iOCY8/4bej hK57RM+hvKD6l2R/mEntNjj+judgSP3bI1/Fqicog77y9mgT5c5Jb6vnSKdJKxaLoT5Os2g4GGEbV PAROse3RwPstb2M61Q0XAbNBUFVquxKjHBIQrjHvrvzeCSxpfnCFEVkwiYmPsj3N/xvCW8gRAOoZI QmIr4C7g==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kOJyH-0002vz-Bq; Fri, 02 Oct 2020 12:15:33 +0000 Date: Fri, 2 Oct 2020 13:15:33 +0100 From: Christoph Hellwig To: "Theodore Y. Ts'o" Cc: Lukas Czerner , linux-ext4@vger.kernel.org Subject: Re: State of dump utility Message-ID: <20201002121533.GA10559@infradead.org> References: <20200929143713.ttu2vvhq22ulslwf@work> <20200930020646.GD23474@mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200930020646.GD23474@mit.edu> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Tue, Sep 29, 2020 at 10:06:46PM -0400, Theodore Y. Ts'o wrote: > One of the interesting questions is how reliable the dump utility > really is; that's because it works by reading the metadata directly > --- while the file system is mounted. So it's quite possible for the > metadata to be changing out from under the dump/restore process. > Especially with metadata checksums, I suspect dump/restore is going > much more unreliable in terms of the libext2fs returning checksum > failures. Before using a tool like dumpe2fs you'll need to do a fsfreeze, and then everything should be fine. Best would be to patch the tool to issue the freeze/unfreeze ioctls itself.