Synology_enable_Deduplication icon indicating copy to clipboard operation
Synology_enable_Deduplication copied to clipboard

Support for qemu ssd disk?

Open dur3x opened this issue 1 year ago • 6 comments

Hello :-) I'm curious to testing this thing and I tried it on Xpenology - DS3622xs+ - setup on top of proxmox with emulated QEMU (ssd) disks.

Information are:

root@ds3622xs-2:# synogetkeyvalue /etc/synoinfo.conf support_btrfs_dedupe yes root@ds3622xs-2:# synogetkeyvalue /etc.defaults/synoinfo.conf support_btrfs_dedupe yes

root@ds3622xs-2:~# ./syno_enable_dedupe.sh --check Synology_enable_Deduplication v1.3.25 DS3622xs+ DSM 7.2.1-69057-5

StorageManager 1.0.0-0017

Using options: --check Running from: /root/syno_enable_dedupe.sh

NAS has 4 GB of memory.

Btrfs Data Deduplication is 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.

Screenshot 2024-05-30 at 23 18 23 Screenshot 2024-05-30 at 23 18 08

Thanks in advance for your help

dur3x avatar May 30 '24 21:05 dur3x

It can take up to 20 minutes before the dedupe menu option appears. If storage manager was already open you also need to close and reopen it.

007revad avatar May 30 '24 21:05 007revad

It can take up to 20 minutes before the dedupe menu option appears. If storage manager was already open you also need to close and reopen it.

Thanks for your quick answer :-) I will have a look tomorrow and keep you in touch

dur3x avatar May 30 '24 21:05 dur3x

I probably miss something because the menu is still not appear :'( Do you have some hints/things to check ?

dur3x avatar Jun 01 '24 07:06 dur3x

NAS has 4 GB of memory.

Btrfs Data Deduplication is enabled.

Tiny Btrfs Data Deduplication is enabled.

I'm wondering how "Btrfs Data Deduplication" got enabled when the DS3622xs+ does not have it enabled in DSM 7.2.1, and the script thinks it only has 4GB of memory.

  • Btrfs Tiny Data Deduplication requires 4GB of memory or more.
  • Btrfs Data Deduplication requires 16GB of memory or more.

Do you have usage details enabled? https://kb.synology.com/en-global/DSM/help/DSM/StorageManager/volume_view_usage?version=7

Storage Manager checks if drives are SSD or not. What does this command return?

syno_hdd_util --ssd_detect

007revad avatar Jun 02 '24 19:06 007revad

To be honest there are both btrfs and tiny btfrs because I set manually, for testing, the btfrs value. I can easily reset it. I also tested on two others instances SA6300 and DS720+ and I have the same problem. All of these xpenology setups are done with the same virtual disks from proxmox so I suppose it's linked to my virtual disks.

The command you gave returns this:

root@ds3622xs-2:~# syno_hdd_util --ssd_detect
Model                Firmware     SN                   Dev        is SSD?
HARDDISK             2.5+         QM00009              /dev/sdc   yes
HARDDISK             2.5+         QM00007              /dev/sdb   yes

dur3x avatar Jun 02 '24 20:06 dur3x

It is looking like it's a an issue with virtual disks. Xpenology, proxmox and virtual disks are all beyond my level of knowledge.

007revad avatar Jun 02 '24 20:06 007revad