Hey All
I had installed ESXi 5.0 update 1. I have a default datastore created out of the local disk on which the ESXi is installed.
I tried to create a new datastore out of the remote iSCSI storage attached. But then I got the error:
An Error occured during host configuration.
Call "HostDataStoreSystem.CreateVmfsDatastore" for object "ha-datastoresystem" on ESXi "x.x.x.x" failed.
I have tried the following resolutions as I found that I came across on Google, but still the issue persists.
- partedutil delete /vmfs/devices/disks/<disk-id> 3
the command was successful, but again datastore creation failed.
Courtesy: http://www.vexperienced.co.uk/2012/01/02/error-adding-datastores-to-esxi-resolved-using-partedutil/
- Booted linux in recue mode and used the parted command to created msdos label because the label of my old datastore(local disk) is gpt.
I was not able to boot ESXi then. So, I re-installed ESXi again, but still same issue.
- Tried the command
cat /dev/zero > /dev/disks/<disk-id>
The command failed as - Cannot create /dev/disks/<disk-id> : Function not implemented.
- Also I downloaded ESXi 5 update 2 because the update 1 has the local datastore issue. But still the problem persists.
Courtesy: http://www.virtuallyghetto.com/2012/04/removing-previous-local-datastore-label.html
According to the research I did on Google, ESXi does not support gpt partition, and it supports msdos partition. I tried changing the partition type(for the disk on which ESXi is installed of the disk) from gpt to msdos(using linux rescue). But no use. Am I going on the right path or Am I missing on something?