ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

VMware ESXi S.M.A.R.T Health Monitoring

By Vladan SEGET | Last Updated: July 11, 2014

Shares

With Flash storage around gaining popularity, it might be interesting to see not only if the performance is what's should be but also the health of disks whether the're magnetic or Flash drives. I was looking on checking somehow the S.M.A.R.T values. There are two ways to check it on VMware ESXi, and it can be done through SSH (possibly also through PowerCLI, but I'm not an expert).

So let's see what we'll find by looking through the SSH. First, connect via SSH to your ESXi box and enter this command:

esxcli storage core device list

This shows the list of the hard drives and Flash devices attached to this box (including volumes attached via iSCSI, so make sure to look for local disk. Then you can append the hardware id of the particular drive at the end like this:

esxcli storage core device smart get -d naa.5e83a975f4156eb1

As an output you'll see this:

SMART Info

You can obtain the same results for all disks in once by invoking a script which lays in this folder which is a part of the VMware support:

The path is this:

/usr/lib/vmware/vm-support/bin

and here is the output…

smartinfo.sh

If you're on physical box, laptop or workstation, you might also check out this utility called HD Sentinel which I reviewed a while back. It's an utility which can tell you BEFORE you'll start experiencing problems with your SSD or HDD.

The smartinfo.sh script does not surface any of the S.M.A.R.T info into the GUI (Windows or web based clients), but it's (for now) only an informative utility for checking the state of the SSDs. I'd guess that we might see some more informations here as the storage vendors could integrate the known values of certified flash devices which would show (through the UI) for example how many days (hours) can particular devices run without risk or even more detailed informations. For example how many reserved space is left on the SSD as some manufacturers uses the unused space to keep it as a reservation when the SSD starts to deteriorate.

Shares
Vote !

| Filed Under: How To Tagged With: VMware ESXi S.M.A.R.T Health

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. tom says

    July 10, 2014 at 5:14 pm

    I found it useful to extract the model and UID from the list so I could easily cut and past the UID in the “esxcli storage core device smart get -d ” command

    ~ # esxcli storage core device list | egrep ‘Model|UID’

  2. segej says

    January 3, 2015 at 9:32 am

    Hello!
    Is there any way to check disk SMART values when they are in RAID 1 (IBM server with 5.5u2)?
    when I list with smartinfo.sh it says for every value N/A
    thanks 🙂

    • Vladan SEGET says

      January 5, 2015 at 8:30 am

      I don’t think so. I believe that the server hardware vendor shall provide such a tools, if installed with the OEM customized ISO the CIM providers shall perhaps show that values through vSphere client. (Hardware status tab)

  3. segej says

    January 6, 2015 at 8:43 am

    Hi Vladan!
    Thanks for reply, i don’t have ibm’s customized iso, yeah, I’ve already checked the hardware tab, but there are everything “OK”, I’ll check it with linux, see you soon 🙂

  4. segej says

    January 6, 2015 at 1:32 pm

    of course, under linux is everything went fine with smartctl
    if anybody will have a same issue, just boot “any” livecd and issue below command like this:
    smartctl -a -d megaraid,X /dev/sdY

    where X is your disk number in raid array and Y is your disk letter that give your raid controller (in my case /dev/sda)

  5. Mahdi says

    March 1, 2015 at 10:57 am

    Hi
    output of command for my server “esxcli storage core device smart get -d naa.5e83a975f4156eb1” show N/A for all parameters.
    i use HP VMware ESXi 5.5 Bundle on HP DL380 G6.

  6. Bostjan says

    March 30, 2015 at 3:29 pm

    I’ve been playing around and testing ” smart get -d” and smartinfo.sh and i have some bad news.

    Don’t relay too much on this, since i have a disk (two actually – Hitachi and Seagate) with SMART status warning (reallocated sector count > 0), and both commands don’t report any problem for the disks.
    Reallocated sectors is for me first and most common sign of disk failure. Failing to catch does signs makes this smart information from host hardly usable and certainly not dependable.

    host:

    Device: t10.ATA_____ST9320325AS_________________________________________6VD042RE
    Parameter Value Threshold Worst
    -----------------------------------------------------
    Health Status OK N/A N/A
    Media Wearout Indicator N/A N/A N/A
    Write Error Count N/A N/A N/A
    Read Error Count 100 6 96
    Power-on Hours 68 0 68
    Power Cycle Count 100 20 37
    Reallocated Sector Count 100 36 100
    Raw Read Error Rate 100 6 96
    Drive Temperature 27 0 60
    Driver Rated Max Temperature 73 45 40
    Write Sectors TOT Count 200 0 200
    Read Sectors TOT Count N/A N/A N/A
    Initial Bad Block Count 100 99 100

    Client on PC (Crystal Disk Info):

    [ST9320325AS6VD042REFIRST]
    Date=2015/03/30 15:22:59
    HealthStatus=2
    Temperature=26
    PowerOnCount=290
    01=100
    03=99
    04=100
    05=100
    ReallocatedSectorsCount=3
    07=78
    09=68
    0A=100
    0C=100
    B8=100
    BB=1
    BC=100
    BD=100
    BE=74
    BF=100
    C0=100
    C1=1
    C2=26
    C3=69
    C5=100
    CurrentPendingSectorCount=5
    C6=100
    UncorrectableSectorCount=5
    C7=200
    FE=100

  7. Bostjan says

    March 30, 2015 at 3:38 pm

    Another thing is SSDs and Media Wearout Indicator.
    Result N/A for:
    Corsair_Neutron_GTX
    Samsung_SSD_840_PRO
    Samsung_SSD_850_PRO
    Crucial M42DCT128M4SSD2 (tested since it’s at 82% if that would make any difference :))

    We need something better to alert us, before failure strikes 🙂

  8. Ivan says

    July 31, 2015 at 7:17 pm

    thx man

  9. Bostjan Hojkar says

    June 12, 2018 at 12:38 pm

    If anybody stumbles this , here’s the update:

    smartctl will show you proper results for SSD SMART status.

    Great info on https://www.virten.net/2016/05/determine-tbw-from-ssds-with-s-m-a-r-t-values-in-esxi-smartctl/

  10. Bostjan says

    June 12, 2018 at 5:46 pm

    some1 ported smartctl and this is the best solution to get SMART data in esxi:

    http://www.virten.net/2016/05/determine-tbw-from-ssds-with-s-m-a-r-t-values-in-esxi-smartctl

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Veeam confirming vSphere 9.0 and ESXi 9 upcoming support
  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs
  • Nakivo Backup and Replication – Malware Scan Feature
  • Zerto 10 U7 released with VMware NSX 4.2 Support
  • XorMon NG 1.9.0 Infrastructure Monitoring – now also with Veeam Backup Support
  • Heartbeat vs Node Majority StarWind VSAN Failover Strategy
  • Vulnerability in your VMs – VMware Tools Update
  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in