On Tue, Aug 09, 2011 at 08:29:06AM -0400, Adam Newby wrote:
> I have to say this solution saved me. I've lost a BTRFS partition
> before and this tool was not available at that time. Is this going
> to be making it into a kernel pull anytime soon? The only reason I
> mention it is because pretty much everyone I know has soured on
> BTRFS due to losing a partition at some point or another due to
> frivolous error. This seems like a fine addition to the filesystem.

   My understanding is that the btrfs-zero-log tool is something of a
blunt object, and shouldn't be applied automatically, so I think it's
unlikely to go into the kernel in its current form.

   From what Chris implied on IRC a few days ago, if we encounter
corrupt items in the log, we should drop only those items (and their
dependents?), not the entire log tree. I'd guess that as people work
on reducing the number of BUG_ONs in the code and passing the errors
back up the stack, this will become easier to do.

   Until then, we do have btrfs-zero-log. (And the new recovery tool
coming shortly, too).

   Hugo.

> -----Original Message-----
> From: C Anthony Risinger [mailto:anth...@xtfx.me] 
> Sent: Monday, August 08, 2011 11:54 PM
> To: Hugo Mills; Adam Newby; linux-btrfs@vger.kernel.org
> Subject: Re: BTRFS partition won't mount
> 
> On Wed, Aug 3, 2011 at 3:50 PM, Hugo Mills <h...@carfax.org.uk> wrote:
> >
> >   Try the instructions on the wiki at [1]. (And please feed back 
> > and/or fix any issues you have with the instructions -- they're still 
> > quite new and probably have awkward corners).
> >
> > [1] 
> > https://btrfs.wiki.kernel.org/index.php/Problem_FAQ#I_can.27t_mount_my
> > _filesystem.2C_and_I_get_a_kernel_oops.21
> 
> this worked perfectly for me ... just saved my night from tedious restoration 
> :-)
> 
> im on kernel 3.0.1 -- hard poweroff led to that problem.  i haven't had any 
> issues for some time ... im not sure what the problem was exactly, but 
> sometimes systemd gets a little twacky and takes a year to shutdown ... guess 
> i got a little impatient :-)
> 
> anyways, thanks for the integration work!
> 

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
         --- 2 + 2 = 5,  for sufficiently large values of 2. ---         

Attachment: signature.asc
Description: Digital signature

Reply via email to