Re: fstrim and LUKS [Re: Fedora 32 System-Wide Change proposal: Enable fstrim.timer by default]

2019-12-21 Thread John M. Harris Jr
On Saturday, December 21, 2019 1:59:03 AM MST Vitaly Zaitsev via devel wrote: > On 20.12.2019 21:53, Chris Murphy wrote: > > > If your LUKS drives are listed in fstab, they will have fstrim issued > > and it will pass down to the physical drive. > > > Only with enabled discard option in /etc/cry

Re: fstrim and LUKS [Re: Fedora 32 System-Wide Change proposal: Enable fstrim.timer by default]

2019-12-21 Thread Vitaly Zaitsev via devel
On 20.12.2019 21:53, Chris Murphy wrote: > If your LUKS drives are listed in fstab, they will have fstrim issued > and it will pass down to the physical drive. Only with enabled discard option in /etc/crypttab, because trimming of LUKS significantly decrease security level (everyone even without p

Re: fstrim and LUKS [Re: Fedora 32 System-Wide Change proposal: Enable fstrim.timer by default]

2019-12-21 Thread Vitaly Zaitsev via devel
On 20.12.2019 21:30, Jan Kratochvil wrote: > This is AFAIK not enough for LUKS drives, will it be supported for LUKS? If you want to enable TRIM for LUKS, you should add discard option to /etc/crypttab file. -- Sincerely, Vitaly Zaitsev (vit...@easycoding.org) _

Re: fstrim and LUKS [Re: Fedora 32 System-Wide Change proposal: Enable fstrim.timer by default]

2019-12-20 Thread John M. Harris Jr
On Friday, December 20, 2019 7:27:20 PM MST Chris Murphy wrote: > On Fri, Dec 20, 2019 at 5:42 PM John M. Harris Jr > wrote: > > > > > > On Friday, December 20, 2019 1:53:41 PM MST Chris Murphy wrote: > > > > > On Fri, Dec 20, 2019 at 1:37 PM Jan Kratochvil > > > wrote: > > > > > > > > > > > > >

Re: fstrim and LUKS [Re: Fedora 32 System-Wide Change proposal: Enable fstrim.timer by default]

2019-12-20 Thread Chris Murphy
On Fri, Dec 20, 2019 at 5:42 PM John M. Harris Jr wrote: > > On Friday, December 20, 2019 1:53:41 PM MST Chris Murphy wrote: > > On Fri, Dec 20, 2019 at 1:37 PM Jan Kratochvil > > wrote: > > > > > > > > > > > On Thu, 19 Dec 2019 22:42:02 +0100, Ben Cotton wrote: > > > > > > > == Summary == > > >

Re: fstrim and LUKS [Re: Fedora 32 System-Wide Change proposal: Enable fstrim.timer by default]

2019-12-20 Thread John M. Harris Jr
On Friday, December 20, 2019 1:53:41 PM MST Chris Murphy wrote: > On Fri, Dec 20, 2019 at 1:37 PM Jan Kratochvil > wrote: > > > > > > > On Thu, 19 Dec 2019 22:42:02 +0100, Ben Cotton wrote: > > > > > == Summary == > > > Enabling fstrim.timer will cause fstrim.service to execute weekly, > > > whi

Re: fstrim and LUKS [Re: Fedora 32 System-Wide Change proposal: Enable fstrim.timer by default]

2019-12-20 Thread Chris Murphy
On Fri, Dec 20, 2019 at 1:37 PM Jan Kratochvil wrote: > > On Thu, 19 Dec 2019 22:42:02 +0100, Ben Cotton wrote: > > == Summary == > > Enabling fstrim.timer will cause fstrim.service to execute weekly, > > which in turn executes `/usr/sbin/fstrim --fstab --verbose --quiet` > > This is AFAIK not eno

fstrim and LUKS [Re: Fedora 32 System-Wide Change proposal: Enable fstrim.timer by default]

2019-12-20 Thread Jan Kratochvil
On Thu, 19 Dec 2019 22:42:02 +0100, Ben Cotton wrote: > == Summary == > Enabling fstrim.timer will cause fstrim.service to execute weekly, > which in turn executes `/usr/sbin/fstrim --fstab --verbose --quiet` This is AFAIK not enough for LUKS drives, will it be supported for LUKS? Jan __