All of lore.kernel.org
 help / color / mirror / Atom feed
* Filesystem "somewhat" destroyed - need help for recovery/fixing
@ 2013-06-17 21:08 Alexander Skwar
  2013-06-17 21:21 ` Josef Bacik
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Skwar @ 2013-06-17 21:08 UTC (permalink / raw)
  To: linux-btrfs

Hello

I think, I somewhat destroyed my btrfs filesystem on my Ubuntu 13.04 kernel 
3.8.0-25-lowlatency system. It got destroyed, because the system was hanging 
for some other reason and I had to remove power...

When I try to mount my filesystem (there's only one, with a few 
subfilesystems), the system crashes. Also btrfsck dies; always like this:

a@ask-home:~$ sudo /btrfs-progs.dev/bin/btrfsck /dev/ssd/Data 
parent transid verify failed on 33327525888 wanted 53973 found 53972
parent transid verify failed on 33327525888 wanted 53973 found 53972
Ignoring transid failure
Checking filesystem on /dev/ssd/Data
UUID: 7d2eb10f-aced-4d41-bb7f-7badbf075b6a
checking extents
checking fs roots
root 325 inode 31590 errors 400
extent buffer leak: start 33327525888 len 4096
*** Error in `btrfs check': corrupted double-linked list: 0x00000000007a2600 
***

a@ask-home:~$ /btrfs-progs.dev/bin/btrfs version
Btrfs v0.20-rc1-253-g7854c8b-dirty

btrfsck always dies with a corrupted double-linked list.

When the system crashes when I try to mount the filesystem, I get a kernel 
oop. Nothing in syslog, though - too fast :/ On 
http://wir.myds.me/photo/photo_thumb.php?
dir=53637265656e73686f74732f4372617368206d6f756e74206274726673 or 
http://imgur.com/a/UA7fF I tried to capute a few photos of the crash 
message. "Screenshots", of sorts...

I was able to recover most of the files with btrfs-recover. But not all of 
it correctly - at least one VirtualBox image is now broken.

Well - what do I do now? Could someone help, please?


Thanks a lot,
Alexander


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Filesystem "somewhat" destroyed - need help for recovery/fixing
  2013-06-17 21:08 Filesystem "somewhat" destroyed - need help for recovery/fixing Alexander Skwar
@ 2013-06-17 21:21 ` Josef Bacik
  2013-06-17 21:43   ` Alexander Skwar
  0 siblings, 1 reply; 6+ messages in thread
From: Josef Bacik @ 2013-06-17 21:21 UTC (permalink / raw)
  To: Alexander Skwar; +Cc: linux-btrfs

On Mon, Jun 17, 2013 at 09:08:26PM +0000, Alexander Skwar wrote:
> Hello
> 
> I think, I somewhat destroyed my btrfs filesystem on my Ubuntu 13.04 kernel 
> 3.8.0-25-lowlatency system. It got destroyed, because the system was hanging 
> for some other reason and I had to remove power...
> 
> When I try to mount my filesystem (there's only one, with a few 
> subfilesystems), the system crashes. Also btrfsck dies; always like this:
> 
> a@ask-home:~$ sudo /btrfs-progs.dev/bin/btrfsck /dev/ssd/Data 
> parent transid verify failed on 33327525888 wanted 53973 found 53972
> parent transid verify failed on 33327525888 wanted 53973 found 53972
> Ignoring transid failure
> Checking filesystem on /dev/ssd/Data
> UUID: 7d2eb10f-aced-4d41-bb7f-7badbf075b6a
> checking extents
> checking fs roots
> root 325 inode 31590 errors 400
> extent buffer leak: start 33327525888 len 4096
> *** Error in `btrfs check': corrupted double-linked list: 0x00000000007a2600 
> ***
> 
> a@ask-home:~$ /btrfs-progs.dev/bin/btrfs version
> Btrfs v0.20-rc1-253-g7854c8b-dirty
> 
> btrfsck always dies with a corrupted double-linked list.
> 
> When the system crashes when I try to mount the filesystem, I get a kernel 
> oop. Nothing in syslog, though - too fast :/ On 
> http://wir.myds.me/photo/photo_thumb.php?
> dir=53637265656e73686f74732f4372617368206d6f756e74206274726673 or 
> http://imgur.com/a/UA7fF I tried to capute a few photos of the crash 
> message. "Screenshots", of sorts...
> 
> I was able to recover most of the files with btrfs-recover. But not all of 
> it correctly - at least one VirtualBox image is now broken.
> 
> Well - what do I do now? Could someone help, please?
> 

Pull down my tree

git://github.com/josefbacik/btrfs-progs.git

and build and run the fsck in there and see if it's a bit more friendly.
Thanks,

Josef

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Filesystem "somewhat" destroyed - need help for recovery/fixing
  2013-06-17 21:21 ` Josef Bacik
@ 2013-06-17 21:43   ` Alexander Skwar
  2013-06-20  9:38     ` Alexander Skwar
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Skwar @ 2013-06-17 21:43 UTC (permalink / raw)
  To: Josef Bacik; +Cc: linux-btrfs

Hello Josef

On Mon, Jun 17, 2013 at 11:21 PM, Josef Bacik <jbacik@fusionio.com> wrote:

> Pull down my tree
>
> git://github.com/josefbacik/btrfs-progs.git
>
> and build and run the fsck in there and see if it's a bit more friendly.

I just gave it a try, but wasn't successful, it seems… Kernel still
crashes.
Maybe checkout the screenphotos at http://goo.gl/DWkRH or
http://imgur.com/a/00pTx

Thanks,

Alexander
--
=>        Google+ => http://plus.skwar.me         <==
=> Chat (Jabber/Google Talk) => a.skwar@gmail.com <==

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Filesystem "somewhat" destroyed - need help for recovery/fixing
  2013-06-17 21:43   ` Alexander Skwar
@ 2013-06-20  9:38     ` Alexander Skwar
  2013-06-26 15:44       ` Filesystem Rodrigo Dias Cruz
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Skwar @ 2013-06-20  9:38 UTC (permalink / raw)
  To: Josef Bacik; +Cc: linux-btrfs

Hi

On Mon, Jun 17, 2013 at 11:43 PM, Alexander Skwar
<alexanders.mailinglists+nospam@gmail.com> wrote:
> Hello Josef
>
> On Mon, Jun 17, 2013 at 11:21 PM, Josef Bacik <jbacik@fusionio.com> wrote:
>
>> Pull down my tree
>>
>> git://github.com/josefbacik/btrfs-progs.git
>>
>> and build and run the fsck in there and see if it's a bit more friendly.
>
> I just gave it a try, but wasn't successful, it seems… Kernel still
> crashes.
> Maybe checkout the screenphotos at http://goo.gl/DWkRH or
> http://imgur.com/a/00pTx

Any other ideas, about what I might be able to do, to
revive my btrfs filesystem?



Alexander
--
=>        Google+ => http://plus.skwar.me         <==
=> Chat (Jabber/Google Talk) => a.skwar@gmail.com <==

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Filesystem
  2013-06-20  9:38     ` Alexander Skwar
@ 2013-06-26 15:44       ` Rodrigo Dias Cruz
  2013-07-01  7:39         ` Filesystem Alexander Skwar
  0 siblings, 1 reply; 6+ messages in thread
From: Rodrigo Dias Cruz @ 2013-06-26 15:44 UTC (permalink / raw)
  To: linux-btrfs

Alexander Skwar <alexanders.mailinglists+nospam <at> gmail.com> writes:

> 
> Hi
> 
> On Mon, Jun 17, 2013 at 11:43 PM, Alexander Skwar
> <alexanders.mailinglists+nospam <at> gmail.com> wrote:
> > Hello Josef
> >
> > On Mon, Jun 17, 2013 at 11:21 PM, Josef Bacik <jbacik <at> fusionio.com> 
wrote:
> >
> >> Pull down my tree
> >>
> >> git://github.com/josefbacik/btrfs-progs.git
> >>
> >> and build and run the fsck in there and see if it's a bit more 
friendly.
> >
> > I just gave it a try, but wasn't successful, it seems… Kernel still
> > crashes.
> > Maybe checkout the screenphotos at http://goo.gl/DWkRH or
> > http://imgur.com/a/00pTx
> 
> Any other ideas, about what I might be able to do, to
> revive my btrfs filesystem?
> 


I had the very same problem some days ago.

I have not yet found out how to fix the broken btrfs filesystem. However, I 
have been able to recover all my files from the filesystem and copy them to 
a brand new ext4 filesystem, that I am using now.

To recover files from the broken btrfs filesystem, use the program "btrfs-
restore". For example, if the filesystem is on "/dev/sda1" and you want your 
files to be copied to the directory "/backup", then:

    $ btrfs-restore /dev/sda1 /backup

At the end, all your files should be found at the directory "/backup". If 
you wish, you can recreate the filesystem on "/dev/sda1" (using mkfs.btrfs 
or mkfs.ext4) and copy the files back to there.

Rodrigo.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Filesystem
  2013-06-26 15:44       ` Filesystem Rodrigo Dias Cruz
@ 2013-07-01  7:39         ` Alexander Skwar
  0 siblings, 0 replies; 6+ messages in thread
From: Alexander Skwar @ 2013-07-01  7:39 UTC (permalink / raw)
  To: Rodrigo Dias Cruz; +Cc: linux-btrfs

Hello Rodrigo,

On Wed, Jun 26, 2013 at 5:44 PM, Rodrigo Dias Cruz <rodrigodc@gmail.com> wrote:

> I had the very same problem some days ago.
>
> I have not yet found out how to fix the broken btrfs filesystem. However, I
> have been able to recover all my files from the filesystem and copy them to
> a brand new ext4 filesystem, that I am using now.

Well, yeah, I also tried to do "btrfs-restore". Did not work well.

It restored all files, but didn't do so in a good way. An unknown
number of files got corrupted (but btrfs-restore went thru anyway).
For example a VirtualBox image got destroyed and my Hamster
time tracking database. And probably some more.


> At the end, all your files should be found at the directory "/backup". If

They were.

> you wish, you can recreate the filesystem on "/dev/sda1" (using mkfs.btrfs
> or mkfs.ext4) and copy the files back to there.

I think, I got cured from btrfs… As of now, not ready for daily use,
unless you are a real hacker.

It does have nice features, but an ugly userland (in comparison
to ZFS) and is unstable with real danger of data loss.

Maybe in a few years.

Regards,

Alexander
--
=>        Google+ => http://plus.skwar.me         <==
=> Chat (Jabber/Google Talk) => a.skwar@gmail.com <==

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2013-07-01  7:40 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-17 21:08 Filesystem "somewhat" destroyed - need help for recovery/fixing Alexander Skwar
2013-06-17 21:21 ` Josef Bacik
2013-06-17 21:43   ` Alexander Skwar
2013-06-20  9:38     ` Alexander Skwar
2013-06-26 15:44       ` Filesystem Rodrigo Dias Cruz
2013-07-01  7:39         ` Filesystem Alexander Skwar

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.