Now I have memory ok. I found this patch, but i am not sure, if its the correct one. https://www.mail-archive.com/linux-btrfs@vger.kernel.org/msg33496.html
Cay you help me please, witch patch i should use? Frantisek 2015-09-23 17:22 GMT+02:00 Vackář František <vack...@gmail.com>: > Yes, I have bad ram. I ran memtest and memory is really bad. > > So a must buy new memory first. > > Thank you. > > Frantisek > > 2015-09-23 16:43 GMT+02:00 Hugo Mills <h...@carfax.org.uk>: >> On Wed, Sep 23, 2015 at 04:39:27PM +0200, Vackář František wrote: >>> Hello, >>> >>> i have problem with my btrfs, can you help me, please? Its on my >>> notebook. Sometimes it exhausted battery during sleep and died. But >>> everytime FS was ok. But ones mount fail. >>> >>> Do you have any idea how repair it? >> [snip] >>> [root@rak ~]# dmesg | tail >> [snip] >>> [ 4108.444472] BTRFS critical (device sdb2): corrupt leaf, bad key >>> order: block=3242455040,root=1, slot=0 >> >> You have bad RAM. You should run memtest and fix the hardware first. >> >> After that, there's some patches that should allow btrfs repair to >> fix bad key orders in most situations -- I think David was picking >> them up again, but I don't know what state they're in right now. >> >> Hugo. >> >>> [ 4108.444649] BTRFS critical (device sdb2): corrupt leaf, bad key >>> order: block=3242455040,root=1, slot=0 >>> [ 4108.444681] BTRFS error (device sdb2): Error removing orphan entry, >>> stopping orphan cleanup >>> [ 4108.444684] BTRFS error (device sdb2): could not do orphan cleanup -22 >>> [ 4111.047323] BTRFS: open_ctree failed >>> >>> [root@rak ~]# uname -a >>> Linux rak 4.1.2-2-ARCH #1 SMP PREEMPT Wed Jul 15 08:30:32 UTC 2015 >>> x86_64 GNU/Linux >>> >>> [root@rak ~]# btrfs fi show /dev/sdb2 >>> Label: 'data' uuid: 754a3186-c0ae-4680-ab28-864c8bdad8b5 >>> Total devices 1 FS bytes used 1.23TiB >>> devid 1 size 1.72TiB used 1.24TiB path /dev/sdb2 >>> >>> btrfs-progs v4.2 >>> >>> [root@rak ~]# btrfs --version >>> btrfs-progs v4.2 >>> >>> [root@rak ~]# btrfs fi show >>> Label: 'data' uuid: 754a3186-c0ae-4680-ab28-864c8bdad8b5 >>> Total devices 1 FS bytes used 1.23TiB >>> devid 1 size 1.72TiB used 1.24TiB path /dev/sdb2 >>> >>> btrfs-progs v4.2 >> >> -- >> Hugo Mills | Sometimes, when I'm alone, I Google myself. >> hugo@... carfax.org.uk | >> http://carfax.org.uk/ | >> PGP: E2AB1DE4 | -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html