× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Trimming SSD

Toyonut
Aspirant

Trimming SSD

Hi

We have just put 2 Samsung 850 Evo SSD drives into our RN 4220 as a test. I have read through the support forums and found this thread about trimming SSD:

https://community.netgear.com/t5/New-to-ReadyNAS/Readynas-OS6-SSD-and-TRIM/m-p/1101913#U1101913

 

I was wondering if it was possible to schedule a weekly cron job instead to run fstrim on the SSD volume? Would that work instead of using the discard mounting option?

Something like this taken from this link: https://turriebuntu.wordpress.com/ubuntu-pages/precise-specific-pages/using-fstrim-to-trim-your-ssd-...

#!/bin/sh
LOG=/var/log/trim.log
echo "*** $(date -R) ***" >> $LOG
fstrim -v /SSD-Volume-Mount-Point >> $LOG

 

If that works, it would probably be a good addition to the suggested items for ReadyNas too as you could schedule it using the web interface.

Model: RN4220X|ReadyNAS 4220 10Gbase-T
Message 1 of 4
mdgm-ntgr
NETGEAR Employee Retired

Re: Trimming SSD

You could try that (note that running stuff as root using sudo would be pointless so you could leave that bit out of the commands) at your own risk (just like enabling trim as described in the other thread would be at your own risk).

 

Our OS is based on Debian. If it will run on Debian then it should run on the ReadyNAS.

Message 2 of 4
StephenB
Guru

Re: Trimming SSD


@Toyonut wrote:

 

 

... If that works, it would probably be a good addition to the suggested items for ReadyNas too as you could schedule it using the web interface.


I posted this in the idea exchange.  It'd be good if you could vote for it (click on the up-arrow icon to do that).

 

https://community.netgear.com/t5/Idea-Exchange-for-ReadyNAS/Add-support-for-trim-with-SSD-disks/idi-...

Message 3 of 4
Toyonut
Aspirant

Re: Trimming SSD

I have upvoted and replied to your thread now. Thanks very much. The OS seems to support fstrim just fine from my limited testing, it seems to be a case of needing to enable it in a user facing way rather than having to void support and ssh in as root.

Message 4 of 4
Top Contributors
Discussion stats
  • 3 replies
  • 4142 views
  • 0 kudos
  • 3 in conversation
Announcements