Setup

Two scripts by 007revad make it possible:

This note is about the second one, because that’s the one that bites.

Symptom

After a DSM update — even a small “Update 1” fix, not just a new version — the NVMe drives show as Unverified (or unsupported) in Storage Manager, the pool is unavailable, and everything stored on it is unreachable. Here that meant all three virtual machines.

Cause

A DSM update rewrites /etc.defaults/synoinfo.conf and the drive databases in /var/lib/disk-compatibility/ (for this box, rs822+_host_v7.db and rs822+_e10m20-t1_v7.db). That undoes both of the script’s edits. The data on the drives is untouched; DSM just stops accepting them.

Fix

Run the script again as root and reboot:

sudo /volume1/root-scripts/Synology_HDD_db/syno_hdd_db.sh -n -r
sudo reboot

In Storage Manager, don’t click Repair or Remove on the pool while it looks broken; the remedy is to make DSM accept the drives again, not to rebuild anything.

Making it stick

Don’t wait for an update to break it. Have DSM run the script on every boot: Control Panel → Task Scheduler → Create → Triggered Task → User-defined script. Name it syno_hdd_db boot, user root, event Boot-up, tick “Send run details by email” so every boot leaves a receipt, and use this command:

/volume1/root-scripts/Synology_HDD_db/syno_hdd_db.sh -n -r -e --reboot

What the options do, per the script’s README:

Verified: the task carried the pool through DSM 7.3 → 7.4.1 and 7.4.1 → 7.4.1 Update 1 (October 2026). Both times the drive databases were re-stamped about a minute after boot.

Before every DSM update, from a shell on the NAS:

  1. Run the read-only check, lab/synology/nvme-pool-check.sh, and save its output. Green means the NVMe array shows [2/2] [UU] in /proc/mdstat, the volume is mounted, support_m2_pool="yes" is in the defaults file, and the boot task exists.
  2. If the update is a new build rather than an “Update N” fix, update Synology_HDD_db first and re-read its README. What the script has to do has changed between DSM versions.
  3. Export a configuration backup (Control Panel → Update & Restore → Configuration Backup) somewhere that isn’t the NVMe pool.
  4. Shut down anything that lives on the pool (virtual machines) cleanly yourself, rather than letting the update’s reboot pull the plug.
  5. Install, wait, then run the check again and diff it against the saved one.

Gotchas