vSphere : File is being locked by a consumer on host

In your vmkernel.log file you can see ” NFSLock: 2210: File is being locked by a consumer on host”. In my case, all the Hosts which shared the same NFS Datastore had the same error. Related posts: vSphere : VMs remains “disconnected” after a HA failure. Tips – Enable copy / paste through the console…

Script – Grow VMFS datastores in command line

Recently, i have worked on a script to automate these operations because it involved a lot of datastores. The script only works if the LUN hosting the datastore has previously been expanded. For more information regarding the command line describe in this article you can check this  2002461. Update :02/06/2015 – Add Powershell + plink…