You are not logged in.

#1 2017-09-02 23:12:35

daankata
Member
Registered: 2017-05-21
Posts: 47

SSD continuous trim & discard option

Hello!

So I just found out that for the past few weeks I have been using continuous trim instead of periodic trim (which from reading through websites and the Arch Wiki I understood is better than continuous trim). So in my /etc/fstab file I have the discard option enabled on the root, var & home partition. Does this automaticaly enables continuous trim?

After I remove the discard option from my partitions how can I enable periodic trim every 1-2 weeks?

If I now remove the discard option in /etc/fstab from all my partitions and enable the peridic trim could any unexpected data loss/errors appear?

Thank you!

Offline

#2 2017-09-02 23:20:45

circleface
Member
Registered: 2012-05-26
Posts: 639

Re: SSD continuous trim & discard option

You can disable continuous trim the way you did,  by editing /etc/fstab.  To enable periodic trim, just enable the fstrim.timer and it will run automatically.

Last edited by circleface (2017-09-02 23:23:40)

Offline

Board footer

Powered by FluxBB