Apr 26 2013

Howto: Show S.M.A.R.T. Report on Synology NAS

I started getting email notifications that one of my hard drives in Synology DS211j had bad sectors. I could run S.M.A.R.T. analysis on the drive using the admin account DSM but I wanted to print the detailed report and send it with the drive to the manufacture’s repair shop. I mean the full log. Here’s how to do it.

  1. First run full S.M.A.R.T. analysis in DSM using the admin account. It typically runs for couple of hours.
  2. Login to the Synology shell as root (root password is the same as admin password).
  3. The first drive is /dev/sda, the second /dev/sdb, and so on.
  4. Print S.M.A.R.T. log for the specific drive issuing command /usr/syno/bin/smartctl -a -d sat -T permissive /dev/sda where the last part is the drive in question. I found the right set of parameters in Synology forum.
  5. If you try to run smartctl without the parameters it will say: “Device does not support SMART” and “Device does not support Self Test logging” that are obviously not true.
  6. The parameters are:
    -a
    Prints all SMART information about the disk.
    -d sat
    Specifies device type. “Sat” is SCSI to ATA Translation (SAT) that is required with Synology.
    -T permissive
    Defines tolerance type. “Permissive” tells to ignore failure(s) of mandatory SMART commands and is required with Synology.

You can read more about smartctl and its parameters from its man page.

Leave a Reply