1. Script That Shows Smart Values of All Disks'

    Sat 05 October 2013

    Please use this tool on github instead of this ancient script.


    So you have a Linux system with a lot of hard drives. If you want to quickly check on some key SMART values to determine the health of individual disks, you might be interested in this script.

    I wrote a small Python script called 'showsmart' that displays key SMART values for all disks that support SMART. This has been tested on Ubuntu and Debian.

    showsmart

    • REALLOC. = Reallocated Sector Count
    • PENDING = Current Pending Sector
    • CRC ERR. = UDMA CRC ERROR

    This script only requires python and smartctl (smartmontools).

    I hope someone will find it useful.

  2. 'Linux: Show Graphical Layout of Disk Temperatures'

    Sun 03 January 2010

    graphic, representation

    To get a visual representation of hard drive temperatures, I wrote a small script. The output of this script looks like this:

    This output is tailored to the exact disk lay-out of my storage server. However, it is also usable for other servers. You have to edit the lay-out depending on the system.

    This script assumes that you have smartmontools installed on your system. It uses smartctl to obtain the drive temperatures.

    The script can be found here or here in tgz format.

Page 1 / 2