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

lejeczek peljasz at yahoo.co.uk
Mon Feb 13 14:12:18 UTC 2017



On 13/02/17 13:08, Sven Eschenberg wrote:
> Depends on your storage stack configuration, but the 
> answer is mostly yes:

yes to - Does one have to flag mounts with discard for both 
crypttab and fstab in
order for TRIM to be in effect?
?
if the hole stack - then also lvm.conf?

thanks
L

> 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
>> 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/
>>
>
> _______________________________________________
> 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/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20170213/6d1cc5fd/attachment.htm>


More information about the linux-lvm mailing list