You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Not enough expertise to enable TRIM

Author (Read 3238 times)

0 Members and 1 Guest are viewing this topic.

Re: Not enough expertise to enable TRIM
« Reply #4 on: October 12, 2016, 03:54:01 PM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1588
    Posts
  • Reputation: 261
  • * Forum Moderator *
    • View Profile

  • CPU: Intel i5-3230M (4) @ 3.200GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Intel 3rd Gen Core processor Graphics

  • Kernel: 5.x
It's not showing anything as being trimmed.  Since this log gets updated at startup, reboot and view the log file again.
Want to thank me?  Click my [Thank] link.
 

Re: Not enough expertise to enable TRIM
« Reply #3 on: October 12, 2016, 03:27:44 PM »
 

vieira.rr

  • New to Forums
  • *
  • 3
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: AMD A4-1200

  • MEMORY: 1Gb

  • VIDEO CARD: APU "kabini" Radeon HD 8180
Using the rc.local file as above the system keeps working and

~$ cat /var/log/trim.log
“*** Wed, 12 Oct 2016 16:24:31 -0300 ***”

Voilá
Thanks for help :)
 

Re: Not enough expertise to enable TRIM
« Reply #2 on: October 12, 2016, 02:44:50 PM »
 

torreydale

  • PayPal Supporter
  • Platinum Level Poster
  • *****
  • 1588
    Posts
  • Reputation: 261
  • * Forum Moderator *
    • View Profile

  • CPU: Intel i5-3230M (4) @ 3.200GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Intel 3rd Gen Core processor Graphics

  • Kernel: 5.x
Seems ok to me.  Have you viewed your trim.log file?  You can do so by copying and pasting in the following:

Code: [Select]
cat /var/log/trim.log
Want to thank me?  Click my [Thank] link.
 

Not enough expertise to enable TRIM
« Reply #1 on: October 12, 2016, 12:16:24 PM »
 

vieira.rr

  • New to Forums
  • *
  • 3
    Posts
  • Reputation: 0
  • Linux Lite Member
    • View Profile

  • CPU: AMD A4-1200

  • MEMORY: 1Gb

  • VIDEO CARD: APU "kabini" Radeon HD 8180
Hi

I followed the steps in Help Guide and stopped in this point.

This is my original fstab


# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=3675cb98-88ea-4020-aa45-03f6f2cd64c3 /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=96b87783-47cb-4268-b3a2-0e5d63e770a6 none            swap    sw              0       0



After including noatime, :


# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=3675cb98-88ea-4020-aa45-03f6f2cd64c3 /               ext4    noatime,errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=96b87783-47cb-4268-b3a2-0e5d63e770a6 none            swap    sw              0       0



because my ssd only have / partition, my edited rc.local file should be:



#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

LOG=/var/log/trim.log
echo “*** $(date -R) ***” >> $LOG
fstrim -v / >> $LOG
echo " " >> $LOG

exit 0

Or should I keep the original rc.local file containing /boot and /home? I’m not sure


Thanks for help
« Last Edit: October 12, 2016, 03:28:09 PM by vieira.rr »
 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section