A SAN datastore is shown inaccessible on one of the ESXi hosts in the cluster. Other ESXi hosts can access that datastore without problem.
Solution: restart the ESXi management agents on the ESXi host
There are a few ways to restart the management agents (KB1003490).
- From the Direct Console User Interface (DCUI)
- Press F2 to customize the system
- Log in as root
- Under Troubleshooting Options, select Restart Management Agents
- From the Local Console (Alt + F2) or SSH
- Log in as root
- run these commands
- /etc/init.d/hostd restart
- /etc/init.d/vpxa restart
- if the hostd is not restart, use KB1005566 to find and kill hostd Process ID (PID), then start it again (/etc/init.d/hostd start)
- alternatively
- To reset the management network on a specific VMkernel interface, by default vmk0
- esxcli network ip interface set -e false -i vmk0; esxcli network ip interface set -e true -i vmk0
- Note: run the above commands together, using a semicolon (;) between the two commands
- To restart all management agents on the host
- services.sh restart
- Caution:
- check if LACP is enabled on the VDS’s Uplink Port Group
- If LACP is not configured, the services.sh script can be safely executed
- If LACP is enabled and configured, do not restart management services using services.sh. Instead restart independent services using /etc/init.d/hostd restart and /etc/init.d/vpxa restart.
- If the issue is not resolved, take a downtime before restarting all services with services.sh