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…






Powercli : Check and connect VMs network cards






With this script you will be able to export a list of VMs with Network Cards disconnected. The script will generate a csv file. And at the end of the script you will be able to modify all the network cards that were in a disconnected states.   ######################################################################################### ## Script check VM netword cards   …






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…