{"id":1327,"date":"2022-01-19T10:19:28","date_gmt":"2022-01-19T16:19:28","guid":{"rendered":"http:\/\/zewwy.ca\/?p=1327"},"modified":"2022-01-19T10:19:28","modified_gmt":"2022-01-19T16:19:28","slug":"esxi-6-x-datastore-not-mounted","status":"publish","type":"post","link":"https:\/\/zewwy.ca\/index.php\/2022\/01\/19\/esxi-6-x-datastore-not-mounted\/","title":{"rendered":"ESXi 6.x Datastore Not Mounted"},"content":{"rendered":"<p>Quick post here, I had to recover from a flooded basement. Sorry for the day outage. I had to put my disc in another server and load FreeNAS, and import my ZFS volumes, recreate the iSCSI targets, and then I added them to my ESXi hosts, and rescanning the HBAs shows the disks&#8230;<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/JVhJf84.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/JVhJf84.png\" alt=\"\" width=\"1399\" height=\"424\" \/><\/a><\/p>\n<p>but the datastores were not visible&#8230;<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/Lwhsieh.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/Lwhsieh.png\" alt=\"\" width=\"1356\" height=\"210\" \/><\/a><\/p>\n<p>so I googled and found t<a href=\"https:\/\/communities.vmware.com\/t5\/ESXi-Discussions\/Need-to-add-an-existing-local-datastore-from-before-a-re-install\/td-p\/490383\">his VMware thread<\/a> with some helpful commands to try. (I do kind of agree with the OP, that its annoying they removed the front end UI for import that could handle this)<\/p>\n<pre>esxcli storage vmfs snapshot list<\/pre>\n<p><a href=\"https:\/\/i.imgur.com\/bKi0tWD.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/bKi0tWD.png\" alt=\"\" width=\"691\" height=\"494\" \/><\/a><\/p>\n<pre>esxcfg-volume -M UUID<\/pre>\n<p><a href=\"https:\/\/i.imgur.com\/vKn5qWv.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/vKn5qWv.png\" alt=\"\" width=\"566\" height=\"83\" \/><\/a><\/p>\n<p>Ehh it worked!<\/p>\n<p><a href=\"https:\/\/i.imgur.com\/qEYcEmH.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/i.imgur.com\/qEYcEmH.png\" alt=\"\" width=\"1377\" height=\"255\" \/><\/a><\/p>\n<p>Hope this helps someone. If this doesn&#8217;t work you might have some other underling issue?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Quick post here, I had to recover from a flooded basement. Sorry for the day outage. I had to put my disc in another server and load FreeNAS, and import my ZFS volumes, recreate the iSCSI targets, and then I added them to my ESXi hosts, and rescanning the HBAs shows the disks&#8230; but the &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/zewwy.ca\/index.php\/2022\/01\/19\/esxi-6-x-datastore-not-mounted\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;ESXi 6.x Datastore Not Mounted&#8221;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sfsi_plus_gutenberg_text_before_share":"","sfsi_plus_gutenberg_show_text_before_share":"","sfsi_plus_gutenberg_icon_type":"","sfsi_plus_gutenberg_icon_alignemt":"","sfsi_plus_gutenburg_max_per_row":"","footnotes":""},"categories":[5],"tags":[234,14,401],"class_list":["post-1327","post","type-post","status-publish","format-standard","hentry","category-hypervisors","tag-datastore","tag-esxi","tag-unmounted"],"_links":{"self":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/1327","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/comments?post=1327"}],"version-history":[{"count":1,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/1327\/revisions"}],"predecessor-version":[{"id":1328,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/posts\/1327\/revisions\/1328"}],"wp:attachment":[{"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/media?parent=1327"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/categories?post=1327"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/zewwy.ca\/index.php\/wp-json\/wp\/v2\/tags?post=1327"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}