On Jul 13, 2014, at 11:35 AM, Konstantin Svist <[email protected]> wrote:

> On 07/13/2014 10:13 AM, Chris Murphy wrote:
>> On Jul 4, 2014, at 11:00 AM, Konstantin Svist <[email protected]> wrote:
>> 
>>> I have an overnight cron job with
>>> 
>>> /sbin/fstrim -v /
>>> /bin/bedup dedup --defrag
>> Probably not related, but these look backwards, why not reverse them?
>> 
>> 
>> Chris Murphy
>> 
> 
> Thanks, will do that. Anything else useful I could add to the cron job,
> btw? I was thinking maybe a scrub operation to check for errors..

You might want separate jobs. fstrim should be done when the SSD isn't busy (or 
about to be), and you could do that maybe once a week. And scrub followed by 
deduplication maybe once a month. Separately schedule smartd to do extended 
offline test.


Chris Murphy

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to