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 predictive failure warning says a part will probably fail soon, but not when.
- Read the counters that keep rising, because one event may be harmless.
- Gather the serial number, the logs and their times before you call the vendor.
- Plan the swap while the part still works, on a day you choose.
- Check the warranty and the support contract before you open the case.
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
- Drives: reallocated, pending or uncorrectable sector counts that keep rising.
- Memory and fans: a corrected error count that climbs, or a fan that keeps slowing.
- Power supplies: a supply that reports a fault, or warns that it is failing.
Read each warning carefully. One event may be harmless, but a count that keeps rising needs a part.
Opening a vendor support case
- Find the serial number of the server and of the part. The vendor uses it to find your warranty and the exact part.
- Collect the logs: the drive health report, the event log and the kernel errors, each with its time.
- Describe the fault: what you saw, when it began, and whether it is getting worse.
- Agree the part and the time: the delivery to site, and who will fit it. Write the case number in your change record.
Collecting the facts with Linux commands
Run dmidecode with root rights to print the serial number of the server.
sudo dmidecode -s system-serial-numberSave the drive's health report and the event log to files, instead of the screen. Attach the saved files to the case.
sudo smartctl -a /dev/sda > sda-health.txtsudo ipmitool sel list > sel-events.txtAlso gather the kernel errors from today, with their times, and attach them too.
sudo journalctl -k -p err --since todayWhat goes wrong while you wait for the part
- Waiting with a failing part: if the drive belongs to a RAID group, a second failure in that group can lose data while you wait.
- A vague case: without serial numbers and times, the vendor asks again, and days pass.
- An expired contract: a lapsed warranty or support contract can change the wait, and the cost.
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.
Print the serial number of the server, which the vendor needs to find your warranty.
sudo dmidecode -s system-serial-numberWhat you should see: The command prints the serial number of the server.
Save the drive health report to a file, to attach to the case.
sudo smartctl -a /dev/sda > sda-health.txtWhat you should see: The report goes into sda-health.txt, instead of the screen.
Save the event log to a file, to attach to the case.
sudo ipmitool sel list > sel-events.txtWhat you should see: The event log goes into sel-events.txt, ready to attach.
Show the kernel errors from today, and note their times for the case.
sudo journalctl -k -p err --since todayWhat 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.