{"id":491,"date":"2014-10-27T15:11:08","date_gmt":"2014-10-27T15:11:08","guid":{"rendered":"http:\/\/virtualworlduk.co.uk\/?p=491"},"modified":"2014-10-27T15:11:08","modified_gmt":"2014-10-27T15:11:08","slug":"vmfs-volume-is-locked","status":"publish","type":"post","link":"https:\/\/www.virtualworlduk.co.uk\/wordp\/vmfs-volume-is-locked\/","title":{"rendered":"VMFS Volume is locked"},"content":{"rendered":"<p>This is an unusual situation that I came across today, the exact issue that I faced was related to an issue with a Riverbed Steelfusion appliance but could easily happen to a normal VMware environment.<\/p>\n<p>With Riverbed Steelfusion, we present out a LUN to a remote location as iSCSI&#8230; this remote location creates the datastore etc. as with a normal environment and therefore place a lock on the LUN. \u00a0In our situation today, the remote location had a failure of the Riverbed Steelfusion appliance (something that doesn&#8217;t happen often) and we had to go through and present the LUN and virtual machines out of our data centre to allow the location to continue working whilst waiting for a replacement unit.<\/p>\n<p>When trying to mount the LUN into our data centre environment we received an alert to say that the volume was locked&#8230; which makes sense because it wouldn&#8217;t have been released properly from the remote location.<\/p>\n<p>A similar issue could occur in a data centre where a host has placed a lock on a LUN and has a failure, meaning that the lock doesn&#8217;t get released.<\/p>\n<p>So, what do we do about it&#8230; well, the first thing to do is to try and reboot each of the hosts that have the LUN presented to it, as this could release the lock.<\/p>\n<p>If you are still experiencing issues where the LUN is locked, then you need to break the lock using the following information&#8230; (please note that you should make sure that no other hosts are connected to the LUN as this will break to connection for all hosts)<\/p>\n<p>vmkfstools -B \/vmfs\/devices\/disks\/<em>disklunid<\/p>\n<p><\/em>The LUN ID should be something similar to: \u00a0naa.60060160b3c018009bd1e02f725fdd11:1 \u00a0 \u00a0 please note that this is with the :1 at the end.<\/p>\n<p>Full details of the process can be found here:<\/p>\n<p>http:\/\/kb.vmware.com\/selfservice\/microsites\/search.do?language=en_US&#038;cmd=displayKC&#038;externalId=1009570<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is an unusual situation that I came across today, the exact issue that I faced was related to an issue with a Riverbed Steelfusion appliance but could easily happen to a normal VMware environment. With Riverbed Steelfusion, we present out a LUN to a remote location as iSCSI&#8230; this remote location creates the datastore etc. as with a normal [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":492,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[9],"tags":[],"class_list":["post-491","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vmware"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.virtualworlduk.co.uk\/wordp\/wp-json\/wp\/v2\/posts\/491","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.virtualworlduk.co.uk\/wordp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.virtualworlduk.co.uk\/wordp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.virtualworlduk.co.uk\/wordp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.virtualworlduk.co.uk\/wordp\/wp-json\/wp\/v2\/comments?post=491"}],"version-history":[{"count":0,"href":"https:\/\/www.virtualworlduk.co.uk\/wordp\/wp-json\/wp\/v2\/posts\/491\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.virtualworlduk.co.uk\/wordp\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/www.virtualworlduk.co.uk\/wordp\/wp-json\/wp\/v2\/media?parent=491"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.virtualworlduk.co.uk\/wordp\/wp-json\/wp\/v2\/categories?post=491"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.virtualworlduk.co.uk\/wordp\/wp-json\/wp\/v2\/tags?post=491"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}