[linux-lvm] discard with luks and the FS itself

Sven Eschenberg sven at whgl.uni-frankfurt.de
Mon Feb 13 13:08:11 UTC 2017

Depends on your storage stack configuration, but the answer is mostly yes:
cryptsetup has discard disabled by default, for very good reasons.
filesystems vary, so you'd have to check on your particular filesystem 

That's probably why you cannot find the ultimate answer - there's none.



Am 13.02.2017 um 12:59 schrieb lejeczek:
> hi everyone
> I realize question does not pertain LVM directly but knowing that on the
> list wonder around some very crypt-savvy  guys&gals I thought I'd ask:
> Does one have to flag mounts with discard for both crypttab and fstab in
> order for TRIM to be in effect?
> Or just one? Just crypttab?
> I've searched but failed to find an ultimate answer.
> b.w.
> L.
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

More information about the linux-lvm mailing list