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
Adam No. I have BTRFS file system upon a LUKS volume. I first unlock LUKS and then I get a dm-mapped btrfs Filesystem. I used to be able to mount this filesystem but not anymore This is the dmesg for ro,recovery,nospace_cache,nospace_cache [21680.563023] BTRFS info (device dm-12): enab

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?