[GH-ISSUE #27] Deduplication not available on DS3622xs+ #103

Closed
opened 2026-03-09 00:56:02 +03:00 by kerem · 21 comments
Owner

Originally created by @jdpdata on GitHub (Sep 11, 2023).
Original GitHub issue: https://github.com/007revad/Synology_enable_Deduplication/issues/27

I need help figuring out why data deduplication is not enable. I ran all the steps detailed in your instructions.

image

nas4

Originally created by @jdpdata on GitHub (Sep 11, 2023). Original GitHub issue: https://github.com/007revad/Synology_enable_Deduplication/issues/27 I need help figuring out why data deduplication is not enable. I ran all the steps detailed in your instructions. ![image](https://github.com/007revad/Synology_enable_Deduplication/assets/109316311/ec173f71-1cf7-453f-8655-34fb6cff863e) ![nas4](https://github.com/007revad/Synology_enable_Deduplication/assets/109316311/cf0ab4de-e074-4be4-af8b-bc3c5702ffb2)
kerem closed this issue 2026-03-09 00:56:07 +03:00
Author
Owner

@007revad commented on GitHub (Sep 12, 2023):

So your setup meets these 2 requirements:

  1. Deduplication only works on SSD volumes that are formatted in Btrfs.
  2. The SSD volume needs usage detail analysis enabled.

It could be a DSM 7.2 Update 3 issue, a DS3622xs+ issue or a combination of both. I have heard that my syno_enable_m2_volume script does not work for Xpenology users with DS3622+ using DSM 7.2 Update 3.

This script does the same edit to the same file in DSM as the syno_enable_m2_volume script does so this script would have same issue with DS3622+ using DSM 7.2 Update 3.

I know this script worked for a DS3622+ with DSM 7.2-64561 beta. But I've had no feedback on the DSM 7.2-64750 versions.

I've only ever tried it with RAID 1, but deduplcation works for SATA SSDs too so RAID 10 shouldn't be an issue.

<!-- gh-comment-id:1715542685 --> @007revad commented on GitHub (Sep 12, 2023): So your setup meets these 2 requirements: 1. Deduplication only works on SSD volumes that are formatted in Btrfs. 2. The SSD volume needs usage detail analysis enabled. It could be a DSM 7.2 Update 3 issue, a DS3622xs+ issue or a combination of both. I have heard that my syno_enable_m2_volume script does not work for Xpenology users with DS3622+ using DSM 7.2 Update 3. This script does the same edit to the same file in DSM as the syno_enable_m2_volume script does so this script would have same issue with DS3622+ using DSM 7.2 Update 3. I know this script worked for a DS3622+ with DSM 7.2-64561 beta. But I've had no feedback on the DSM 7.2-64750 versions. I've only ever tried it with RAID 1, but deduplcation works for SATA SSDs too so RAID 10 shouldn't be an issue.
Author
Owner

@jdpdata commented on GitHub (Sep 12, 2023):

I'm using M.2 nvme SSD. (https://www.amazon.com/dp/B07Z4J96C9?ref=ppx_yo2ov_dt_b_product_details&th=1)
Are these nvme supported? Or do you mean SATA SSD only? I've verified Usage Details is enabled.
I used syno_create_m2_volume.sh to create my nvme volume. Is that script different from syno_enable_me_volume.sh? 
I'm on latest 7.2-64570 U3 using AuxArc loader. When I built Christian's loader, I selected some of his extension for DSM (nvmecahce, nvmestorage, drivedbpatch). I assumed these are your scripts that he has included in his loader. I'm willing to do beta testing for you. Just let me know what I need to do.

On Tuesday, September 12, 2023 at 04:25:48 AM PDT, Dave Russell ***@***.***> wrote:  

So your setup meets these 2 requirements:

  • Deduplication only works on SSD volumes that are formatted in Btrfs.
  • The SSD volume needs usage detail analysis enabled.

It could be a DSM 7.2 Update 3 issue, a DS3622xs+ issue or a combination of both. I have heard that my syno_enable_m2_volume script does not work for Xpenology users with DS3622+ using DSM 7.2 Update 3.

This script does the same edit to the same file in DSM as the syno_enable_m2_volume script does so this script would have same issue with DS3622+ using DSM 7.2 Update 3.

I know this script worked for a DS3622+ with DSM 7.2-64561 beta. But I've had no feedback on the DSM 7.2-64750 versions.

I've only ever tried it with RAID 1, but deduplcation works for SATA SSDs too so RAID 10 shouldn't be an issue.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

<!-- gh-comment-id:1715951196 --> @jdpdata commented on GitHub (Sep 12, 2023): I'm using M.2 nvme SSD. (https://www.amazon.com/dp/B07Z4J96C9?ref=ppx_yo2ov_dt_b_product_details&th=1) Are these nvme supported? Or do you mean SATA SSD only? I've verified Usage Details is enabled. I used syno_create_m2_volume.sh to create my nvme volume. Is that script different from syno_enable_me_volume.sh?  I'm on latest 7.2-64570 U3 using AuxArc loader. When I built Christian's loader, I selected some of his extension for DSM (nvmecahce, nvmestorage, drivedbpatch). I assumed these are your scripts that he has included in his loader. I'm willing to do beta testing for you. Just let me know what I need to do. On Tuesday, September 12, 2023 at 04:25:48 AM PDT, Dave Russell ***@***.***> wrote: So your setup meets these 2 requirements: - Deduplication only works on SSD volumes that are formatted in Btrfs. - The SSD volume needs usage detail analysis enabled. It could be a DSM 7.2 Update 3 issue, a DS3622xs+ issue or a combination of both. I have heard that my syno_enable_m2_volume script does not work for Xpenology users with DS3622+ using DSM 7.2 Update 3. This script does the same edit to the same file in DSM as the syno_enable_m2_volume script does so this script would have same issue with DS3622+ using DSM 7.2 Update 3. I know this script worked for a DS3622+ with DSM 7.2-64561 beta. But I've had no feedback on the DSM 7.2-64750 versions. I've only ever tried it with RAID 1, but deduplcation works for SATA SSDs too so RAID 10 shouldn't be an issue. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: ***@***.***>
Author
Owner

@007revad commented on GitHub (Sep 12, 2023):

Deduplication works on SATA SSDs, M.2 SSDs (SATA and NVMe) as well as SAS SSDs.

Both nvmestorage and drivedbpatch are probably my syno_enable_me_volume and syno_hdd_db scripts. I haven't looked at AuXArc but I know tcrp-addons uses those 2 scripts of mine.

syno_enable_m2_volume and syno_enable_depupe are 99% the same script. The only differences are:

Syno_enable_M2_volume:

  • Does not check how much memory is installed.
  • Enables support_m2_pool in synoinfo.conf

Syno_enable_dedupe:

  • Check how much memory is installed.
  • Enables support_btrfs_dedupe in synoinfo.conf

Do the following commands both return "yes"

synogetkeyvalue /etc/synoinfo.conf support_btrfs_dedupe
synogetkeyvalue /etc.defaults/synoinfo.conf support_btrfs_dedupe
<!-- gh-comment-id:1716608525 --> @007revad commented on GitHub (Sep 12, 2023): Deduplication works on SATA SSDs, M.2 SSDs (SATA and NVMe) as well as SAS SSDs. Both nvmestorage and drivedbpatch are probably my syno_enable_me_volume and syno_hdd_db scripts. I haven't looked at AuXArc but I know tcrp-addons uses those 2 scripts of mine. syno_enable_m2_volume and syno_enable_depupe are 99% the same script. The only differences are: Syno_enable_M2_volume: - Does not check how much memory is installed. - Enables support_m2_pool in synoinfo.conf Syno_enable_dedupe: - Check how much memory is installed. - Enables support_btrfs_dedupe in synoinfo.conf Do the following commands both return "yes" ``` synogetkeyvalue /etc/synoinfo.conf support_btrfs_dedupe synogetkeyvalue /etc.defaults/synoinfo.conf support_btrfs_dedupe ```
Author
Owner

@007revad commented on GitHub (Sep 12, 2023):

This did previously work with a DS3622xs+ using:

  • DSM 7.2-64561
  • DSM 7.1.1-42962 Update 4

Nobody has reported if it works or not with 7.2-64570 Update 1 or Update 2.

Are you able to try:

  • DSM 7.2-64570 Update 1
  • DSM 7.2-64570 Update 2

My syno_dsm_restore script will let you install DSM 7.2-64570 (with Update 1) from the DSM webui.
https://github.com/007revad/Synology_DSM_reinstall

You'll need to do all the steps to prevent DSM updating itself to Update 3 during the DSM installation.

<!-- gh-comment-id:1716619874 --> @007revad commented on GitHub (Sep 12, 2023): This did previously work with a DS3622xs+ using: - DSM 7.2-64561 - DSM 7.1.1-42962 Update 4 Nobody has reported if it works or not with 7.2-64570 Update 1 or Update 2. Are you able to try: - DSM 7.2-64570 Update 1 - DSM 7.2-64570 Update 2 My syno_dsm_restore script will let you install DSM 7.2-64570 (with Update 1) from the DSM webui. https://github.com/007revad/Synology_DSM_reinstall You'll need to do all the steps to prevent DSM updating itself to Update 3 during the DSM installation.
Author
Owner

@jdpdata commented on GitHub (Sep 13, 2023):

Both commands returned nothing:
I can try to roll-back to 64570 U1. Is that next logical step? That's not going to cause any problems with my current setup?

image

<!-- gh-comment-id:1716914320 --> @jdpdata commented on GitHub (Sep 13, 2023): Both commands returned nothing: I can try to roll-back to 64570 U1. Is that next logical step? That's not going to cause any problems with my current setup? ![image](https://github.com/007revad/Synology_enable_Deduplication/assets/109316311/168779dd-5609-4877-be26-8f7de79d2cc0)
Author
Owner

@007revad commented on GitHub (Sep 13, 2023):

Run the following 2 commands:

sudo -i synosetkeyvalue /etc.defaults/synoinfo.conf support_btrfs_dedupe yes
sudo -i synosetkeyvalue /etc/synoinfo.conf support_btrfs_dedupe yes

Then check if the deduplication option is available in storage manager.

<!-- gh-comment-id:1716935069 --> @007revad commented on GitHub (Sep 13, 2023): Run the following 2 commands: ``` sudo -i synosetkeyvalue /etc.defaults/synoinfo.conf support_btrfs_dedupe yes ``` ``` sudo -i synosetkeyvalue /etc/synoinfo.conf support_btrfs_dedupe yes ``` Then check if the deduplication option is available in storage manager.
Author
Owner

@jdpdata commented on GitHub (Sep 13, 2023):

You're a genius! That worked!! I very happy to have data deduplication because I use this volume to store alot of database files that could be dupes and taking up valuable space.

On Tuesday, September 12, 2023 at 09:42:04 PM PDT, Dave Russell ***@***.***> wrote:  

Run the following 2 commands:
sudo -i synosetkeyvalue /etc.defaults/synoinfo.conf support_btrfs_dedupe yes
sudo -i synosetkeyvalue /etc/synoinfo.conf support_btrfs_dedupe yes

Then check if the deduplication option is available in storage manager.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

<!-- gh-comment-id:1716941350 --> @jdpdata commented on GitHub (Sep 13, 2023): You're a genius! That worked!! I very happy to have data deduplication because I use this volume to store alot of database files that could be dupes and taking up valuable space. On Tuesday, September 12, 2023 at 09:42:04 PM PDT, Dave Russell ***@***.***> wrote: Run the following 2 commands: sudo -i synosetkeyvalue /etc.defaults/synoinfo.conf support_btrfs_dedupe yes sudo -i synosetkeyvalue /etc/synoinfo.conf support_btrfs_dedupe yes Then check if the deduplication option is available in storage manager. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: ***@***.***>
Author
Owner

@007revad commented on GitHub (Sep 13, 2023):

I'm curious why the support_btrfs_dedupe wasn't already set to yes. The script only edits /etc.defaults/synoinfo.conf and DSM that normally copies that setting to /etc/synoinfo.conf Maybe with DSM 7.2 update 3 I need to set support_btrfs_dedupe to yes in both files.

I'm also curious if the setting survives a reboot in DSM 7.2 update 3.

<!-- gh-comment-id:1716946812 --> @007revad commented on GitHub (Sep 13, 2023): I'm curious why the support_btrfs_dedupe wasn't already set to yes. The script only edits /etc.defaults/synoinfo.conf and DSM that normally copies that setting to /etc/synoinfo.conf Maybe with DSM 7.2 update 3 I need to set support_btrfs_dedupe to yes in both files. I'm also curious if the setting survives a reboot in DSM 7.2 update 3.
Author
Owner

@jdpdata commented on GitHub (Sep 13, 2023):

I'll do a shutdown and restart. Will let you know if it survives.

<!-- gh-comment-id:1716948653 --> @jdpdata commented on GitHub (Sep 13, 2023): I'll do a shutdown and restart. Will let you know if it survives.
Author
Owner

@jdpdata commented on GitHub (Sep 13, 2023):

It's survives after shutdown and a restart. Fantastic!
Now I'm going to try this script on my other DS920+. I got a 2TB folder full of duplicated photos. You think it will work?

<!-- gh-comment-id:1716953183 --> @jdpdata commented on GitHub (Sep 13, 2023): It's survives after shutdown and a restart. Fantastic! Now I'm going to try this script on my other DS920+. I got a 2TB folder full of duplicated photos. You think it will work?
Author
Owner

@007revad commented on GitHub (Sep 13, 2023):

If the DS920+ has 16GB or more of memory it should work.

<!-- gh-comment-id:1716958666 --> @007revad commented on GitHub (Sep 13, 2023): If the DS920+ has 16GB or more of memory it should work.
Author
Owner

@007revad commented on GitHub (Sep 13, 2023):

PS Synology says: "Do not run data deduplication if the selected volume already contains snapshots of shared folders, Thin Provisioned LUNs, or virtual machines (VMs)"

<!-- gh-comment-id:1716963122 --> @007revad commented on GitHub (Sep 13, 2023): PS Synology says: "Do not run data deduplication if the selected volume already contains snapshots of shared folders, Thin Provisioned LUNs, or virtual machines (VMs)"
Author
Owner

@jdpdata commented on GitHub (Sep 13, 2023):

My DS920+ has 32GB. It didn't come up with Dedupe setting on Volume settings after a reboot. I ran both of those commands again with 'yes' at the end. Rebooting..to see if comes up

<!-- gh-comment-id:1716963868 --> @jdpdata commented on GitHub (Sep 13, 2023): My DS920+ has 32GB. It didn't come up with Dedupe setting on Volume settings after a reboot. I ran both of those commands again with 'yes' at the end. Rebooting..to see if comes up
Author
Owner

@jdpdata commented on GitHub (Sep 13, 2023):

PS Synology says: "Do not run data deduplication if the selected volume already contains snapshots of shared folders, Thin Provisioned LUNs, or virtual machines (VMs)"

I do have snapshots of shared folders. Guess I'll have to turn off data deduplication.

DS920+ did not come up with dedupe settings even after multiple attempts. Oh well, I guess it's not a supported model. I do have a bad HDD on volume1. Maybe try it again when WD ships me replacement.

<!-- gh-comment-id:1716977915 --> @jdpdata commented on GitHub (Sep 13, 2023): > PS Synology says: "Do not run data deduplication if the selected volume already contains snapshots of shared folders, Thin Provisioned LUNs, or virtual machines (VMs)" I do have snapshots of shared folders. Guess I'll have to turn off data deduplication. DS920+ did not come up with dedupe settings even after multiple attempts. Oh well, I guess it's not a supported model. I do have a bad HDD on volume1. Maybe try it again when WD ships me replacement.
Author
Owner

@007revad commented on GitHub (Sep 13, 2023):

I'm a bit confused by Synology's "How do I configure Snapshot Replication while ensuring effective data deduplication?"

I think disabling snapshots is only a suggestion for those who are trying to save space.

<!-- gh-comment-id:1716996291 --> @007revad commented on GitHub (Sep 13, 2023): I'm a bit confused by Synology's "[How do I configure Snapshot Replication while ensuring effective data deduplication?](https://kb.synology.com/en-au/DSM/tutorial/Configure_snapshot_replication_and_data_deduplication)" I think disabling snapshots is only a suggestion for those who are trying to save space.
Author
Owner

@007revad commented on GitHub (Sep 13, 2023):

Do you see your NVMe drives in storage manager like in this screenshot?

storage_mgr_pcie_m2_small2

<!-- gh-comment-id:1718423176 --> @007revad commented on GitHub (Sep 13, 2023): Do you see your NVMe drives in storage manager like in this screenshot? ![storage_mgr_pcie_m2_small2](https://github.com/007revad/Synology_enable_Deduplication/assets/39733752/74eeb297-c7aa-4908-aa70-0536c3003e41)
Author
Owner

@jdpdata commented on GitHub (Sep 13, 2023):

nope I don't see that

On Wednesday, September 13, 2023 at 04:05:42 PM PDT, Dave Russell ***@***.***> wrote:  

Do you see your NVMe drives in storage manager like in this screenshot?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

<!-- gh-comment-id:1718451846 --> @jdpdata commented on GitHub (Sep 13, 2023): nope I don't see that On Wednesday, September 13, 2023 at 04:05:42 PM PDT, Dave Russell ***@***.***> wrote: Do you see your NVMe drives in storage manager like in this screenshot? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: ***@***.***>
Author
Owner

@007revad commented on GitHub (Oct 24, 2023):

@jdpdata

I just noticed that this issue is still open. Did we resolve all your questions/issues?

<!-- gh-comment-id:1776529908 --> @007revad commented on GitHub (Oct 24, 2023): @jdpdata I just noticed that this issue is still open. Did we resolve all your questions/issues?
Author
Owner

@jdpdata commented on GitHub (Oct 24, 2023):

Hi Dave,
I don't think Deduplication is working on my Xpenology built DS3622+. I had full volume encryption at the time, which I've since removed due to another issue. I think full volume encryption and deduplication don't work well together. 
I went with another route for deduping. GitHub - qarmin/czkawka: Multi functional app to find duplicates, empty folders, similar images etc.

|
|
|
| | |

|

|
|
| |
GitHub - qarmin/czkawka: Multi functional app to find duplicates, empty ...

Multi functional app to find duplicates, empty folders, similar images etc. - GitHub - qarmin/czkawka: Multi fun...
|

|

|

On Monday, October 23, 2023 at 09:42:39 PM PDT, Dave Russell ***@***.***> wrote:  

@jdpdata

I just noticed that this issue is still open. Did we resolve all your questions/issues?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

<!-- gh-comment-id:1777559647 --> @jdpdata commented on GitHub (Oct 24, 2023): Hi Dave, I don't think Deduplication is working on my Xpenology built DS3622+. I had full volume encryption at the time, which I've since removed due to another issue. I think full volume encryption and deduplication don't work well together.  I went with another route for deduping. GitHub - qarmin/czkawka: Multi functional app to find duplicates, empty folders, similar images etc. | | | | | | | | | | | GitHub - qarmin/czkawka: Multi functional app to find duplicates, empty ... Multi functional app to find duplicates, empty folders, similar images etc. - GitHub - qarmin/czkawka: Multi fun... | | | On Monday, October 23, 2023 at 09:42:39 PM PDT, Dave Russell ***@***.***> wrote: @jdpdata I just noticed that this issue is still open. Did we resolve all your questions/issues? — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you were mentioned.Message ID: ***@***.***>
Author
Owner

@007revad commented on GitHub (Oct 24, 2023):

GitHub - qarmin/czkawka

I've actually seen that before. I think someone on reddit mentioned it once.

<!-- gh-comment-id:1778197183 --> @007revad commented on GitHub (Oct 24, 2023): > GitHub - qarmin/czkawka I've actually seen that before. I think someone on reddit mentioned it once.
Author
Owner

@007revad commented on GitHub (Dec 25, 2023):

@jdpdata

I've released a new version, v1.2.14, that works in DSM 7.2.1 on models with one of following CPU arch: V1000, R1000, Geminilake, Broadwellnkv2, Broadwellnk, Broadwell, Purley and Epyc7002. So it should work on a DS3622xs+ now.

https://github.com/007revad/Synology_enable_Deduplication#works-in-dsm-721-for-the-following-models

<!-- gh-comment-id:1868794588 --> @007revad commented on GitHub (Dec 25, 2023): @jdpdata I've released a new version, [v1.2.14](https://github.com/007revad/Synology_enable_Deduplication/releases/tag/v1.2.14), that works in DSM 7.2.1 on models with one of following CPU arch: V1000, R1000, Geminilake, Broadwellnkv2, Broadwellnk, Broadwell, Purley and Epyc7002. So it should work on a DS3622xs+ now. https://github.com/007revad/Synology_enable_Deduplication#works-in-dsm-721-for-the-following-models
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Synology_enable_Deduplication#103
No description provided.