BTRFS corrupted by combination of mistreatment of hiberantion and accidental power loss.

2014-01-29 Thread Adam Ryczkowski
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

Re: BTRFS corrupted by combination of mistreatment of hiberantion and accidental power loss.

2014-01-29 Thread Roman Mamedov
On Wed, 29 Jan 2014 15:50:29 +0100 Adam Ryczkowski adam.ryczkow...@statystyka.net wrote: I have two independent Linux installations my notebook, both sharing the same btrfs partition as root file system !!! 1) I accidentally ran the other system, which wasn't hibernated ! Ubuntu

Re: BTRFS corrupted by combination of mistreatment of hiberantion and accidental power loss.

2014-01-29 Thread cwillu
You'd have been better off to just throw away the hiberated image: mounting the filesystem would look like any other recovery from a crash, and would have replayed the log and committed a new transaction, in addition to whatever other disk writes happened due to boot logs and so forth. In this

Re: BTRFS corrupted by combination of mistreatment of hiberantion and accidental power loss.

2014-01-29 Thread Duncan
cwillu posted on Wed, 29 Jan 2014 09:13:44 -0600 as excerpted: That said, have you tried mounting with -o recovery yet? I wouldn't be surprised if btrfs-restore was also able to retrieve most of everything. Either way, I'd be suspicious of the filesystem, and would look to restore from