Alexander Skwar
2013-Jun-17 21:08 UTC
Filesystem "somewhat" destroyed - need help for recovery/fixing
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 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Josef Bacik
2013-Jun-17 21:21 UTC
Re: Filesystem "somewhat" destroyed - need help for recovery/fixing
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 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Alexander Skwar
2013-Jun-17 21:43 UTC
Re: Filesystem "somewhat" destroyed - need help for recovery/fixing
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 <=-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Alexander Skwar
2013-Jun-20 09:38 UTC
Re: Filesystem "somewhat" destroyed - need help for recovery/fixing
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/00pTxAny 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 <=-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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 morefriendly.> > > > 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. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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". IfThey 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 <=-- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Possibly Parallel Threads
- WARNING: at fs/btrfs/free-space-cache.c:921 __btrfs_write_out_cache+0x6b9/0x9a0 [btrfs]()
- Doing ZFS rollback with preserving later created clones/snapshot?
- Error compiling 3.0.0beta2 on HP-UX
- setup.exe from "Marco Polo Großer Reiseplaner 2005/2006" stops
- What to do for ACL support?