Retrieve hard drive's age and general health information using Linux - Linux Tutorials - Learn Linux Configuration

To prevent disaster it is important to know details about system’s storage device in terms of runtime, number of read and writes or bad blocks to determine the overall hard drive’s health and aging. The most helpful tool for this task is smartctl command found and made available for installation via smartmontools package. What follows are few command examples on how to determine current hard drive’s state and overall health.
This is a companion discussion topic for the original entry at