- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Trimming SSD
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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).
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.