Re: Disk near failure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux