0

[Solved] Call “HostDatastoreSystem.QueryVmfsDatastoreCreateOptions” for object “ha-datastoresystem” on ESXi failed

Not too long ago I was setting up a test ESXi 6.0 environment on an Intel NUC, I found that I could not create a datastore using the vSphere user interface. The error: Call “HostDatastoreSystem.QueryVmfsDatastoreCreateOptions” for object “ha-datastoresystem” on ESXi failed. Since I was not able to get create it from the UI, I had to utilize my Google-fu and resort to the command line. Below are the steps needed to fix the issue.

Fix VMWare Call “HostDatastoreSystem.QueryVmfsDatastoreCreateOptions” for object “ha-datastoresystem” on ESXi failed

  • Login to vSphere and navigate to configuration
  • Click Security -> Properties -> SSH
  • Click Options -> Start
  • SSH into your host
  • Navigate to /dev/disks directory
  • List file (ls)
  • Match the identifier with the datastore that you cant create in vSphere (Example: naa.6d4ae7608f873700762a910c5402c983)
  • Type: partedUtil mklabel /dev/disks/naa.6d4ae7608f873700762a910c5402c983 msdos
  • Exit SSH session
  • Go back into vSphere and create the datastore
  • Disable SSH service
  • Subscribe to theSysadminChannel on Youtube for awesome video demos

 

I hope this helped someone with their error: Call “HostDatastoreSystem.QueryVmfsDatastoreCreateOptions” for object “ha-datastoresystem” on ESXi failed. If you have any questions be sure to leave a comment below and I’ll do my best to respond.

Paul

Hi, my name is Paul and I am a Sysadmin who enjoys working on various technologies from Microsoft, VMWare, Cisco and many others. Join me as I document my trials and tribulations of the daily grind of System Administration.