Il 27/10/2016 13:58, Leonard den Ottolander ha scritto: > Hi, > > On Thu, 2016-10-27 at 11:25 +0200, Alessandro Baggi wrote: >> === START OF READ SMART DATA SECTION === >> SMART overall-health self-assessment test result: PASSED > > That's the line you are looking for. Since your disk apparently does not > store an error log - not sure if that's something with SSDs in general > or just with this particular disk - you will always have to invoke > > smartctl -t short /dev/sda > > and then after the test has completed check the output of > > smartctl -a /dev/sda > > for that particular line. Shouldn't be too hard to put in a cron job, > just make sure the job waits long enough (more than 1 minute, make it 2 > to be sure) with reading the output of smartctl -a after invoking > smartctl -t short. > > Regards, > Leonard. > thank you for suggestion. Alessandro.