On Sat, 2017-08-05 at 17:31 +0200, Wolfgang Pfeiffer wrote:
> On Sat, 2017-08-05 at 15:47 +0200, José María Terry Jiménez wrote:
> > El 5/8/17 a las 9:36, Tim escribió:
> > 
> > Enable the fstrim timer: "sudo systemctl enable fstrim.timer" to
> > get 
> > TRIM done periodically.
> > 
> 
> Careful when using encrypted SSD's - looks like this written by one of
> the authors of the cryptsetup man page:
> 
> http://asalor.blogspot.de/2011/08/trim-dm-crypt-problems.html

Addendum: it *looks like* the Fedora 26 trim doesn't touch encrypted
partitions by default when starting a "/usr/sbin/fstrim -av" via 
/usr/lib/systemd/system/fstrim.service

Here's the output I got when trying it manually on my encrypted /home
partition:
                                                                        
# fstrim -v /home
fstrim: /home: the discard operation is not supported

So I hope fstrim didn't touch /home .... :)

If this is true then good Milan Broz is working for Redhat ... :)

Anyways: I'd recommend to be careful with trim on encrypted SSD's

Wolfgang
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to