hammer(8) doesn't respect the timelimit for deduplication
- a storage server with a 20TB /data volume
- a dataset potentially deduplication-friendly (protein sequences)
- deduplication has been enabled with a 5mn per day timelimit for /data
- hammer(8) is running most of the day, inducing a high background I/O load on the disks
- the particular command is "hammer -t 300 dedup"
That command is run from the nightly hammer cleanup cron. It starts at 3am an never finishes.
A quick test on a brand new hammer volume confirms the -t argument to hammer dedup has no effect.
hammer dedup will run forever as long as there is still data to deduplicate.
Updated by tuxillo over 6 years ago
- File cmd_dedup01.diff cmd_dedup01.diff added
- Category set to Userland
- Status changed from New to Feedback
- Assignee set to tuxillo
- Priority changed from Normal to High
- Target version set to 4.2
Please try the patch attached (in non Prod systems) and see if it works correctly.