Show Synology smart test progress or smart health and attributes.
The script works in DSM 7, including DSM 7.2, and DSM 6.
- Download the latest version Source code (zip) from https://github.com/007revad/Synology_SMART_info/releases
- Save the download zip file to a folder on the Synology.
- Unzip the zip file.
How to enable SSH and login to DSM via SSH
Run the script:
sudo -s /volume1/scripts/syno_smart_info.sh
Note
Replace /volume1/scripts/ with the path to where the script is located.
To see all the SMART attributes run the script with the -a or --all option:
sudo -s /volume1/scripts/syno_smart_info.sh --all
Note
The script automatically shows all SMART attributes for any drives that don't return "SMART test passed".
See How to schedule a script in Synology Task Scheduler
There are optional flags you can use when running the script:
-a, --all Show all SMART attributes
-e, --email Disable colored text in output scheduler emails
-h, --help Show this help message
-v, --version Show the script version
If you have Seagate drives you should install SynoCommunity's SynoCli Disk Tools v4.0-13 or later package so this script can decode the values of Seagate's SMART attributes 1, 7 and 195. SynoCli Disk Tools v4.0-13 includes smartmontools v7.4
Seagate HDD with DSM's smartctl 6.5
Seagate HDD with SynoCommunity's smartctl 7.4
All healthy
One drive marginal
UDMA CRC Errors
NVMe drives removed while NAS was running
SSD with reallocated sectors
HDD and SSD when run with --all option
HDD and NVMe when run with --all option