ESXi 6.x host is disconnected from vCenter Server
ESXi hosts appear as Not Responding in vCenter Server.
Or showing disconnected in vCenter Server.
Running esxcli commands on the ESXi host fail with the error:
Error interacting with configuration file /etc/vmware/lunTimestamps.log: Timeout while waiting for lock, /etc/vmware/lunTimestamps.log.LOCK, to be released. Another process has kept this file locked for more than 30 seconds. The process currently holding the lock is smartd(PID). This is likely a temporary condition. Please try your operation again.
Note: PID is the process ID for the smartd service.
In the /var/log/hostd.log file, you see entries similar to:
Error interacting with configuration file /etc/vmware/lunTimestamps.log: Timeout while waiting for lock, /etc/vmware/lunTimestamps.log.LOCK, to be released. Another process has kept this file locked for more than 30 seconds. The process currently holding the lock is smartd(PID). This is likely a temporary condition. Please try your operation again.
To work around this issue, disable smartd daemon on the host.
To disable smartd daemon:
Connect to the affected ESXi host with an SSH session. For more information, see Using ESXi Shell in ESXi 5.x and 6.0 (2004746).
Run this command to stop the smartd service:
/etc/init.d/smartd stop
Run this command to stop the smartd service from starting on reboot:
chkconfig smartd off
Ref: https://kb.vmware.com/s/article/2145106?lang=en_US