From owner-freebsd-stable@FreeBSD.ORG Wed Jul 2 23:26:20 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 95C4AFF0 for ; Wed, 2 Jul 2014 23:26:20 +0000 (UTC) Received: from alogt.com (alogt.com [69.36.191.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6C7302E36 for ; Wed, 2 Jul 2014 23:26:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=ey1m9frPyyRAXEV82KzkrUK8ZsDXFEsWaZ5mRonvNgU=; b=of8PUYMHK8vBICwtab7bNnKSnDfJv0xI04vLhxXZQWNcAgKBCtY6NIYxe2caj2GxfIoXfNTDcmb4tvzSPfF62dohovXWql2XgqSb6UR+CBHMmSKdDSRGy8s1w/SyxCW8t6uZIjwTP3Sg83Z5aDPH6+lpM4DE8xpoAIGOpeRPOpk=; Received: from [114.124.29.149] (port=1565 helo=X220.alogt.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.82) (envelope-from ) id 1X2Tup-000Mck-5w; Wed, 02 Jul 2014 17:26:15 -0600 Date: Thu, 3 Jul 2014 07:25:44 +0800 From: Erich Dollansky To: Alexander Moisseev Subject: Re: Dump an Unmounted Journaled UFS Filesystem Message-ID: <20140703072544.05fd3a13@X220.alogt.com> In-Reply-To: <53B403DF.4080006@mezonplus.ru> References: <20140702114213.1396bb21@X220.alogt.com> <53B3A1BB.8070009@mezonplus.ru> <20140702175834.3a8c7fa3@X220.alogt.com> <53B403DF.4080006@mezonplus.ru> Organization: ALO Green Technologies X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.22; amd64-portbld-freebsd10.0) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erich@alogt.com X-Source: X-Source-Args: X-Source-Dir: 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 23:26:20 -0000 Hi, On Wed, 02 Jul 2014 17:06:39 +0400 Alexander Moisseev wrote: > 02.07.2014 13:58, Erich Dollansky =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > > Hi, > > > > On Wed, 02 Jul 2014 10:07:55 +0400 > > Alexander Moisseev wrote: > > > >> 02.07.2014 7:42, Erich Dollansky =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >>> what should be wrong by first running a fsck and then the dump? > >>> > >> > >> Erich, what potential problems you expect if the fsck hasn't been > >> ran before the dump? > >> > > I do not know what will be the result if you run a fsck on the > > restored file system when it was damaged. > > > I am sorry, Erich, but I didn't get the point about fsck in given > context. OP asked about _unmounted_ journaled filesystem. You can't > run fsck write enabled on live file system.But I see no difference > between SU and SU+J, if file system is umounted. >=20 there is no difference if the file system was properly unmounted. If something went wrong fsck will make a difference. It is there just to be on the save side. Erich