I run this command to check drive health:
smartctl -H /dev/sda
Output:
smartctl 5.43 2012-06-30 r3573 [i686-linux-4.2.0-rc3+] (local build)
Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
What will be the output in case the disk is unhealthy? I don't have such disks and is unable to learn this.