{"id":1611,"date":"2017-11-07T17:43:46","date_gmt":"2017-11-08T00:43:46","guid":{"rendered":"http:\/\/jim-zimmerman.com\/?p=1611"},"modified":"2017-11-07T17:43:46","modified_gmt":"2017-11-08T00:43:46","slug":"vmware-esxi-and-iscsi-storage-issue","status":"publish","type":"post","link":"https:\/\/jim-zimmerman.com\/?p=1611","title":{"rendered":"VMware ESXi and iSCSI storage issue."},"content":{"rendered":"<p>I was having some trouble with a couple iSCSI volumes in a two member ESXi cluster.  Two of the volumes were display in the client adapater details as mounted, but the volumes were not showing as mounted in the Storage pane or with a df command in the CLI.<\/p>\n<p>Logs to check in for a possible hint:<\/p>\n<blockquote><p># grep -i <em>volumename<\/em> vobd.log<br \/>\n# grep -i <em>volumename<\/em> vmkernel.log<\/p><\/blockquote>\n<p>When I listed the filesystems from the CLI using the following,  the volumes were not listed or obviously mounted:<\/p>\n<blockquote><p># esxcli storage filesystem list<\/p><\/blockquote>\n<p>List iSCSI adapters configured:<\/p>\n<blockquote><p># esxcli iscsi adapter list<\/p><\/blockquote>\n<p>A rescan of all the adapters did not work either:<br \/>\nRescan adapter:<\/p>\n<blockquote><p># esxcli storage core adapter rescan -a<\/p><\/blockquote>\n<p>To list all the devices and their world IDs:<\/p>\n<blockquote><p># esxcli storage core device world list<\/p><\/blockquote>\n<p>To only list the world IDs tied to one device:<br \/>\n# esxcli storage core device world list -d <em>mydeviceid<\/em><\/p>\n<p>List all guests and their World ID:<\/p>\n<blockquote><p># esxcli vm process list<\/p><\/blockquote>\n<p>Restart management services:<\/p>\n<blockquote><p># services.sh restart<\/p><\/blockquote>\n<p>The vmkernel.log had a clue.  A message stating that &#8220;Device <em>mydeviceid<\/em> detected to be a snapshot:&#8221;<\/p>\n<blockquote><p># grep -i <em>mydeviceid<\/em> vmkernel.log<\/p><\/blockquote>\n<p>Listing the snapshots revealed the issue:<br \/>\nList snapshot:<\/p>\n<blockquote><p># esxcli storage vmfs snapshot list<\/p><\/blockquote>\n<p>Both of my troubled volumes were listed as snapshots.  I was told by VMware that this can happen if something changes in the META data of the iSCSI SAN\/NAS.  This was possible in my case, because I just updated my FreeNAS to the latest version.  All that needed to be done was remove the snapshots.  Once removed the volumes were mounted immediately.<br \/>\nRemove snapshot:<\/p>\n<blockquote><p># esxcli storage vmfs snapshot mount -u &#8220;59b153b3-86f464ec-999d-a0d3c1f0cdf0&#8221;<br \/>\n# esxcli storage vmfs snapshot mount -u &#8220;59b1a680-bc18c507-831a-2c768a56eb24&#8221;<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>I was having some trouble with a couple iSCSI volumes in a two member ESXi cluster. Two of the volumes were display in the client adapater details as mounted, but the volumes were not showing as mounted in the Storage pane or with a df command in the CLI. Logs to check in for a [&#038;hellip<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[460,458,459,33],"class_list":["post-1611","post","type-post","status-publish","format-standard","hentry","category-documentation","tag-cli","tag-iscsi","tag-storage","tag-vmware"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1611","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1611"}],"version-history":[{"count":2,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1611\/revisions"}],"predecessor-version":[{"id":1613,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1611\/revisions\/1613"}],"wp:attachment":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1611"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1611"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1611"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}