Howto: Check if a LUN is being locked by the host?

I just came across the following on the VMTN forum which is a very useful command in my opinion. When metadata changes for a LUN, that LUN is being locked by a host. Sometime the lock isn’t released, which can cause weird situations. In this case you would want to know which host is locking the LUN, especially when you’ve got over a dozen hosts. Rubeck posted a reply on Vliegenmeppers question on the forum:

esxcfg-info -s | grep -i -B 12 pending

Thanks guys,




You can leave a response, or trackback from your own site.

One Response to “Howto: Check if a LUN is being locked by the host?”

  1. [...] Howto: Check if a LUN is being locked by the host? » Yellow Bricks This is very useful if you are running a number of ESX servers, clustered. >> Comments | ShareThis [...]

Leave a Reply

Subscribe to RSS Feed Follow me on Twitter!