[linux-lvm] discard with luks and the FS itself
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?
> cryptsetup has discard disabled by default, for very good
> 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.
> 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.
>> linux-lvm mailing list
>> linux-lvm at redhat.com
>> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> linux-lvm mailing list
> linux-lvm at redhat.com
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the linux-lvm