NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Toyonut
Aug 10, 2016Aspirant
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-instead-of-delete-in-fstab/
#!/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.
3 Replies
Replies have been turned off for this discussion
- StephenBGuru - Experienced User
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).
- ToyonutAspirant
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.
- mdgm-ntgrNETGEAR Employee Retired
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.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!