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 documentation.

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

Regards

-Sven


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
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/


_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

Reply via email to