<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 13/02/17 13:08, Sven Eschenberg
wrote:<br>
</div>
<blockquote
cite="mid:36a67e3b-fea9-ae9c-a128-89fe6c1783de@whgl.uni-frankfurt.de"
type="cite">Depends on your storage stack configuration, but the
answer is mostly yes:<br>
</blockquote>
<br>
yes to - Does one have to flag mounts with discard for both crypttab
and fstab in<br>
order for TRIM to be in effect?<br>
?<br>
if the hole stack - then also lvm.conf?<br>
<br>
thanks<br>
L<br>
<br>
<blockquote
cite="mid:36a67e3b-fea9-ae9c-a128-89fe6c1783de@whgl.uni-frankfurt.de"
type="cite">cryptsetup has discard disabled by default, for very
good reasons.
<br>
filesystems vary, so you'd have to check on your particular
filesystem documentation.
<br>
<br>
That's probably why you cannot find the ultimate answer - there's
none.
<br>
<br>
Regards
<br>
<br>
-Sven
<br>
<br>
<br>
Am 13.02.2017 um 12:59 schrieb lejeczek:
<br>
<blockquote type="cite">hi everyone
<br>
<br>
I realize question does not pertain LVM directly but knowing
that on the
<br>
list wonder around some very crypt-savvy guys&gals I
thought I'd ask:
<br>
<br>
Does one have to flag mounts with discard for both crypttab and
fstab in
<br>
order for TRIM to be in effect?
<br>
Or just one? Just crypttab?
<br>
<br>
I've searched but failed to find an ultimate answer.
<br>
b.w.
<br>
L.
<br>
<br>
<br>
_______________________________________________
<br>
linux-lvm mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:linux-lvm@redhat.com">linux-lvm@redhat.com</a>
<br>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/linux-lvm">https://www.redhat.com/mailman/listinfo/linux-lvm</a>
<br>
read the LVM HOW-TO at <a class="moz-txt-link-freetext" href="http://tldp.org/HOWTO/LVM-HOWTO/">http://tldp.org/HOWTO/LVM-HOWTO/</a>
<br>
<br>
</blockquote>
<br>
_______________________________________________
<br>
linux-lvm mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:linux-lvm@redhat.com">linux-lvm@redhat.com</a>
<br>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/linux-lvm">https://www.redhat.com/mailman/listinfo/linux-lvm</a>
<br>
read the LVM HOW-TO at <a class="moz-txt-link-freetext" href="http://tldp.org/HOWTO/LVM-HOWTO/">http://tldp.org/HOWTO/LVM-HOWTO/</a>
<br>
</blockquote>
<br>
</body>
</html>