“Cannot change the host configuration” error message on VMware ESXi Host

First need to enable SSH access fro ESXI host via ESXI firewall

Once you done that connect to ESXI via putty and run this command

ls -lha /vmfs/devices/disks

This will list all the all the disks in datastore and make sure to mark down the datastore ID. Its is something like naa.1234abcd1234XXXXX. Be careful not to choose wrong data drive!!!

Then run this command

partedUtil setptbl /vmfs/devices/disks/ < ID from the disk that you copied above> msdos

After that you will be able to create data store without an issue.

Credit goes to http://techhead.co/cannot-change-the-host-configuration-error-message-when-adding-disk-storage-to-a-vmware-vsphere-esxi-host/