We added a few new HP systems to our hosting platform today and during the build process came across an odd error when trying to provision some local datastores. In short the servers have HP P410i SmartArray controllers which we’d configured to run a RAID10.
As soon as we’d try to create a store we’d get the below error pop up:
Call “HostDatastoreSystem.QueryVmfsDatastoreCreateOptions” for object “ha-datastoresystem” on ESXi “host ip” failed.
Turns out the HP controller hadn’t initialized the array or written any data to it, so it had some GPT type partitions which VMware couldn’t write to (from what I can understand anyway!). Fortunately we were able to use partedUtil to resolve this –
- Within the vSphere client under Configuration – Security Profile start the ESXi Shell and SSH services
- Use a terminal program of your choice (e.g. Putty or XShell) and connect to the ESXi server
- Find the Disk ID for the array (cd /dev/disks then ls)
- Run the following command to partition them –
partedUtil mklabel /dev/disks/diskid msdos
- All Done!
Original article that helped us along is HERE