Creating a new datastore fails with the error: An error occurred during host configuration
search cancel

Creating a new datastore fails with the error: An error occurred during host configuration

book

Article ID: 310925

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
  • Cannot create a new datastore from vCenter Server or directly from the vSphere Client
  • Creating a new datastore fails
  • The Add Storage Wizard reports the error:

    An error occurred during host configuration.
    Call “HostDatastoreSystem.QueryVmfsDatastoreCreateOptions” for object “ha-datastoresystem” on ESXi “xxx.xxx.xxx.xx″ failed.
    An internal error occurred in the vsphere client.


Environment

VMware ESX 4.1.x
VMware ESXi 4.0.x Embedded
VMware ESXi 4.1.x Installable
VMware ESXi 4.1.x Embedded
VMware ESXi 4.0.x Installable
VMware ESX 4.0.x

Cause

This issue may occur if:
  • The size of the LUN is more than 2TB - 512 bytes. The maximum LUN size in vSphere 4 is 2TB - 512 bytes. For more information on this limitation, see Troubleshooting a LUN that is extended in size past the 2TB/2047GB limit (1004230).
  • The LUN being presented was used as an RDM earlier and does not have a valid partition table.
  • The LUN being presented was used as a disk device on an other operating system and does not have a valid partition table.
  • The LUN contains a GPT partition that cannot be removed.

Resolution

To prevent this issue:


Additional Information

Troubleshooting a LUN that is extended in size past the 2TB/2047GB limit
Troubleshooting the Add Storage Wizard error: Unable to read partition information from this disk
Frequently Asked Questions on VMware vSphere 5.x for VMFS-5
新しいデータストアの作成が次のエラーで失敗する: ホストの構成中にエラーが発生しました
创建新数据存储失败,并显示以下错误:主机配置过程中出错