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

Xen list at xenhideout.nl
Mon Feb 13 14:39:07 UTC 2017

lejeczek schreef op 13-02-2017 12:59:

> 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?

Cryptsetup has a flag but I don't know how it is evidenced in crypttab, 
it is definitely required. The file system (ie. ext4, or tune2efs -o 
discard) also requires it.

More information about the linux-lvm mailing list