{"id":1154,"date":"2015-08-26T11:38:10","date_gmt":"2015-08-26T09:38:10","guid":{"rendered":"http:\/\/vthink.fr\/2015\/08\/vsphere-file-is-being-locked-by-a-consumer-on-host-2\/"},"modified":"2015-08-26T11:50:54","modified_gmt":"2015-08-26T09:50:54","slug":"vsphere-file-is-being-locked-by-a-consumer-on-host","status":"publish","type":"post","link":"https:\/\/vthink.fr\/en\/2015\/08\/vsphere-file-is-being-locked-by-a-consumer-on-host\/","title":{"rendered":"vSphere : File is being locked by a consumer on host"},"content":{"rendered":"\n<!-- Quick Adsense WordPress Plugin: http:\/\/quickadsense.com\/ -->\n<div class=\"e93ad9a1ff002511692efbd236903a83\" data-index=\"1\" style=\"float: left; margin: 10px 10px 10px 0;\">\n<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- ads1 -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:inline-block;width:300px;height:250px\"\r\n     data-ad-client=\"ca-pub-9785518987307332\"\r\n     data-ad-slot=\"8809267401\"><\/ins>\r\n<script>\r\n(adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\n<\/div>\n<p>In your vmkernel.log file you can see &#8221; NFSLock: 2210: File is being locked by a consumer on host&#8221;.<\/p>\n<p>In my case, all the Hosts which shared the same NFS Datastore had the same error.<\/p>\n<p><!--more--><\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1142\" src=\"https:\/\/i1.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles.png?resize=700%2C166&#038;ssl=1\" alt=\"lockfiles\" width=\"700\" height=\"166\" srcset=\"https:\/\/i1.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles.png?w=1200&amp;ssl=1 1200w, https:\/\/i1.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles.png?resize=300%2C71&amp;ssl=1 300w, https:\/\/i1.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles.png?resize=1024%2C243&amp;ssl=1 1024w, https:\/\/i1.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles.png?resize=220%2C52&amp;ssl=1 220w, https:\/\/i1.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles.png?resize=460%2C109&amp;ssl=1 460w, https:\/\/i1.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles.png?resize=50%2C12&amp;ssl=1 50w\" sizes=\"(max-width: 700px) 100vw, 700px\" data-recalc-dims=\"1\" \/>Aug 24 13:18:46 xesx1.int vmkernel: cpu38:34322)NFSLock: 2941: failed to get lock on file slotsfile 0x410a9db6f740 on nas-xxxxxx.int (10.xxx.xxx.11): Busy<br \/>\nAug 24 13:20:06 xesx1.int vmkernel: cpu43:34322)WARNING: NFSLock: 2210: File is being locked by a consumer on host xesx2.int with exclusive lock.<\/p>\n<p>To fix this error, you need to enable\/disable or disable\/enable &#8220;Storage I\/O control&#8221; on your datastore.<\/p>\n<p>Go into your datastore view, select your datastore and go in the configuration TAB. Select &#8220;Properties&#8221;.<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1145\" src=\"https:\/\/i0.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles3.png?resize=700%2C153&#038;ssl=1\" alt=\"lockfiles3\" width=\"700\" height=\"153\" srcset=\"https:\/\/i0.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles3.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles3.png?resize=300%2C66&amp;ssl=1 300w, https:\/\/i0.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles3.png?resize=1024%2C224&amp;ssl=1 1024w, https:\/\/i0.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles3.png?resize=220%2C48&amp;ssl=1 220w, https:\/\/i0.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles3.png?resize=460%2C100&amp;ssl=1 460w, https:\/\/i0.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles3.png?resize=50%2C11&amp;ssl=1 50w\" sizes=\"(max-width: 700px) 100vw, 700px\" data-recalc-dims=\"1\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>Then, enable or disable &#8220;Storage I\/O Control&#8221;. In my case storage I\/O Control was disable, so i need to activate it.<\/p>\n<!-- Quick Adsense WordPress Plugin: http:\/\/quickadsense.com\/ -->\n<div class=\"e93ad9a1ff002511692efbd236903a83\" data-index=\"1\" style=\"float: left; margin: 10px 10px 10px 0;\">\n<script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js\"><\/script>\r\n<!-- ads1 -->\r\n<ins class=\"adsbygoogle\"\r\n     style=\"display:inline-block;width:300px;height:250px\"\r\n     data-ad-client=\"ca-pub-9785518987307332\"\r\n     data-ad-slot=\"8809267401\"><\/ins>\r\n<script>\r\n(adsbygoogle = window.adsbygoogle || []).push({});\r\n<\/script>\n<\/div>\n\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1147\" src=\"https:\/\/i0.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles4.png?resize=343%2C218&#038;ssl=1\" alt=\"lockfiles4\" width=\"343\" height=\"218\" srcset=\"https:\/\/i0.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles4.png?w=343&amp;ssl=1 343w, https:\/\/i0.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles4.png?resize=300%2C191&amp;ssl=1 300w, https:\/\/i0.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles4.png?resize=198%2C126&amp;ssl=1 198w, https:\/\/i0.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles4.png?resize=50%2C32&amp;ssl=1 50w\" sizes=\"(max-width: 343px) 100vw, 343px\" data-recalc-dims=\"1\" \/><\/p>\n<p>Repeat this operation to keep the original configuration of Storage I\/O Control.<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1149\" src=\"https:\/\/i2.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles2.png?resize=700%2C86&#038;ssl=1\" alt=\"lockfiles2\" width=\"700\" height=\"86\" srcset=\"https:\/\/i2.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles2.png?w=1200&amp;ssl=1 1200w, https:\/\/i2.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles2.png?resize=300%2C37&amp;ssl=1 300w, https:\/\/i2.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles2.png?resize=1024%2C126&amp;ssl=1 1024w, https:\/\/i2.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles2.png?resize=220%2C27&amp;ssl=1 220w, https:\/\/i2.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles2.png?resize=460%2C57&amp;ssl=1 460w, https:\/\/i2.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles2.png?resize=50%2C6&amp;ssl=1 50w\" sizes=\"(max-width: 700px) 100vw, 700px\" data-recalc-dims=\"1\" \/><\/p>\n<p>As you can see, change has been made on 08\/24\/2015 15:20<\/p>\n<p>And since, no more lock issue.<\/p>\n<p><img loading=\"lazy\" class=\"aligncenter size-full wp-image-1151\" src=\"https:\/\/i0.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles1.png?resize=700%2C102&#038;ssl=1\" alt=\"lockfiles1\" width=\"700\" height=\"102\" srcset=\"https:\/\/i0.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles1.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles1.png?resize=300%2C44&amp;ssl=1 300w, https:\/\/i0.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles1.png?resize=1024%2C149&amp;ssl=1 1024w, https:\/\/i0.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles1.png?resize=220%2C32&amp;ssl=1 220w, https:\/\/i0.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles1.png?resize=460%2C67&amp;ssl=1 460w, https:\/\/i0.wp.com\/vthink.fr\/wp-content\/uploads\/lockfiles1.png?resize=50%2C7&amp;ssl=1 50w\" sizes=\"(max-width: 700px) 100vw, 700px\" data-recalc-dims=\"1\" \/><\/p>\n<p>&nbsp;<\/p>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div><!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>In your vmkernel.log file you can see &#8221; NFSLock: 2210: File is being locked by a consumer on host&#8221;. In my case, all the Hosts which shared the same NFS Datastore had the same error.<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":2,"featured_media":717,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1313,1581],"tags":[1089,1028,1163,1616,1617,1618,1134,1320,1347,1179,1131,1099,1619,1620,1621,1622,1623,1624,1592,1625,1626,1627,1383,1628,1629,1630,1631,1632,1148,1633,1069,1634,1635,1076,1121,1596,1077],"_links":{"self":[{"href":"https:\/\/vthink.fr\/en\/wp-json\/wp\/v2\/posts\/1154"}],"collection":[{"href":"https:\/\/vthink.fr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vthink.fr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vthink.fr\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/vthink.fr\/en\/wp-json\/wp\/v2\/comments?post=1154"}],"version-history":[{"count":3,"href":"https:\/\/vthink.fr\/en\/wp-json\/wp\/v2\/posts\/1154\/revisions"}],"predecessor-version":[{"id":1157,"href":"https:\/\/vthink.fr\/en\/wp-json\/wp\/v2\/posts\/1154\/revisions\/1157"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vthink.fr\/en\/wp-json\/wp\/v2\/media\/717"}],"wp:attachment":[{"href":"https:\/\/vthink.fr\/en\/wp-json\/wp\/v2\/media?parent=1154"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vthink.fr\/en\/wp-json\/wp\/v2\/categories?post=1154"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vthink.fr\/en\/wp-json\/wp\/v2\/tags?post=1154"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}