I am working on a script to automatically remediate detached LUNs. I'm following these two KB articles:
https://kb.vmware.com/s/article/2032690 Attempts to bring online a storage device recovered from PDL fail if Storage I/O Control is enabled (2032690)
https://kb.vmware.com/s/article/2004605 How to unmount a LUN or detach a datastore device from ESXi hosts (2004605)
One of them calls for restarting StorageRM as a way to finally clear out logs such as the following:
Skipping device naa_ID either due to VSI read error or abnormal state
I've tried it, perhaps ill-advisedly, on a production host with no apparent problems. I wanted to check with the community. Are there any problems with restarting this service in production?
No, there is no problem with restarting this service.
This service is managing SIOC (Storage IO Control), so by restarting that there will be no impact on your services.