Re: BTRFS failed

2016-02-16 Thread Teemu Likonen
Pavel Volkov [2016-02-16 09:22:09+03] wrote: > Does TRIM work on LUKS, BTW? Yes. It may require be a whole chain of "discard" options: /etc/fstab: UUID=... mountpoint ext4 discard 0 0 If we have LVM on top of LUKS: /etc/lvm/lvm.conf: issue_discards = 1 And final

Re: BTRFS failed

2016-02-15 Thread Pavel Volkov
On понедельник, 15 февраля 2016 г. 13:50:57 MSK, Jonathan Dowland wrote: On Sun, Feb 14, 2016 at 09:10:07PM +0300, Adam Wilson wrote: Surely you mean LUKS on top of btrfs? I don't think that's possible. If you want btrfs and encryption the advice is to do the encryption *underneath* btrfs, b

Re: BTRFS failed

2016-02-15 Thread Pavel Volkov
On воскресенье, 14 февраля 2016 г. 19:05:51 MSK, Bhasker C V wrote: But for sure there is data in the volume. btrfs-show-super reports nicely the btrfs filesystem Can someone help me how to proceed further ? I recommend asking for recovery instruction in bt...@vger.kernel.org list as a last r

Re: BTRFS failed

2016-02-15 Thread Jonathan Dowland
On Sun, Feb 14, 2016 at 09:10:07PM +0300, Adam Wilson wrote: > Surely you mean LUKS on top of btrfs? I don't think that's possible. If you want btrfs and encryption the advice is to do the encryption *underneath* btrfs, because btrfs does not support encryption itself. I'm not sure how/why you wo

Re: BTRFS failed

2016-02-14 Thread Anders Andersson
On Sun, Feb 14, 2016 at 7:10 PM, Adam Wilson wrote: > On Sun, 14 Feb 2016 17:05:51 +0100 Bhasker C V wrote: > >> I have a home dir btrfs on top of luks > > Surely you mean LUKS on top of btrfs? You can't have LUKS on top of btrfs, because btrfs does not export any block devices for LUKS to enc

Re: BTRFS failed

2016-02-14 Thread Bhasker C V
wanted 134868 found 54964 [21680.591339] BTRFS (device dm-12): parent transid verify failed on 59162624 wanted 134868 found 54964 [21680.591358] BTRFS: Failed to read block groups: -5 [21680.620285] BTRFS: open_ctree failed a subsequent btrfs rescue zero-log give this sudo btrfs rescue zero-log

Re: BTRFS failed

2016-02-14 Thread Adam Wilson
On Sun, 14 Feb 2016 17:05:51 +0100 Bhasker C V wrote: > Hi, > > I have a home dir btrfs on top of luks Surely you mean LUKS on top of btrfs?

BTRFS failed

2016-02-14 Thread Bhasker C V
Hi, I have a home dir btrfs on top of luks Just recently there was a power falure to the machine and since then the volume is not mountable 1) I tried ro,recovery,nospace_cache,nospace_cache option of mount 2) I tried btrfs-zero-log -y -v 3) btrfsck --repair --init-csum-tree But for sure the