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
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