From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com ([209.132.183.28]:54921 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755444Ab3H3Ooq (ORCPT ); Fri, 30 Aug 2013 10:44:46 -0400 Message-ID: <5220AFCC.5080701@redhat.com> Date: Fri, 30 Aug 2013 09:44:28 -0500 From: Eric Sandeen MIME-Version: 1.0 To: Chris Murphy CC: Hugo Mills , Zach Brown , Nick Lee , linux-btrfs Subject: Re: Question: How can I recover this partition? (unable to find logical $hugenum len 4096) References: <6A12FF1B-5E1A-4F6F-92DA-41E52152E6F2@nickle.es> <20130826193110.GO3115@carfax.org.uk> <20130829173519.GN26818@lenny.home.zabbo.net> <528DF163-08F5-412D-8351-ACC853AC418D@colorremedies.com> <20130829194049.GR3115@carfax.org.uk> <0E1979CF-25EC-47B2-B74E-9870F3D9C626@colorremedies.com> <20130829195322.GS3115@carfax.org.uk> <2D27D640-86E0-4E49-8874-81249DF9919A@colorremedies.com> In-Reply-To: <2D27D640-86E0-4E49-8874-81249DF9919A@colorremedies.com> Content-Type: text/plain; charset=windows-1252 Sender: linux-btrfs-owner@vger.kernel.org List-ID: On 8/29/13 3:19 PM, Chris Murphy wrote: > > On Aug 29, 2013, at 1:53 PM, Hugo Mills wrote: > >> On Thu, Aug 29, 2013 at 01:44:54PM -0600, Chris Murphy wrote: >>> >>> Certainly, if known for sure it won't be more than 30 seconds? >> >> Mmm... it'll depend on the setting of the commit period, which up >> until a couple of weeks ago was always 30s, but someone posted a patch >> to give it a config knob… > > > > "Proceeding will roll back the file system to a previous state, and > may cause the loss of successfully written data since the last commit > period (30 seconds by default). Proceed? (Y/N)" Is it just loss of data, or might this also result in a filesystem with inconsistent metadata, which then requires a fsck? Above sounds like it's "just" reverting to a previous (consistent) state. Is that correct? -Eric p.s. fwiw when the xfs_repair zero-log option "-L" is used, we say: "ALERT: The filesystem has valuable metadata changes in a log which is being\n" "destroyed because the -L option was used.\n"));