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 finally:
/etc/crypttab:
name UUID=... none luks,discard
I think "sudo update-initramfs" and reboot is needed before it works.
--
/// Teemu Likonen - .-.. <https://github.com/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///
Attachment:
signature.asc
Description: PGP signature