From owner-freebsd-stable@FreeBSD.ORG Wed Jul 2 15:35:49 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 99E3BD33 for ; Wed, 2 Jul 2014 15:35:49 +0000 (UTC) Received: from mail-ie0-x22b.google.com (mail-ie0-x22b.google.com [IPv6:2607:f8b0:4001:c03::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6A06F22AB for ; Wed, 2 Jul 2014 15:35:49 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id x19so9532302ier.2 for ; Wed, 02 Jul 2014 08:35:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=L3sc/vcOvLP8f5Ji1Q+rzsq3l0FuO9oXhw37N5IfwA4=; b=dWCG8KwIecHkwMul1X1UjTpJ5QOG+BEPfup4pnD2/xJHvlBPbKtsNWLkvSus1nx4XL ix8OKqv97XWB4LpzchiV/wAk6bpmxZvoa8XkfounZLpCNURuPpk0aayTRQniOkeFJ24M sZ6oW3V5G2Ne8Atq6wEfe/NNENjCqoiScFbpxXwTxD7JS3K0RLdcjLSYXs7g7stIq4C0 mINssCvxxJ4YO4bsi9Y8rRtCiuxAaEGbF/EtvqRKGfkHoOjUPe/D9fTECSX90K8RchJI KaOUa5dr+5kivxOPvedRaqIV9gcnMbbhS+xtmPMfTQGQoUbTqtZyecjRiX4o29VMPOFH a/GA== MIME-Version: 1.0 X-Received: by 10.50.115.73 with SMTP id jm9mr5592650igb.10.1404315348833; Wed, 02 Jul 2014 08:35:48 -0700 (PDT) Received: by 10.64.72.230 with HTTP; Wed, 2 Jul 2014 08:35:48 -0700 (PDT) In-Reply-To: References: Date: Wed, 2 Jul 2014 11:35:48 -0400 Message-ID: Subject: Re: Dump an Unmounted Journaled UFS Filesystem From: Dan Plassche To: Warren Block Content-Type: text/plain; charset=UTF-8 Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2014 15:35:49 -0000 Thanks Alex and Warren. Omitting the "-L" flag makes sense to avoid any possible conflicts. Also, I am not normally taking a snapshot because there's no need to worry about data changing with the filesystem unmounted. > https://forums.freebsd.org/viewtopic.php?&t=41503 The concern is that "jstarcher" in that thread mentions errors upon a restore after dumping a journaled filesystem by omitting the "-L" option. I think the usage was different insofar as the dump occurred on a mounted system where the data could have changed. I'm curious if I would run into issues in restoring from a dump taken on an unmounted journaled filesystem. Perhaps a more accurate question would be whether dump understands the journaling implementation within the filesystem? Or maybe all data is written to a disk before a journaled filesystem is unmounted and dump does not need to understand the setup? This is frankly a corner case for me, since all my other machines have soft updates and journaling turned off. I'm trying to understand journaling more to work with the new filesystem defaults in the future. Thanks again, Dan