#shell #diskstation #dsm #rackstation #synology #synology_disk_station #synology_dsm #synology_nas This script helps you add and manage your SATA, SAS, SSD, and NVMe drives in your Synology NAS's compatible drive database, supporting DSM versions 6 and 7 (including 7.2). It automatically detects your NAS model, installed drives, and firmware, backs up existing databases, and adds missing drives to ensure full compatibility. It can also optimize performance by setting SSDs as preferred read drives, disable annoying warnings, enable support for certain M.2 PCIe cards, and update IronWolf Health Monitor for newer drives. Running this script keeps your NAS drive database up to date, improves dr…