Hardware Diagnostics
Cheat sheet · https://pcornel.dk/topic.php?topic=6284
Answer
Hardware diagnostics combines the BMC's view (sensors, event log, component health), the operating system's error reports (machine checks, memory, PCIe, disk SMART) and vendor diagnostic tools to identify a failing component before replacing it.
Remember
Collect evidence first: timestamps from the BMC SEL and OS logs must line up. Corrected errors are early warnings. One component, one symptom: errors that follow a part when you swap it confirm the part. Vendors want their own support bundle.
First checks
ipmitool sel elist/ iDRAC Lifecycle Log / iLO IML — hardware events.ipmitool sdr elist | grep -v -i ok— sensors not OK.ras-mc-ctl --summary— MCE, memory, PCIe AER events (rasdaemon).smartctl -a /dev/sdX/nvme smart-log /dev/nvme0— drive health.- Windows: System log WHEA-Logger events.
Commands
smartctlsmartctl -t longsmartctl -H
Verify in this order
symptom → BMC health and SEL → OS error logs (MCE/EDAC/AER/SMART/WHEA) → correlate timestamps → vendor diagnostics → isolate component → replace → verify counters and logs
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6284