{"id":496,"date":"2020-05-06T10:38:00","date_gmt":"2020-05-06T10:38:00","guid":{"rendered":"http:\/\/bogdanburuiana.com\/?p=496"},"modified":"2020-06-18T18:16:18","modified_gmt":"2020-06-18T18:16:18","slug":"issue-failed-to-create-vmfs-data-store-cannot-change-the-host-configuration","status":"publish","type":"post","link":"https:\/\/bogdanburuiana.com\/index.php\/2020\/05\/06\/issue-failed-to-create-vmfs-data-store-cannot-change-the-host-configuration\/","title":{"rendered":"Issue &#8211; &#8220;Cannot change the host configuration&#8221; error"},"content":{"rendered":"\n<p>I noticed the capacity allocated for the second ESXi host is not fully available. Even if I&#8217;ve created a separate HDD (<em>Hard disk 2 = 100 GB<\/em>) the capacity shows 59.25 GB.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"593\" src=\"https:\/\/bogdanburuiana.com\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.01.01-1024x593.png\" alt=\"\" class=\"wp-image-507\" srcset=\"\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.01.01-1024x593.png 1024w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.01.01-300x174.png 300w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.01.01-768x445.png 768w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.01.01-1536x889.png 1536w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.01.01-2048x1186.png 2048w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.01.01-1226x710.png 1226w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.01.01-928x537.png 928w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.01.01-480x278.png 480w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"171\" src=\"https:\/\/bogdanburuiana.com\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.02.16-1024x171.png\" alt=\"\" class=\"wp-image-508\" srcset=\"\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.02.16-1024x171.png 1024w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.02.16-300x50.png 300w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.02.16-768x129.png 768w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.02.16-1536x257.png 1536w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.02.16-2048x343.png 2048w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.02.16-1226x205.png 1226w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.02.16-928x155.png 928w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.02.16-480x80.png 480w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>I tried to expend the VMFS datastore  &#8211; Go to <strong>New Datastore<\/strong> (1), choose <strong>Expand an existing VMFS datastore extent<\/strong> (2) and then <strong>Next<\/strong> (3).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"547\" src=\"https:\/\/bogdanburuiana.com\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.02.37-1024x547.png\" alt=\"\" class=\"wp-image-509\" srcset=\"\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.02.37-1024x547.png 1024w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.02.37-300x160.png 300w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.02.37-768x410.png 768w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.02.37-1536x820.png 1536w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.02.37-2048x1094.png 2048w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.02.37-1226x655.png 1226w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.02.37-928x496.png 928w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.02.37-480x256.png 480w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Select datastore (DS) for which you want to increase capacity.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"650\" src=\"https:\/\/bogdanburuiana.com\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.03.01-1024x650.png\" alt=\"\" class=\"wp-image-511\" srcset=\"\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.03.01-1024x650.png 1024w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.03.01-300x190.png 300w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.03.01-768x487.png 768w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.03.01-1536x975.png 1536w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.03.01-1226x778.png 1226w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.03.01-928x589.png 928w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.03.01-480x305.png 480w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.03.01.png 1888w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Select device &#8211; here I can see 100 GB capacity with 40.58 GB free.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"645\" src=\"https:\/\/bogdanburuiana.com\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.03.24-1024x645.png\" alt=\"\" class=\"wp-image-510\" srcset=\"\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.03.24-1024x645.png 1024w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.03.24-300x189.png 300w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.03.24-768x483.png 768w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.03.24-1536x967.png 1536w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.03.24-1226x772.png 1226w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.03.24-928x584.png 928w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.03.24-480x302.png 480w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.03.24.png 1884w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Select partition to be added but I got <strong>Failed to extend an existing VMFS datastore &#8211; &#8220;Cannot change the host configuration&#8221;<\/strong> error.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"651\" src=\"https:\/\/bogdanburuiana.com\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.04.09-1024x651.png\" alt=\"\" class=\"wp-image-512\" srcset=\"\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.04.09-1024x651.png 1024w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.04.09-300x191.png 300w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.04.09-768x488.png 768w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.04.09-1536x977.png 1536w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.04.09-1226x780.png 1226w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.04.09-928x590.png 928w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.04.09-480x305.png 480w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.04.09.png 1906w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"459\" src=\"https:\/\/bogdanburuiana.com\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.05.13-1024x459.png\" alt=\"\" class=\"wp-image-513\" srcset=\"\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.05.13-1024x459.png 1024w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.05.13-300x134.png 300w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.05.13-768x344.png 768w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.05.13-928x416.png 928w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.05.13-480x215.png 480w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.05.13.png 1116w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>First step to resolve this issue was to enable SSH client for this ESXi host.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"318\" src=\"https:\/\/bogdanburuiana.com\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.05.38-1024x318.png\" alt=\"\" class=\"wp-image-514\" srcset=\"\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.05.38-1024x318.png 1024w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.05.38-300x93.png 300w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.05.38-768x238.png 768w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.05.38-1536x476.png 1536w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.05.38-2048x635.png 2048w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.05.38-1226x380.png 1226w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.05.38-928x288.png 928w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.05.38-480x149.png 480w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Start a SSH session to the ESXi server. To find the <strong>disk id<\/strong> I&#8217;ve used the command below (show connected disks):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong><span class=\"has-inline-color has-vivid-red-color\">ls -lha \/vmfs\/devices\/disks\/<\/span><\/strong><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"447\" src=\"https:\/\/bogdanburuiana.com\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.06.41-1024x447.png\" alt=\"\" class=\"wp-image-516\" srcset=\"\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.06.41-1024x447.png 1024w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.06.41-300x131.png 300w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.06.41-768x335.png 768w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.06.41-1536x670.png 1536w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.06.41-1226x535.png 1226w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.06.41-928x405.png 928w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.06.41-480x209.png 480w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.06.41.png 1898w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Check the error on disk by running <\/p>\n\n\n\n<p><strong><span class=\"has-inline-color has-vivid-red-color\">partedUtil getptbl \/vmfs\/devices\/disks\/&lt;disk ID&gt;<\/span><\/strong><\/p>\n\n\n\n<p>It seems the GPT is located beyond the end of the disk.<\/p>\n\n\n\n<p>Reset the partition table to <strong>msdos<\/strong> type:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><span class=\"has-inline-color has-vivid-red-color\"><strong>partedUtil setptbl \/vmfs\/devices\/disks\/&lt;diskID&gt; msdos<\/strong><\/span><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"481\" src=\"http:\/\/bogdanburuiana.com\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.07.31-1024x481.png\" alt=\"\" class=\"wp-image-517\" srcset=\"\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.07.31-1024x481.png 1024w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.07.31-300x141.png 300w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.07.31-768x361.png 768w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.07.31-1536x721.png 1536w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.07.31-1226x576.png 1226w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.07.31-928x436.png 928w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.07.31-480x225.png 480w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.07.31.png 1946w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>I tried again to expend the VMFS datastore, following the steps described above, and this time there was no error and I was able to see full capacity ( 100 GB).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"129\" src=\"https:\/\/bogdanburuiana.com\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.08.17-1024x129.png\" alt=\"\" class=\"wp-image-518\" srcset=\"\/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.08.17-1024x129.png 1024w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.08.17-300x38.png 300w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.08.17-768x97.png 768w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.08.17-1536x193.png 1536w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.08.17-2048x258.png 2048w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.08.17-1226x154.png 1226w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.08.17-928x117.png 928w, \/wp-content\/uploads\/2020\/06\/Screenshot-2020-06-13-at-14.08.17-480x60.png 480w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I noticed the capacity allocated for the second ESXi host is not fully available. Even if I&#8217;ve created a separate HDD (Hard disk 2 = 100 GB) the capacity shows 59.25 GB. I tried to expend the VMFS datastore &#8211; Go to New Datastore (1), choose Expand an existing VMFS datastore extent (2) and then [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":117,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"_links":{"self":[{"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/posts\/496"}],"collection":[{"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/comments?post=496"}],"version-history":[{"count":21,"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/posts\/496\/revisions"}],"predecessor-version":[{"id":595,"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/posts\/496\/revisions\/595"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/media\/117"}],"wp:attachment":[{"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/media?parent=496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/categories?post=496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bogdanburuiana.com\/index.php\/wp-json\/wp\/v2\/tags?post=496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}