Some notes on ESXi and SMART information from HDD/SSD devices
Posted by jpluimers on 2022/01/10
For my link archive:
- [WayBack] VMware ESXi S.M.A.R.T Health Monitoring | ESX Virtualization based on the built-in tooling, showing how
/usr/lib/vmware/vm-support/bin/smartinfo
works (contrary to the article, this is a binary, not asmartinfo.sh
script, at least in ESXi 6.0 and higher). Note this does not list all SMART parameters, so can give you a false sense of being on the safe side. - [WayBack] Determine TBW from SSDs with S.M.A.R.T Values in ESXi (smartctl) | Virten.net which is based on smartctl from [WayBack] smartmontools and provides a link to the [WayBack] smartctl-6.6-4321.x86_64.vib.
- Download smartctl-6.6-4321.x86_64.vib
- Copy the VIB to the /tmp/ directory of an ESXi host
- SSH to the ESXi host
- Set the VIB acceptance level to CommunitySupported
# esxcli software acceptance set --level=CommunitySupported
- Install the package (Maintenance Mode or Reboot is not required)
#esxcli software vib install -v /tmp/smartctl-6.6-4321.x86_64.vib
The tool is located at /opt/smartmontools/smartctl and works just like the Linux version.
Locate physical disks with ls -l /dev/disks//opt/smartmontools/smartctl -d [Device Type] –all /dev/disks/[DISK]
- [WayBack/Archive.is] ESXi S.M.A.R.T. health monitoring for hard drives (2040405) describing the internal tools from an ESXi 5.x perspective
The first two links are via [WayBack/Archive.is] esxi 6 monitor sata temperature – Google Search; the last links via [WayBack/Archive.is] esxi 6 view smart – Google Search.
–jeroen
Leave a Reply