All of lore.kernel.org
 help / color / mirror / Atom feed
From: Adam Ryczkowski <adam.ryczkowski@statystyka.net>
To: linux-btrfs@vger.kernel.org
Subject: BTRFS corrupted by combination of mistreatment of hiberantion and accidental power loss.
Date: Wed, 29 Jan 2014 15:50:29 +0100	[thread overview]
Message-ID: <52E91535.8090306@statystyka.net> (raw)

I have two independent Linux installations my notebook, both sharing the 
same btrfs partition as root file system, but installed on different 
subvolumes.

I hibernated one Linux (Mint 15 64 bit). Hibernation data is stored on 
the swap file, which is used exclusively by this system.

Then 2 events happened.

1) I accidentally ran the other system, which wasn't hibernated - Ubuntu 
12.10. Realizing the problem, I waited until the system booted up, and 
then shutdowned it.

Then I opened the hibernated Mint 15. Restoration went successful, and I 
never thought I am in trouble.

2) Immediately after that, by coincidence, the battery fell down, 
brutally powering down the computer.

After that, I am unable to repair/mount the root btrfs partition, 
however I try (I built the current btrfs-tools from git). Dmesg displays 
only one error entry: btrfs: open_ctree failed.

I know, that if one those two events happened separately, there would be 
no problem. The problem arose only when those two events happened 
simultaneously.

So I guess I am experiencing one of the corner cases.

What are my prospects to restoring my data? I have several subvolumes on 
the hard drive, some of them were not touched by the accident at all.

Adam Ryczkowski


             reply	other threads:[~2014-01-29 14:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-29 14:50 Adam Ryczkowski [this message]
2014-01-29 15:02 ` BTRFS corrupted by combination of mistreatment of hiberantion and accidental power loss Roman Mamedov
2014-01-29 15:13 ` cwillu
2014-01-29 17:08   ` Duncan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52E91535.8090306@statystyka.net \
    --to=adam.ryczkowski@statystyka.net \
    --cc=linux-btrfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.