Results 1 to 3 of 3

Thread: how often should I trim SSD

  1. #1
    Join Date
    Aug 2013
    Beans
    10

    how often should I trim SSD

    I have the Samsung 840 Pro. How often should I run the manual trim command??? My old computer doesnt offer a change to AHCI but the
    the SSD works good anyway.

  2. #2
    Join Date
    Jun 2009
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: how often should I trim SSD

    Somewhere I saw that trim did not work without AHCI.

    But I have a daily cron job to run trim.

    HOWTO: Check If TRIM On Ext4 Is Enabled And Working On Ubuntu And Other Distributions
    http://sites.google.com/site/lightru...bledandworking


    Shows both discard & fstrim methods for trim
    http://www.webupd8.org/2013/01/enabl...te-drives.html
    gksu gedit /etc/cron.daily/trim
    sudo chmod +x /etc/cron.daily/trim

    Copy & paste into trim
    Code:
    #!/bin/sh
    # trim
    LOG=/var/log/trim.log
    echo "* $(date -R) *" >> $LOG
    fstrim -v / >> $LOG
    # fstrim -v /home >> $LOG
    For more info on UEFI boot install & repair - Regularly Updated :
    http://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Aug 2013
    Beans
    10

    Re: how often should I trim SSD

    it does work but it might work differently in distros....

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •