mirror of
https://github.com/007revad/Synology_enable_Deduplication.git
synced 2026-04-25 12:46:03 +03:00
[GH-ISSUE #79] Deduplication configuration nt shown in volume menu #17
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Synology_enable_Deduplication#17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @WAdama on GitHub (Jul 20, 2024).
Original GitHub issue: https://github.com/007revad/Synology_enable_Deduplication/issues/79
Originally assigned to: @007revad on GitHub.
Hi,
it seems, the script has set everything correct, but I get not the menu point shown:

Output from syno_enable_dedupe.sh -c:
`Synology_enable_Deduplication v1.4.28
DS420+ DSM 7.2.1-69057-5
StorageManager 1.0.0-0017
Using options: -c
Running from: /volume1/Work/Scripts/SH/syno_enable_dedupe.sh
WARNING Don't store this script on an NVMe volume!
NAS has 10 GB of memory.
Btrfs Data Deduplication is not enabled.
Tiny Btrfs Data Deduplication is enabled.
Checking non-Synology drive supported.
File is already edited.
Checking value in backup file.
Backup file is okay.
`
But I see in Volume global settings the entry for setting automatic deduplication, which of course says, that there is no deduplication activated for a volume.
@007revad commented on GitHub (Jul 22, 2024):
Did you close and re-open Storage Manager.
If yes, then I suspect the SSD cache is preventing the deduplication menu from appearing because deduplication is only officially supported on SSD volumes, and an SSD volume would not have an SSD cache.
@WAdama commented on GitHub (Jul 22, 2024):
Hi Dave,
I restarted the system before this. That would be enough, wouldn't it?
Have I misunderstood something here? I have a system with hard drives and ssd's as cache. Is this not supported then?
@007revad commented on GitHub (Jul 22, 2024):
Yes, as you restarted the NAS you do not need to close and re-open storage manager.
I think yes.
One way to be sure would be to:
I could maybe allow running deduplication on a volume with a cache but I don't know if your data would be safe.
@WAdama commented on GitHub (Jul 23, 2024):
Hi Dave,
will check this, may need some time.
I can't remember any hint from Synology that deduplication with cache is not possible.
@007revad commented on GitHub (Jul 23, 2024):
No need to do those 3 steps. I just confirmed the cache is NOT the problem.
I added a read-only SSD cache to a HDD volume and was able set deduplication.
Then I deleted the read-only cache and created a read/write cache and was able set deduplication.
Read/write cache:

Read only cache:

@007revad commented on GitHub (Jul 23, 2024):
Have you previously run https://github.com/007revad/Synology_HDD_db
@WAdama commented on GitHub (Jul 23, 2024):
Hi Dave,
thought that was just optional, will try that...
Regards
Ingo
@WAdama commented on GitHub (Jul 23, 2024):
Hi Dave,
just tested it again with Synology_HDD_db, but I'm afraid, that made no difference.
Still only this part:

Output from -c:
`Synology_enable_Deduplication v1.4.28
DS420+ DSM 7.2.1-69057-5
StorageManager 1.0.0-0017
Using options: -c
Running from: /volume1/Work/Scripts/SH/syno_enable_dedupe.sh
WARNING Don't store this script on an NVMe volume!
NAS has 10 GB of memory.
Btrfs Data Deduplication is not enabled.
Tiny Btrfs Data Deduplication is enabled.
Checking non-Synology drive supported.
File is already edited.
Checking value in backup file.
Backup file is okay.
`
@007revad commented on GitHub (Jul 24, 2024):
I just remembered it can take up to 10 minutes before the deduplication menu appears. Can you check if the menu is still missing.
Another thought is that my Synology NAS have either a NVMe volume or a SATA SSD volume. When you have time can you try:
Make sure to check after 10 minutes.
@sheckandar commented on GitHub (Jul 25, 2024):
I had the same issue.
We have our synology configured in a HA cluster and when I ran the script on one of them only, nothing showed up in the Storage Manager. However, after I ran the script on both devices and rebooted both one by one, the option showed up the Storage Manager.
@WAdama commented on GitHub (Jul 29, 2024):
Hi Dave,
sorry for answering so late. Even waiting more than 10 minutes and several restarts does not do the trick.
I have to admit, this feature is not that important for me to reconfigure my working NAS so massive.
I had hoped for a simplier reason for this error.
By the way, this is usable on an already configured and used file system? Not that that's the problem.
@007revad commented on GitHub (Jul 29, 2024):
Yes.
I just remembered that deduplication requires:
If you don't have "Usage detail analysis" enabled:
@WAdama commented on GitHub (Jul 29, 2024):
Hi Dave,
all three prerequisites are fulfilled, so yes, usage detail analysis is active..
The full configuration of my volume:
RAID5 (no SHR) with 4 hdd's
Btrfs
Read/write ssd cache
Regards
Ingo
@MaximumFish commented on GitHub (Aug 1, 2024):
A stupid question maybe, but are you definitely running the script with the
--hddoption?@007revad commented on GitHub (Aug 1, 2024):
Well spotted!
I just noticed the -c or --check option on it's own does not check if dedupe on hdds is enabled or not.
@007revad commented on GitHub (Aug 1, 2024):
I've just released v1.4.29
https://github.com/007revad/Synology_enable_Deduplication/releases
@WAdama commented on GitHub (Aug 2, 2024):
Hi Dave,
you're right, I started it without --hdd
Reason in your description: Enable data deduplication for HDDs (dangerous)
I thought tiny would be enough...
What is tiny then for?
@007revad commented on GitHub (Aug 2, 2024):
I wrote dangerous because:
There's enough people who do run deduplication on HDDs without any reported issues that I should remove that (dangerous) comment.
DSM can do 2 different types of deduplication:
If your Synology has more than 3GB of memory but less than 16GB the script enables "tiny btrfs data deduplication".
If your Synology has 16GB or more memory the script enables "btrfs data deduplication".
What is the difference between tiny and regular deduplication? Apart from the required amount of memory I honestly don't know. I assume tiny deduplication takes longer.
I should run some tests and time them.
EDIT The --tiny option only exists in case someone has a Synology with 16GB or more memory but wants to use tiny deduplication instead of regular deduplication. Say if they have 16GB of memory but some of it is allocated to VMs and regular deduplication slows down the NAS too much.
@MaximumFish commented on GitHub (Aug 2, 2024):
I think it's worth keeping some sort of warning there to distance yourself from any issues that may arise from an unsupported configuration. Maybe instead of "dangerous", change it to something along the lines of "HDD dedupe is a hack that is not supported by Synology. No known stability issues but use at your own risk".
Edit: Or just "unsupported - use at your own risk" if you want to keep it short and sweet. 😄
@007revad commented on GitHub (Aug 2, 2024):
I had just removed (dangerous) minutes before your reply.
Then I saw your reply and changed it to "HDD data deduplication is not supported by Synology. No known stability issues but use at your own risk".
And now you've edited your reply 😄
@WAdama commented on GitHub (Aug 2, 2024):
Hi Dave,
did use --hdd and now the missing point is shown. As my DS420+ have 10GB RAM, your script enabled tiny dedup.
Just running a dedup analysis...
@dmaclip commented on GitHub (Sep 13, 2025):
seeing this on DS1522+
Dedupe config menu for HDDs and 2.5" SSDs already enabled.
but nothing in menu.
usage details are enabled.
can start new post if needed.
@007revad commented on GitHub (Sep 15, 2025):
In which menu?
@dmaclip commented on GitHub (Sep 16, 2025):
the configure under the 3 dots.