When trying to addDisk/LUN storage to an ESXi host you receive the error below:
Call "HostDatastoreSystem.QueryVmfsDatastoreCreateOptions" for object "ha-datastoresystem" on ESXi failed.
To fix this issue login to ESXi Shell and list your local disk using the following command:
/dev/disks/ ls"
you should see a long list of device names. You are looking for something similar to "naa.600508b1001c9836a9ae20949c02e52f"
you can also use Configuration/Storage Adapters from the vSphere Client to help narrow your search down. See image below:
and run the following command:
partedUtil mklabel /dev/disks/naa.600508b1001c9836a9ae20949c02e52f msdos