[GH-ISSUE #550] StorageManager latency and missing /run/synostorage/disks/*/compatibility_action files after using Synology_HDD_db #697

Closed
opened 2026-03-11 13:13:10 +03:00 by kerem · 13 comments
Owner

Originally created by @aferende on GitHub (Jan 6, 2026).
Original GitHub issue: https://github.com/007revad/Synology_HDD_db/issues/550

Hi @007revad,

I’m reporting an issue that I’m trying to better understand and possibly fix, related to Storage Manager latency and repeated errors about missing files under /run/synostorage/disks/*.

I’m not sure if this is expected behavior or a side effect of how I’m using the scripts, so I’d appreciate some guidance.


System information

  • NAS model: Synology DS1821+
  • Architecture: x86_64
  • DSM version: 7.3.2-86009
  • Storage Manager: 1.0.1-1100

Expansion / cards

  • PCIe card: Synology E10M20-T1
    • 10GbE NIC
    • NVMe support enabled

Expansion unit

  • DX517 connected

Drives

HDDs (internal + DX517):

  • ST16000NE000-2RW103 – 16 TB
  • ST16000NM001G-2KK103 – 16 TB

NVMe:

  • WD Red SN700 2 TB (used as NVMe volume)

Scripts executed at every NAS boot

1. Enable E10M20-T1 (NIC + NVMe)

/volume1/Andrea/Dropbox/Backup/NAS/Scripts/Synology_enable_M2_card/syno_enable_m2_card.sh \
  --autoupdate=0 --model=E10M20-T1 -e

Output (expected, no errors):

  • E10M20-T1 NIC already enabled
  • E10M20-T1 NVMe already enabled
  • E10M20-T1 already exists in model.dtb

2. Synology_HDD_db

/volume1/Andrea/Dropbox/Backup/NAS/Scripts/HDDDB/syno_hdd_db.sh -r -n -p --autoupdate=0

Version used:

  • Synology_HDD_db v3.6.116

All disks and devices are detected correctly and already present in the DB files.


Errors observed

During the execution of syno_hdd_db.sh, I consistently get many repeated errors like:

json_object_from_file: error opening file /run/synostorage/disks/sataX/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/nvmeXn1/compatibility_action: No such file or directory

This happens for:

  • all SATA disks
  • NVMe disks
  • disks in the DX517 expansion unit

The script completes successfully, but these errors are always present.


Observable side effects on the system

After this setup, I notice significant latency in DSM:

  • Storage Manager takes ~60–80 seconds to open
  • Storage-related DSM APIs respond very slowly
  • Other DSM components (system info, auth, networking) are fast and responsive

This suggests that Storage Manager is retrying or blocking while checking disk compatibility, possibly due to the missing compatibility_action files.


Why I’m asking

I’m trying to understand:

  1. Are the missing
    /run/synostorage/disks/*/compatibility_action
    files expected in this setup?
  2. Is Synology_HDD_db supposed to create or reference those files?
  3. Could these missing files explain the Storage Manager latency?
  4. Is there a recommended way to avoid or clean up this condition?

If useful, I can collect:

  • additional logs
  • strace output
  • Storage Manager logs
  • before/after reboot comparisons

Just let me know what would help most.

Thanks a lot for your work on this project and for any guidance you can provide.

Here full log:

Synology_HDD_db v3.6.116
DS1821+ x86_64 DSM 7.3.2-86009 
StorageManager 1.0.1-1100
SynoOnlinePack_v2 version 99991022

ds1821+_host_v7 version 8065

Using options: -r -n -p --autoupdate=0
Running from: /volume1/Andrea/Dropbox/Backup/NAS/Scripts/HDDDB/syno_hdd_db.sh

HDD/SSD models found: 2
ST16000NE000-2RW103,EN02,16000 GB
ST16000NM001G-2KK103,SN03,16000 GB

M.2 drive models found: 1
WD Red SN700 2000GB,112000WD,2000 GB

M.2 PCIe card models found: 1
E10M20-T1

Expansion Unit models found: 1
DX517

ST16000NE000-2RW103 (EN02) already exists in ds1821+_host_v7.db
ST16000NE000-2RW103 (EN02) already exists in dx517_v7.db
ST16000NM001G-2KK103 (SN03) already exists in ds1821+_host_v7.db
ST16000NM001G-2KK103 (SN03) already exists in dx517_v7.db
WD Red SN700 2000GB (112000WD) already exists in ds1821+_host_v7.db
WD Red SN700 2000GB (112000WD) already exists in ds1821+_e10m20-t1_v7.db

E10M20-T1 NIC already enabled for DS1821+
E10M20-T1 NVMe already enabled for DS1821+
E10M20-T1 already exists in model.dtb

Support disk compatibility already enabled.

Support memory compatibility already disabled.

Max memory already set to 64 GB.

NVMe support already enabled.

M.2 volume support already enabled.

Drive db auto updates already disabled.

Creating pool in UI on drives in M.2 adaptor card already enabled.
json_object_from_file: error opening file /run/synostorage/disks/sata15/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata15/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata16/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata16/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata17/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata17/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata18/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata18/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata6/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata6/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata7/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata7/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata8/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata8/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata9/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata9/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata1/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata1/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata10/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata10/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata11/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata11/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata12/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata12/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata13/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata13/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata14/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata14/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata2/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata2/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata3/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata3/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata4/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata4/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata5/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata5/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/nvme0n1/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/nvme0n1/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/nvme1n1/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/nvme1n1/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata15/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata16/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata17/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata18/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata6/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata7/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata8/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata9/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata1/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata10/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata11/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata12/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata13/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata14/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata2/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata3/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata4/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/sata5/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/nvme0n1/compatibility_action: No such file or directory
json_object_from_file: error opening file /run/synostorage/disks/nvme1n1/compatibility_action: No such file or directory

DSM successfully checked disk compatibility.

You may need to reboot the Synology to see the changes.

Originally created by @aferende on GitHub (Jan 6, 2026). Original GitHub issue: https://github.com/007revad/Synology_HDD_db/issues/550 Hi @007revad, I’m reporting an issue that I’m trying to better understand and possibly fix, related to **Storage Manager latency** and repeated errors about missing files under `/run/synostorage/disks/*`. I’m not sure if this is expected behavior or a side effect of how I’m using the scripts, so I’d appreciate some guidance. --- ## System information - **NAS model:** Synology DS1821+ - **Architecture:** x86_64 - **DSM version:** 7.3.2-86009 - **Storage Manager:** 1.0.1-1100 ### Expansion / cards - **PCIe card:** Synology E10M20-T1 - 10GbE NIC - NVMe support enabled ### Expansion unit - **DX517** connected ### Drives **HDDs (internal + DX517):** - ST16000NE000-2RW103 – 16 TB - ST16000NM001G-2KK103 – 16 TB **NVMe:** - WD Red SN700 2 TB (used as NVMe volume) --- ## Scripts executed at every NAS boot ### 1. Enable E10M20-T1 (NIC + NVMe) ```bash /volume1/Andrea/Dropbox/Backup/NAS/Scripts/Synology_enable_M2_card/syno_enable_m2_card.sh \ --autoupdate=0 --model=E10M20-T1 -e ``` Output (expected, no errors): - E10M20-T1 NIC already enabled - E10M20-T1 NVMe already enabled - E10M20-T1 already exists in model.dtb --- ### 2. Synology_HDD_db ```bash /volume1/Andrea/Dropbox/Backup/NAS/Scripts/HDDDB/syno_hdd_db.sh -r -n -p --autoupdate=0 ``` Version used: - **Synology_HDD_db v3.6.116** All disks and devices are detected correctly and already present in the DB files. --- ## Errors observed During the execution of `syno_hdd_db.sh`, I consistently get **many repeated errors** like: ```text json_object_from_file: error opening file /run/synostorage/disks/sataX/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/nvmeXn1/compatibility_action: No such file or directory ``` This happens for: - all SATA disks - NVMe disks - disks in the DX517 expansion unit The script completes successfully, but these errors are always present. --- ## Observable side effects on the system After this setup, I notice **significant latency in DSM**: - **Storage Manager takes ~60–80 seconds to open** - Storage-related DSM APIs respond very slowly - Other DSM components (system info, auth, networking) are fast and responsive This suggests that **Storage Manager is retrying or blocking while checking disk compatibility**, possibly due to the missing `compatibility_action` files. --- ## Why I’m asking I’m trying to understand: 1. Are the missing `/run/synostorage/disks/*/compatibility_action` files expected in this setup? 2. Is Synology_HDD_db supposed to create or reference those files? 3. Could these missing files explain the Storage Manager latency? 4. Is there a recommended way to avoid or clean up this condition? If useful, I can collect: - additional logs - strace output - Storage Manager logs - before/after reboot comparisons Just let me know what would help most. Thanks a lot for your work on this project and for any guidance you can provide. Here full log: ``` Synology_HDD_db v3.6.116 DS1821+ x86_64 DSM 7.3.2-86009 StorageManager 1.0.1-1100 SynoOnlinePack_v2 version 99991022 ds1821+_host_v7 version 8065 Using options: -r -n -p --autoupdate=0 Running from: /volume1/Andrea/Dropbox/Backup/NAS/Scripts/HDDDB/syno_hdd_db.sh HDD/SSD models found: 2 ST16000NE000-2RW103,EN02,16000 GB ST16000NM001G-2KK103,SN03,16000 GB M.2 drive models found: 1 WD Red SN700 2000GB,112000WD,2000 GB M.2 PCIe card models found: 1 E10M20-T1 Expansion Unit models found: 1 DX517 ST16000NE000-2RW103 (EN02) already exists in ds1821+_host_v7.db ST16000NE000-2RW103 (EN02) already exists in dx517_v7.db ST16000NM001G-2KK103 (SN03) already exists in ds1821+_host_v7.db ST16000NM001G-2KK103 (SN03) already exists in dx517_v7.db WD Red SN700 2000GB (112000WD) already exists in ds1821+_host_v7.db WD Red SN700 2000GB (112000WD) already exists in ds1821+_e10m20-t1_v7.db E10M20-T1 NIC already enabled for DS1821+ E10M20-T1 NVMe already enabled for DS1821+ E10M20-T1 already exists in model.dtb Support disk compatibility already enabled. Support memory compatibility already disabled. Max memory already set to 64 GB. NVMe support already enabled. M.2 volume support already enabled. Drive db auto updates already disabled. Creating pool in UI on drives in M.2 adaptor card already enabled. json_object_from_file: error opening file /run/synostorage/disks/sata15/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata15/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata16/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata16/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata17/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata17/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata18/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata18/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata6/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata6/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata7/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata7/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata8/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata8/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata9/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata9/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata1/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata1/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata10/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata10/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata11/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata11/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata12/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata12/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata13/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata13/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata14/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata14/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata2/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata2/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata3/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata3/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata4/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata4/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata5/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata5/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/nvme0n1/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/nvme0n1/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/nvme1n1/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/nvme1n1/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata15/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata16/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata17/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata18/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata6/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata7/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata8/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata9/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata1/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata10/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata11/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata12/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata13/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata14/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata2/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata3/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata4/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/sata5/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/nvme0n1/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/nvme1n1/compatibility_action: No such file or directory DSM successfully checked disk compatibility. You may need to reboot the Synology to see the changes. ```
kerem closed this issue 2026-03-11 13:13:15 +03:00
Author
Owner

@007revad commented on GitHub (Jan 6, 2026):

I have a E10M20-T1 in my DS1821+ and have both syno_enable_m2_card and syno_hdd_db scheduled to run at boot up. I've not seen the issue you are having... though my DS1821+ is still using DSM 7.3.1

I never use the -p or --pcie option and I had forgotten what it does. Looking at the script I see it's only used to force "Enable creating pool on drives in M.2 adaptor card" if a PCIe M.2 card was not found.

The fact that the script printed "Creating pool in UI on drives in M.2 adaptor card already enabled." means that whatever is causing the error message you are seeing comes after that section of code.

The script does not read or change anything in /run except to echo 1 to /run/synostorage/disks/nvmeN/m2_pool_support to enable creating a storage pool and volume on NVMe drives in a PCIe card.

On my DS925+ with DSM 7.3.2 /run/synostorage/disks/nvme0n1/compatibility_action contains:

root@DS925plus:~# jq . /run/synostorage/disks/nvme0n1/compatibility_action
{
  "alert": false,
  "allow_auto_repair": true,
  "allow_binding": true,
  "allow_detected_scan": true,
  "allow_ma_create": true,
  "hide_alloc_status": false,
  "hide_fw_version": false,
  "hide_is4Kn": false,
  "hide_remain_life": false,
  "hide_sb_days_left": false,
  "hide_serial": false,
  "hide_temperature": false,
  "hide_unc": false,
  "notification": false,
  "notify_health_status": true,
  "notify_lifetime": true,
  "notify_unc": true,
  "pool_compatibility": "support",
  "selectable": true,
  "send_health_report": true,
  "show_lifetime_chart": true,
  "ui_compatibility": "support"
}

The compatibility_action for my SATA SSD, Synology HDD, Seagate HDD and WD HDD all show exactly the same thing, with the same values.

Does jq ./run/synostorage/disks/sata1/compatibility_action return anything, or the same file not found error?

Does ls /run/synostorage/disks/sata1 | grep 'compatibility' return the following:

compatibility
compatibility_action
compatibility.lock
force_compatibility
<!-- gh-comment-id:3713252334 --> @007revad commented on GitHub (Jan 6, 2026): I have a E10M20-T1 in my DS1821+ and have both syno_enable_m2_card and syno_hdd_db scheduled to run at boot up. I've not seen the issue you are having... though my DS1821+ is still using DSM 7.3.1 I never use the -p or --pcie option and I had forgotten what it does. Looking at the script I see it's only used to force "Enable creating pool on drives in M.2 adaptor card" if a PCIe M.2 card was not found. The fact that the script printed "Creating pool in UI on drives in M.2 adaptor card already enabled." means that whatever is causing the error message you are seeing comes after that section of code. The script does not read or change anything in /run except to echo 1 to `/run/synostorage/disks/nvmeN/m2_pool_support` to enable creating a storage pool and volume on NVMe drives in a PCIe card. On my DS925+ with DSM 7.3.2 `/run/synostorage/disks/nvme0n1/compatibility_action` contains: ``` root@DS925plus:~# jq . /run/synostorage/disks/nvme0n1/compatibility_action { "alert": false, "allow_auto_repair": true, "allow_binding": true, "allow_detected_scan": true, "allow_ma_create": true, "hide_alloc_status": false, "hide_fw_version": false, "hide_is4Kn": false, "hide_remain_life": false, "hide_sb_days_left": false, "hide_serial": false, "hide_temperature": false, "hide_unc": false, "notification": false, "notify_health_status": true, "notify_lifetime": true, "notify_unc": true, "pool_compatibility": "support", "selectable": true, "send_health_report": true, "show_lifetime_chart": true, "ui_compatibility": "support" } ``` The compatibility_action for my SATA SSD, Synology HDD, Seagate HDD and WD HDD all show exactly the same thing, with the same values. Does `jq ./run/synostorage/disks/sata1/compatibility_action` return anything, or the same file not found error? Does `ls /run/synostorage/disks/sata1 | grep 'compatibility'` return the following: ``` compatibility compatibility_action compatibility.lock force_compatibility ```
Author
Owner

@007revad commented on GitHub (Jan 6, 2026):

I suspect the line with synostgdisk --check-all-disks-compatibility is where the error messages occur.

If you run this do you get those 3 lines of errors for each drive?

sudo synostgdisk --check-all-disks-compatibility
<!-- gh-comment-id:3713266722 --> @007revad commented on GitHub (Jan 6, 2026): I suspect the line with `synostgdisk --check-all-disks-compatibility` is where the error messages occur. If you run this do you get those 3 lines of errors for each drive? ``` sudo synostgdisk --check-all-disks-compatibility ```
Author
Owner

@aferende commented on GitHub (Jan 6, 2026):

Thanks, here are the results of the checks you asked me to run.


Checking compatibility_action files

SATA disk example (sata1)

Command:

ls /run/synostorage/disks/sata1 | grep compatibility

Output:

compatibility
compatibility.lock
force_compatibility

Command:

jq . /run/synostorage/disks/sata1/compatibility_action

Output:

jq: error: Could not open file /run/synostorage/disks/sata1/compatibility_action:
    No such file or directory

NVMe disk example (nvme0n1)

Command:

ls /run/synostorage/disks/nvme0n1 | grep compatibility

Output:

compatibility
compatibility.lock
force_compatibility

Command:

jq . /run/synostorage/disks/nvme0n1/compatibility_action

Output:

jq: error: Could not open file /run/synostorage/disks/nvme0n1/compatibility_action:
    No such file or directory

The same result applies to all SATA disks, NVMe disks, and the DX517 expansion unit.
The compatibility_action file is missing everywhere.


synostgdisk test

Command:

sudo synostgdisk --check-all-disks-compatibility

Output (repeated for each disk):

json_object_from_file: error opening file
/run/synostorage/disks/sataX/compatibility_action: No such file or directory

json_object_from_file: error opening file
/run/synostorage/disks/nvmeXn1/compatibility_action: No such file or directory

The errors appear 2–3 times per disk and the command takes ~90 seconds to complete.

During this time:

  • Storage Manager takes ~60–80 seconds to open
  • storage-related DSM APIs are very slow
  • non-storage DSM components remain responsive

On DSM 7.3.2 it looks like:

/run/synostorage/disks/*/compatibility_action

is not being created, but synostgdisk still expects it and retries internally.

Your scripts do not appear to be involved in this behaviour.
This looks like a DSM Storage Manager / synostgdisk issue rather than a
Synology_HDD_db issue.

I don't know what could have caused these problems, but today I checked the output of the startup scripts and noticed this situation, so I linked them to possible latencies I've been experiencing on the NAS for a few weeks.
Do you have any idea what could have happened and how I can fix it?
Thanks in advance.

<!-- gh-comment-id:3713788284 --> @aferende commented on GitHub (Jan 6, 2026): Thanks, here are the results of the checks you asked me to run. --- ## Checking `compatibility_action` files ### SATA disk example (`sata1`) Command: ```bash ls /run/synostorage/disks/sata1 | grep compatibility ``` Output: ```text compatibility compatibility.lock force_compatibility ``` Command: ```bash jq . /run/synostorage/disks/sata1/compatibility_action ``` Output: ```text jq: error: Could not open file /run/synostorage/disks/sata1/compatibility_action: No such file or directory ``` --- ### NVMe disk example (`nvme0n1`) Command: ```bash ls /run/synostorage/disks/nvme0n1 | grep compatibility ``` Output: ```text compatibility compatibility.lock force_compatibility ``` Command: ```bash jq . /run/synostorage/disks/nvme0n1/compatibility_action ``` Output: ```text jq: error: Could not open file /run/synostorage/disks/nvme0n1/compatibility_action: No such file or directory ``` The same result applies to all SATA disks, NVMe disks, and the DX517 expansion unit. The `compatibility_action` file is missing everywhere. --- ## `synostgdisk` test Command: ```bash sudo synostgdisk --check-all-disks-compatibility ``` Output (repeated for each disk): ```text json_object_from_file: error opening file /run/synostorage/disks/sataX/compatibility_action: No such file or directory json_object_from_file: error opening file /run/synostorage/disks/nvmeXn1/compatibility_action: No such file or directory ``` The errors appear 2–3 times per disk and the command takes ~90 seconds to complete. During this time: - Storage Manager takes ~60–80 seconds to open - storage-related DSM APIs are very slow - non-storage DSM components remain responsive --- On DSM 7.3.2 it looks like: ``` /run/synostorage/disks/*/compatibility_action ``` is not being created, but `synostgdisk` still expects it and retries internally. Your scripts do not appear to be involved in this behaviour. This looks like a DSM Storage Manager / `synostgdisk` issue rather than a Synology_HDD_db issue. I don't know what could have caused these problems, but today I checked the output of the startup scripts and noticed this situation, so I linked them to possible latencies I've been experiencing on the NAS for a few weeks. Do you have any idea what could have happened and how I can fix it? Thanks in advance.
Author
Owner

@007revad commented on GitHub (Jan 6, 2026):

Possible Solution 1

Try the following commands:

string='{"alert":false,"allow_auto_repair":true,"allow_binding":true,"allow_detected_scan":true,"allow_ma_create":true,"hide_alloc_status":false,"hide_fw_version":false,"hide_is4Kn":false,"hide_remain_life":false,"hide_sb_days_left":false,"hide_serial":false,"hide_temperature":false,"hide_unc":false,"notification":false,"notify_health_status":true,"notify_lifetime":true,"notify_unc":true,"pool_compatibility":"support","selectable":true,"send_health_report":true,"show_lifetime_chart":true,"ui_compatibility":"support"}'
sudo -n echo "$string" > /run/synostorage/disks/nvme0n1/compatibility_action
sudo chmod 0644 /run/synostorage/disks/nvme0n1/compatibility_action
sudo -n echo "$string" > /run/synostorage/disks/nvme1n1/compatibility_action
sudo chmod 0644 /run/synostorage/disks/nvme1n1/compatibility_action

Then run the following command:

sudo synostgdisk --check-all-disks-compatibility

And check if the errors for the nvme drives are now gone. If the nvme errors are gone reboot and check with:

ls /run/synostorage/disks/nvme0n1 | grep compatibility

jq . /run/synostorage/disks/nvme0n1/compatibility_action

If they are still okay, then repeat those same commands for all 18 SATA drives.

Possible Solution 2

If the errors returned after a reboot then we can force DSM to let you do an update of the drives databases:

Run the following command:

sudo synosetkeyvalue /var/packages/SynoOnlinePack_v2/INFO version 100

Then:

  1. Go to Storage Manager > HDD/SSD > Settings > Advanced.
  2. Scroll down to "Drive Database".
  3. Click "Update Now".
Image
<!-- gh-comment-id:3714183750 --> @007revad commented on GitHub (Jan 6, 2026): ### Possible Solution 1 Try the following commands: ``` string='{"alert":false,"allow_auto_repair":true,"allow_binding":true,"allow_detected_scan":true,"allow_ma_create":true,"hide_alloc_status":false,"hide_fw_version":false,"hide_is4Kn":false,"hide_remain_life":false,"hide_sb_days_left":false,"hide_serial":false,"hide_temperature":false,"hide_unc":false,"notification":false,"notify_health_status":true,"notify_lifetime":true,"notify_unc":true,"pool_compatibility":"support","selectable":true,"send_health_report":true,"show_lifetime_chart":true,"ui_compatibility":"support"}' sudo -n echo "$string" > /run/synostorage/disks/nvme0n1/compatibility_action sudo chmod 0644 /run/synostorage/disks/nvme0n1/compatibility_action sudo -n echo "$string" > /run/synostorage/disks/nvme1n1/compatibility_action sudo chmod 0644 /run/synostorage/disks/nvme1n1/compatibility_action ``` Then run the following command: ``` sudo synostgdisk --check-all-disks-compatibility ``` And check if the errors for the nvme drives are now gone. If the nvme errors are gone reboot and check with: ``` ls /run/synostorage/disks/nvme0n1 | grep compatibility jq . /run/synostorage/disks/nvme0n1/compatibility_action ``` If they are still okay, then repeat those same commands for all 18 SATA drives. ### Possible Solution 2 If the errors returned after a reboot then we can force DSM to let you do an update of the drives databases: Run the following command: ``` sudo synosetkeyvalue /var/packages/SynoOnlinePack_v2/INFO version 100 ``` Then: 1. Go to Storage Manager > HDD/SSD > Settings > Advanced. 2. Scroll down to "Drive Database". 3. Click "Update Now". <img width="913" height="679" alt="Image" src="https://github.com/user-attachments/assets/2837a005-b650-4c49-91ad-11c6cba92393" />
Author
Owner

@aferende commented on GitHub (Jan 6, 2026):

Hi Dave, thank you for your help and for the detailed suggestions.

As requested, I collected the results of both proposed solutions.
Both solutions were tested in the suggested order, and each test included a full reboot.

Below are the exact commands executed and their outputs.


Solution 1 – Manually creating compatibility_action

Command executed (NVMe example)

string='{"alert":false,"allow_auto_repair":true,"allow_binding":true,"allow_detected_scan":true,"allow_ma_create":true,"hide_alloc_status":false,"hide_fw_version":false,"hide_is4Kn":false,"hide_remain_life":false,"hide_sb_days_left":false,"hide_serial":false,"hide_temperature":false,"hide_unc":false,"notification":false,"notify_health_status":true,"notify_lifetime":true,"notify_unc":true,"pool_compatibility":"support","selectable":true,"send_health_report":true,"show_lifetime_chart":true,"ui_compatibility":"support"}'

sudo -n echo "$string" > /run/synostorage/disks/nvme0n1/compatibility_action
sudo chmod 0644 /run/synostorage/disks/nvme0n1/compatibility_action
sudo -n echo "$string" > /run/synostorage/disks/nvme1n1/compatibility_action
sudo chmod 0644 /run/synostorage/disks/nvme1n1/compatibility_action

Check before reboot

sudo synostgdisk --check-all-disks-compatibility

Output:

(no errors)

After reboot

ls /run/synostorage/disks/nvme0n1 | grep compatibility
compatibility
compatibility.lock
force_compatibility
jq . /run/synostorage/disks/nvme0n1/compatibility_action
jq: error: Could not open file /run/synostorage/disks/nvme0n1/compatibility_action: No such file or directory

Result:
compatibility_action files are removed at reboot and are not recreated by DSM.


Solution 2 – Forcing Drive Database update

Command executed

sudo synosetkeyvalue /var/packages/SynoOnlinePack_v2/INFO version 100

GUI steps

  • Storage Manager
  • HDD/SSD
  • Settings
  • Advanced
  • Drive Database → Update Now

Reboot performed after update

Post-reboot verification

ls /run/synostorage/disks/sata1 | grep compatibility
compatibility
compatibility.lock
force_compatibility
jq . /run/synostorage/disks/sata1/compatibility_action
jq: error: Could not open file /run/synostorage/disks/sata1/compatibility_action: No such file or directory

Same result applies to all SATA disks and NVMe disks.


Summary

  • Both Solution 1 and Solution 2 were tested
  • Each test included a full reboot
  • In both cases:
    • compatibility_action files exist only until reboot
    • DSM 7.3.2 does not recreate them at startup
    • synostgdisk works correctly only while the files exist

Please let me know if there are other diagnostic steps or alternative approaches you would recommend to further investigate or resolve this behavior.

Thank you again for your time and support.

<!-- gh-comment-id:3714322540 --> @aferende commented on GitHub (Jan 6, 2026): Hi Dave, thank you for your help and for the detailed suggestions. As requested, I collected the results of both proposed solutions. Both solutions were tested in the suggested order, and each test included a full reboot. Below are the exact commands executed and their outputs. --- ## Solution 1 – Manually creating `compatibility_action` ### Command executed (NVMe example) ```bash string='{"alert":false,"allow_auto_repair":true,"allow_binding":true,"allow_detected_scan":true,"allow_ma_create":true,"hide_alloc_status":false,"hide_fw_version":false,"hide_is4Kn":false,"hide_remain_life":false,"hide_sb_days_left":false,"hide_serial":false,"hide_temperature":false,"hide_unc":false,"notification":false,"notify_health_status":true,"notify_lifetime":true,"notify_unc":true,"pool_compatibility":"support","selectable":true,"send_health_report":true,"show_lifetime_chart":true,"ui_compatibility":"support"}' sudo -n echo "$string" > /run/synostorage/disks/nvme0n1/compatibility_action sudo chmod 0644 /run/synostorage/disks/nvme0n1/compatibility_action sudo -n echo "$string" > /run/synostorage/disks/nvme1n1/compatibility_action sudo chmod 0644 /run/synostorage/disks/nvme1n1/compatibility_action ``` ### Check before reboot ```bash sudo synostgdisk --check-all-disks-compatibility ``` Output: ```text (no errors) ``` ### After reboot ```bash ls /run/synostorage/disks/nvme0n1 | grep compatibility ``` ```text compatibility compatibility.lock force_compatibility ``` ```bash jq . /run/synostorage/disks/nvme0n1/compatibility_action ``` ```text jq: error: Could not open file /run/synostorage/disks/nvme0n1/compatibility_action: No such file or directory ``` Result: `compatibility_action` files are removed at reboot and are not recreated by DSM. --- ## Solution 2 – Forcing Drive Database update ### Command executed ```bash sudo synosetkeyvalue /var/packages/SynoOnlinePack_v2/INFO version 100 ``` ### GUI steps - Storage Manager - HDD/SSD - Settings - Advanced - Drive Database → Update Now ### Reboot performed after update ### Post-reboot verification ```bash ls /run/synostorage/disks/sata1 | grep compatibility ``` ```text compatibility compatibility.lock force_compatibility ``` ```bash jq . /run/synostorage/disks/sata1/compatibility_action ``` ```text jq: error: Could not open file /run/synostorage/disks/sata1/compatibility_action: No such file or directory ``` Same result applies to all SATA disks and NVMe disks. --- ## Summary - Both Solution 1 and Solution 2 were tested - Each test included a full reboot - In both cases: - `compatibility_action` files exist only until reboot - DSM 7.3.2 does not recreate them at startup - `synostgdisk` works correctly only while the files exist Please let me know if there are other diagnostic steps or alternative approaches you would recommend to further investigate or resolve this behavior. Thank you again for your time and support.
Author
Owner

@aferende commented on GitHub (Jan 6, 2026):

In trying to figure out what might have caused this state on my NAS, I found this script I'd run a while back (during a week when I'd removed syno_hdd_db for testing and reverted to using NVMe drives as Synology's native cache).

Then, at least in my intentions, I cleaned everything up and reinstalled syno_hdd_db and enable_m2_card, but something might have gone wrong at this point.

I'm posting the script's contents here in case you think it might be helpful in addressing the problem:

#!/bin/sh
FILES="
/usr/syno/etc.defaults/adapter_cards.conf
/usr/syno/etc/adapter_cards.conf
"
SECTION="[AQC107_sup_nic]"
ENTRY="DS1821+=yes"
echo "=== Fix AQC107 for DS1821+ ==="
for FILE in $FILES; do
    echo "Controllo file: $FILE"
    if [ ! -f "$FILE" ]; then
        echo "  ⚠️  File non trovato, salto."
        continue
    fi
    if ! grep -q "$SECTION" "$FILE"; then
        echo "  ❌ Sezione $SECTION non trovata nel file $FILE!"
        continue
    fi
    if grep -q "$ENTRY" "$FILE"; then
        echo "  ✔️ Entry già presente, nessuna modifica."
    else
        echo "  ➕ Aggiungo entry dopo la sezione…"
        awk -v section="$SECTION" -v entry="$ENTRY" '
            $0 == section { print; print entry; next }
            { print }
        ' "$FILE" > "${FILE}.tmp"
        mv "${FILE}.tmp" "$FILE"
        echo "  ✔️ Entry aggiunta correttamente."
    fi
done
echo "=== Verifica finale ==="
grep -n "AQC107" /usr/syno/etc/adapter_cards.conf
grep -n "AQC107" /usr/syno/etc.defaults/adapter_cards.conf
echo "=== Fine. Riavvio consigliato ==="

Thanks always.

<!-- gh-comment-id:3715969353 --> @aferende commented on GitHub (Jan 6, 2026): In trying to figure out what might have caused this state on my NAS, I found this script I'd run a while back (during a week when I'd removed syno_hdd_db for testing and reverted to using NVMe drives as Synology's native cache). Then, at least in my intentions, I cleaned everything up and reinstalled syno_hdd_db and enable_m2_card, but something might have gone wrong at this point. I'm posting the script's contents here in case you think it might be helpful in addressing the problem: ``` #!/bin/sh FILES=" /usr/syno/etc.defaults/adapter_cards.conf /usr/syno/etc/adapter_cards.conf " SECTION="[AQC107_sup_nic]" ENTRY="DS1821+=yes" echo "=== Fix AQC107 for DS1821+ ===" for FILE in $FILES; do echo "Controllo file: $FILE" if [ ! -f "$FILE" ]; then echo " ⚠️ File non trovato, salto." continue fi if ! grep -q "$SECTION" "$FILE"; then echo " ❌ Sezione $SECTION non trovata nel file $FILE!" continue fi if grep -q "$ENTRY" "$FILE"; then echo " ✔️ Entry già presente, nessuna modifica." else echo " ➕ Aggiungo entry dopo la sezione…" awk -v section="$SECTION" -v entry="$ENTRY" ' $0 == section { print; print entry; next } { print } ' "$FILE" > "${FILE}.tmp" mv "${FILE}.tmp" "$FILE" echo " ✔️ Entry aggiunta correttamente." fi done echo "=== Verifica finale ===" grep -n "AQC107" /usr/syno/etc/adapter_cards.conf grep -n "AQC107" /usr/syno/etc.defaults/adapter_cards.conf echo "=== Fine. Riavvio consigliato ===" ``` Thanks always.
Author
Owner

@007revad commented on GitHub (Jan 6, 2026):

I'm assuming this is a real DS1821+ and not Xpenology.

I've seen that script, on reddit I think, a few weeks ago. It's definitely not needed for a E10M20-T1. And it would only work for older, pre 20 series, models that don't use device tree, and only for generic 10G cards that use the AQC107 chip.

I don't think that would cause your problem.

You can either edit /usr/syno/etc.defaults/adapter_cards.conf and /usr/syno/etc/adapter_cards.conf with vi or vim (or WinSCP which is much easier) to remove:

[AQC107_sup_nic]
DS1821+=yes

Or restore the 2 adapter_cards.conf files from the backup syno_enable_m2_card would have created.

First check that the backup and current files are different:

diff <(sort /usr/syno/etc.defaults/adapter_cards.conf) <(sort /usr/syno/etc.defaults/adapter_cards.conf.bak)

Then restore the files from the backup.

sudo cp -p /usr/syno/etc.defaults/adapter_cards.conf.bak /usr/syno/etc.defaults/adapter_cards.conf
sudo cp -p /usr/syno/etc.defaults/adapter_cards.conf.bak /usr/syno/etcs/adapter_cards.conf

Check the disk-compatibility rules exist

This command:

ls -R /var/lib/disk-compatibility/rules

Should return:

/var/lib/disk-compatibility/rules:
rule_1  rule_2  rule_3  rule_4  rule_5

/var/lib/disk-compatibility/rules/rule_1:
eunit_rule.db  host_rule.db

/var/lib/disk-compatibility/rules/rule_2:
eunit_rule.db  host_rule.db

/var/lib/disk-compatibility/rules/rule_3:
eunit_rule.db  host_rule.db

/var/lib/disk-compatibility/rules/rule_4:
eunit_rule.db  host_rule.db

/var/lib/disk-compatibility/rules/rule_5:
eunit_rule.db  host_rule.db

Check support_disk_compatibility is set to yes

If the following return "no":

synogetkeyvalue /etc.defaults/synoinfo.conf support_disk_compatibility
synogetkeyvalue /etc/synoinfo.conf support_disk_compatibility

Run these commands:

sudo synosetkeyvalue /etc.defaults/synoinfo.conf support_disk_compatibility yes
sudo synosetkeyvalue /etc/synoinfo.conf support_disk_compatibility yes

Then reboot

Reinstall DSM 7.3.2

If still no good I would try reinstalling DSM 7.3.2 (which is just like upgrading DSM, so no data loss).
https://github.com/007revad/Synology_DSM_reinstall

You will need https://global.synologydownload.com/download/DSM/release/7.3.2/86009/DSM_DS1821%2B_86009.pat

<!-- gh-comment-id:3716082819 --> @007revad commented on GitHub (Jan 6, 2026): I'm assuming this is a real DS1821+ and not Xpenology. I've seen that script, on reddit I think, a few weeks ago. It's definitely not needed for a E10M20-T1. And it would only work for older, pre 20 series, models that don't use device tree, and only for generic 10G cards that use the AQC107 chip. I don't think that would cause your problem. You can either edit /usr/syno/etc.defaults/adapter_cards.conf and /usr/syno/etc/adapter_cards.conf with vi or vim (or WinSCP which is much easier) to remove: ``` [AQC107_sup_nic] DS1821+=yes ``` Or restore the 2 adapter_cards.conf files from the backup syno_enable_m2_card would have created. First check that the backup and current files are different: ``` diff <(sort /usr/syno/etc.defaults/adapter_cards.conf) <(sort /usr/syno/etc.defaults/adapter_cards.conf.bak) ``` Then restore the files from the backup. ``` sudo cp -p /usr/syno/etc.defaults/adapter_cards.conf.bak /usr/syno/etc.defaults/adapter_cards.conf sudo cp -p /usr/syno/etc.defaults/adapter_cards.conf.bak /usr/syno/etcs/adapter_cards.conf ``` ### Check the disk-compatibility rules exist This command: ``` ls -R /var/lib/disk-compatibility/rules ``` Should return: ``` /var/lib/disk-compatibility/rules: rule_1 rule_2 rule_3 rule_4 rule_5 /var/lib/disk-compatibility/rules/rule_1: eunit_rule.db host_rule.db /var/lib/disk-compatibility/rules/rule_2: eunit_rule.db host_rule.db /var/lib/disk-compatibility/rules/rule_3: eunit_rule.db host_rule.db /var/lib/disk-compatibility/rules/rule_4: eunit_rule.db host_rule.db /var/lib/disk-compatibility/rules/rule_5: eunit_rule.db host_rule.db ``` ### Check support_disk_compatibility is set to yes If the following return "no": ``` synogetkeyvalue /etc.defaults/synoinfo.conf support_disk_compatibility synogetkeyvalue /etc/synoinfo.conf support_disk_compatibility ``` Run these commands: ``` sudo synosetkeyvalue /etc.defaults/synoinfo.conf support_disk_compatibility yes sudo synosetkeyvalue /etc/synoinfo.conf support_disk_compatibility yes ``` Then reboot ### Reinstall DSM 7.3.2 If still no good I would try reinstalling DSM 7.3.2 (which is just like upgrading DSM, so no data loss). https://github.com/007revad/Synology_DSM_reinstall You will need https://global.synologydownload.com/download/DSM/release/7.3.2/86009/DSM_DS1821%2B_86009.pat
Author
Owner

@aferende commented on GitHub (Jan 6, 2026):

Hi Dave, thanks for the detailed reply and for sticking with me on this.

To answer your points and report back with results:


Hardware / Platform confirmation

  • This is a real Synology DS1821+, not Xpenology.
  • NVMe card is Synology E10M20-T1.
  • DSM version: 7.3.2-86009.

adapter_cards.conf

I have already restored both adapter_cards.conf files from the backups created by syno_enable_m2_card.

So at this point:

  • /usr/syno/etc.defaults/adapter_cards.conf
  • /usr/syno/etc/adapter_cards.conf

are back to their original backed-up state, and the [AQC107_sup_nic] DS1821+=yes entry has effectively been reverted.


Disk compatibility rules

As suggested, I checked for the rules directory.

Command executed

sudo ls -R /var/lib/disk-compatibility/rules

Result

ls: cannot access '/var/lib/disk-compatibility/rules': No such file or directory

The /var/lib/disk-compatibility/ directory exists, but it only contains the various *_v7.db, .version, .release, and .bak files.
There is no rules/ subdirectory at all on this system.


support_disk_compatibility flag

I verified both locations:

synogetkeyvalue /etc.defaults/synoinfo.conf support_disk_compatibility

Output:

yes
synogetkeyvalue /etc/synoinfo.conf support_disk_compatibility

Output:

yes

So support_disk_compatibility is already enabled in both configs.


Current situation summary

  • compatibility_action files can be created manually and everything works until reboot
  • After reboot, DSM 7.3.2 does not recreate compatibility_action
  • synostgdisk --check-all-disks-compatibility then becomes slow and causes storage-related latency
  • adapter_cards.conf has been restored
  • support_disk_compatibility is enabled
  • /var/lib/disk-compatibility/rules directory is missing entirely

At this point I’m not seeing any other configuration changes left to undo.


Question on next steps

Before proceeding with a DSM 7.3.2 reinstall using the method you linked (which I understand should preserve data and volumes):

  • Is there any additional check or cleanup step you would recommend trying first?
  • Or, given the missing rules/ directory and the behavior after reboot, would you agree that a DSM reinstall is the next sensible step?

Thanks again for your time and guidance.

<!-- gh-comment-id:3716138653 --> @aferende commented on GitHub (Jan 6, 2026): Hi Dave, thanks for the detailed reply and for sticking with me on this. To answer your points and report back with results: --- ## Hardware / Platform confirmation - This is a **real Synology DS1821+**, not Xpenology. - NVMe card is **Synology E10M20-T1**. - DSM version: **7.3.2-86009**. --- ## adapter_cards.conf I have already **restored both adapter_cards.conf files from the backups** created by `syno_enable_m2_card`. So at this point: - `/usr/syno/etc.defaults/adapter_cards.conf` - `/usr/syno/etc/adapter_cards.conf` are back to their original backed-up state, and the `[AQC107_sup_nic] DS1821+=yes` entry has effectively been reverted. --- ## Disk compatibility rules As suggested, I checked for the rules directory. ### Command executed ```bash sudo ls -R /var/lib/disk-compatibility/rules ``` ### Result ```text ls: cannot access '/var/lib/disk-compatibility/rules': No such file or directory ``` The `/var/lib/disk-compatibility/` directory exists, but it only contains the various `*_v7.db`, `.version`, `.release`, and `.bak` files. There is **no `rules/` subdirectory at all** on this system. --- ## support_disk_compatibility flag I verified both locations: ```bash synogetkeyvalue /etc.defaults/synoinfo.conf support_disk_compatibility ``` Output: ```text yes ``` ```bash synogetkeyvalue /etc/synoinfo.conf support_disk_compatibility ``` Output: ```text yes ``` So `support_disk_compatibility` is already enabled in both configs. --- ## Current situation summary - `compatibility_action` files can be created manually and everything works until reboot - After reboot, DSM 7.3.2 does **not recreate** `compatibility_action` - `synostgdisk --check-all-disks-compatibility` then becomes slow and causes storage-related latency - `adapter_cards.conf` has been restored - `support_disk_compatibility` is enabled - `/var/lib/disk-compatibility/rules` directory is missing entirely At this point I’m not seeing any other configuration changes left to undo. --- ## Question on next steps Before proceeding with a **DSM 7.3.2 reinstall** using the method you linked (which I understand should preserve data and volumes): - Is there any **additional check or cleanup step** you would recommend trying first? - Or, given the missing `rules/` directory and the behavior after reboot, would you agree that a **DSM reinstall is the next sensible step**? Thanks again for your time and guidance.
Author
Owner

@007revad commented on GitHub (Jan 6, 2026):

I'm surprised that updating the drive database didn't restore the missing rules files.

I just compared the rules files between my DS1821+ DSM 7.3.1 and my DS925+ DSM 7.3.2 and they are exactly the same files.

These are from my DS1821+
rules.zip

Unzip and copy the rules_N folders with their eunit_rule_db and host_rule.db files to:

  • /var.defaults/lib/disk-compatibility/rules/
  • /var/lib/disk-compatibility/rules/

Then make sure the owner and permissions are correct:

sudo chmod -R 0755 /var.defaults/lib/disk-compatibility/rules
sudo chmod -R 0755 /var/lib/disk-compatibility/rules
sudo chown -R root:root /var.defaults/lib/disk-compatibility/rules
sudo chown -R root:root /var/lib/disk-compatibility/rules

Then run:

sudo synostgdisk --check-all-disks-compatibility
<!-- gh-comment-id:3716366755 --> @007revad commented on GitHub (Jan 6, 2026): I'm surprised that updating the drive database didn't restore the missing rules files. I just compared the rules files between my DS1821+ DSM 7.3.1 and my DS925+ DSM 7.3.2 and they are exactly the same files. These are from my DS1821+ [rules.zip](https://github.com/user-attachments/files/24459794/rules.zip) Unzip and copy the rules_N folders with their eunit_rule_db and host_rule.db files to: - /var.defaults/lib/disk-compatibility/rules/ - /var/lib/disk-compatibility/rules/ Then make sure the owner and permissions are correct: ``` sudo chmod -R 0755 /var.defaults/lib/disk-compatibility/rules sudo chmod -R 0755 /var/lib/disk-compatibility/rules sudo chown -R root:root /var.defaults/lib/disk-compatibility/rules sudo chown -R root:root /var/lib/disk-compatibility/rules ``` Then run: ``` sudo synostgdisk --check-all-disks-compatibility ```
Author
Owner

@aferende commented on GitHub (Jan 6, 2026):

Okay, I've done everything, thank you very much. I'm lucky we have the same NAS model :-)

Now the command:

sudo synostgdisk --check-all-disks-compatibility

It doesn't return any errors.
As soon as I can, I'll reboot to verify that everything is OK.
In the meantime, thank you very much.

<!-- gh-comment-id:3716406574 --> @aferende commented on GitHub (Jan 6, 2026): Okay, I've done everything, thank you very much. I'm lucky we have the same NAS model :-) Now the command: ``` sudo synostgdisk --check-all-disks-compatibility ``` It doesn't return any errors. As soon as I can, I'll reboot to verify that everything is OK. In the meantime, thank you very much.
Author
Owner

@aferende commented on GitHub (Jan 13, 2026):

Hi Dave,
I finally managed to reboot the NAS, but unfortunately the error persists.
At this point, I think the only solution is to try reinstalling with your Synology_DSM_reinstall script.
Do you have any specific suggestions, or should I just proceed as directed?
Can you confirm that all settings are retained, including:

  • tasks scheduled at startup
  • NVMe pools
  • custom scripts (stored on storage pools)
  • VMs
  • etc?

Thanks as always for the fantastic support.

<!-- gh-comment-id:3742557880 --> @aferende commented on GitHub (Jan 13, 2026): Hi Dave, I finally managed to reboot the NAS, but unfortunately the error persists. At this point, I think the only solution is to try reinstalling with your **Synology_DSM_reinstall** script. Do you have any specific suggestions, or should I just proceed as directed? Can you confirm that all settings are retained, including: - tasks scheduled at startup - NVMe pools - custom scripts (stored on storage pools) - VMs - etc? Thanks as always for the fantastic support.
Author
Owner

@007revad commented on GitHub (Jan 13, 2026):

Reinstalling DSM is basically the same as doing a DSM update.

Your start-up scheduled tasks will survive (and run as long as the scripts are not stored on an NVMe storage pool).

The only thing to be aware of is that your NVMe volume might not get mounted until after a 2nd reboot. And DSM 7.3 automatically "repairs" any packages that were running before the reboot, and if they depend on a missing volume it "repairs" them to the first volume it finds.

So to prevent that, before reinstalling DSM I would:

  1. Stop all packages that are installed on the NVMe volume.
  2. Stop all packages that depend on other packages that are installed on the NVMe volume.
  3. Stop all packages that use a shared folder that is on the NVMe volume.
  4. Stop VMM if you have storage set to the NVMe volume.

 

To see which volume each package is installed on run https://github.com/007revad/Synology_SMART_info and enter 1 for Move.

Image

 

To find packages that depend on your NVMe volume run this (replace /volume1 with your NVMe volume).

sudo synostgvolume --enum-dep-pkgs /volume1
Image

 

To find out if VMM has storage set to your NVMe volume:

Image
<!-- gh-comment-id:3746943598 --> @007revad commented on GitHub (Jan 13, 2026): Reinstalling DSM is basically the same as doing a DSM update. Your start-up scheduled tasks will survive (and run as long as the scripts are not stored on an NVMe storage pool). The only thing to be aware of is that your NVMe volume might not get mounted until after a 2nd reboot. And DSM 7.3 automatically "repairs" any packages that were running before the reboot, and if they depend on a missing volume it "repairs" them to the first volume it finds. So to prevent that, before reinstalling DSM I would: 1. Stop all packages that are installed on the NVMe volume. 2. Stop all packages that depend on other packages that are installed on the NVMe volume. 3. Stop all packages that use a shared folder that is on the NVMe volume. 4. Stop VMM if you have storage set to the NVMe volume. &nbsp; To see which volume each package is installed on run https://github.com/007revad/Synology_SMART_info and enter 1 for Move. <img width="661" height="578" alt="Image" src="https://github.com/user-attachments/assets/4b73ae7f-29cb-4616-af42-e05c2ec9b474" /> &nbsp; To find packages that depend on your NVMe volume run this (replace /volume1 with your NVMe volume). ``` sudo synostgvolume --enum-dep-pkgs /volume1 ``` <img width="661" height="132" alt="Image" src="https://github.com/user-attachments/assets/bb221a0e-1a9f-4b9b-8aaa-4b19bd780815" /> &nbsp; To find out if VMM has storage set to your NVMe volume: <img width="941" height="272" alt="Image" src="https://github.com/user-attachments/assets/893d0470-35ed-4e23-bf23-ca1c8552265d" />
Author
Owner

@aferende commented on GitHub (Jan 14, 2026):

Great, thanks, Dave.
I managed to do everything; I had to do a double reboot, as expected, and finally the problem is solved.
Thanks so much for the excellent support.

<!-- gh-comment-id:3748257063 --> @aferende commented on GitHub (Jan 14, 2026): Great, thanks, Dave. I managed to do everything; I had to do a double reboot, as expected, and finally the problem is solved. Thanks so much for the excellent support.
Sign in to join this conversation.
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_HDD_db#697
No description provided.