“Cannot change the host configuration” error message when adding disk storage to a VMware vSphere ESXi Host


Tying to add a new local datastore and got the following error:

This is quite a common error and most likely the cause is the disk(s) already has partition data  that VMware does not understand.

To fix this error, first make a note of the disk ID, which will be shown in the console.


Next we need to ssh into the esxi host, I like to use putty. By default ssh is not running on the esxi host, so make sure you start it before you try to ssh in.

Once you have connected via ssh.

Run the following command:

This lists all the disks connected to the host.

Find the id of the disk you are trying to add. then run the following command:

This will bring back information on the state of the disk.

We are next going to run a command that will put write an msdos partition.

Once this is done, we will be able to add the storage within vSphere.


No Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Setup Webmin on AWS EC2 Instance

‘Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely. …