Predictive failure, and opening a vendor support case

Video 089 of 140 in Virtualization Foundations, in the unit “Hardware failure and health”. 3:27, with English and Hindi audio.

A failing part rarely dies on the day you expect. A predictive failure warning says that a part will probably fail soon, but not when. This article explains where those warnings come from, how to turn one into a planned swap, and what to gather before you open a vendor support case, so that the replacement arrives with the facts it needs.

What you will learn

A warning now, a failure later

At Harbor Point, a monitoring alert arrives on a Monday morning. A drive in one production server reports that it will likely fail soon. The drive still works, but its health counters say the end is coming. It may run for days, or it may fail this afternoon, and you cannot tell which.

So plan the replacement now, while you still choose the day.

Where predictive warnings come from

Read each warning carefully. One event may be harmless, but a count that keeps rising needs a part.

Opening a vendor support case

Collecting the facts with Linux commands

Run dmidecode with root rights to print the serial number of the server.

Print the serial number of the server
sudo dmidecode -s system-serial-number

Save the drive's health report and the event log to files, instead of the screen. Attach the saved files to the case.

Save the drive health report to a file
sudo smartctl -a /dev/sda > sda-health.txt
Save the event log to a file
sudo ipmitool sel list > sel-events.txt

Also gather the kernel errors from today, with their times, and attach them too.

Show the kernel errors from today
sudo journalctl -k -p err --since today

What goes wrong while you wait for the part

Gather the facts for a vendor case

You need a Linux server with root rights, and a drive named /dev/sda in the examples. Replace the drive name with your own.

  1. Print the serial number of the server, which the vendor needs to find your warranty.

    sudo dmidecode -s system-serial-number

    What you should see: The command prints the serial number of the server.

  2. Save the drive health report to a file, to attach to the case.

    sudo smartctl -a /dev/sda > sda-health.txt

    What you should see: The report goes into sda-health.txt, instead of the screen.

  3. Save the event log to a file, to attach to the case.

    sudo ipmitool sel list > sel-events.txt

    What you should see: The event log goes into sel-events.txt, ready to attach.

  4. Show the kernel errors from today, and note their times for the case.

    sudo journalctl -k -p err --since today

    What you should see: The kernel errors from today appear with their times. Copy them into a file to attach.

Terms

Predictive failure
A warning that a part will probably fail soon, based on its health counters. It does not say when.
Serial number
The unique number of a server or part, which the vendor uses to find its warranty and the exact part.

Check yourself

What does a predictive failure warning tell you?

That a part will probably fail soon, but not when. Plan the replacement while the part still works.

What should a vendor support case include?

The serial number, the logs with their times, and a clear description of what was seen and whether it is getting worse.

Why do the logs need their times?

The vendor can match each error to the moment it happened, which helps it act quickly.

Previous: Network link errors. Next: Replacing a part safely: hot-swap or downtime.