ESXi - S.M.A.R.T.

最後更新: 2021-01-06

介紹

In ESXi 5.1, VMware added S.M.A.R.T. functionality to monitor hard drive health.

 


Check 的步驟

 

# show device (找出 Disk ID)

esxcli storage core device list

naa.????
 Display Name: Local ATA Disk (t10.ATA_____ADATA_SU650________"SN?"________)
 Has Settable Display Name: true
 Size: 457862
 Device Type: Direct-Access
 ....................
 Model: ADATA SU650
 ....................
 Is Local: true
 Is Removable: false
 Is SSD: true
 Is Offline: false
 ....................
 Is Local SAS Device: false
 ....................

OR

ls -1 /dev/naa*

# Check SMART

# --device-name | -d

esxcli storage core device smart get -d <device>

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    50         100
Power-on Hours                100    0          100
Power Cycle Count             100    0          100
Reallocated Sector Count      100    10         100
Raw Read Error Rate           100    50         100
Drive Temperature             100    30         100
Driver Rated Max Temperature  N/A    N/A        N/A
Write Sectors TOT Count       100    0          100
Read Sectors TOT Count        N/A    N/A        N/A
Initial Bad Block Count       N/A    N/A        N/A

Remark

對於 RAID Disk 是看不到 SMART value