Date: Dec 2010
Affected Product & Version :
•NSD 1.2.1+
OS Version – any
Symptoms:
With this release of SmartDisk the options for defining windows for deduplication and garbage collection have been expanded.
Cause:
The previous option of one window with a day of week option was to restrictive.
The syntax now to change the dedupe window is as follows;
smartdisk config --add|--delete --dedupe-window <[Sun|Mon|Tue|Wed|Thu|Fri|Sat-]HH:MM-HH:MM>|<Never|Anytime>
Explanation:
To add dedupe windows for mondays between 9am and 5pm, also Tuesdays between 10am and 5pm the commands would be;
smartdisk config --add --dedupe-window Mon-09:00-17:00
smartdisk config --add --dedupe-window Tue-10:00-17:00
To remove the Tuesday window the syntax would be;
smartdisk config --delete --dedupe-window Tue-10:00-17:00
It is now possible to build schedules that vary between the days of the week.
To perform the same operation for the garbage collection window, substitute --gc-window instead of --dedupe-window.
Note that there will be a default value of never if you remove all dedupe or gc windows. There is no need to add the value of 'never' when removing windows.