ERROR: The disk is blank with ESXi Datastore creation
Call "HostDatastoreSystem.QueryVmfsDatastoreCreateOptions" for object "ha-datastoresystem" on ESXi "192.168.10.221" failed.
The other window underneath shows Location /vmfs/devices/disks/mpx.vmhba:3:C0:T0:L0 "The hard disk is blank."
This just happened to me when trying to create a new datastore on reconfigured RAID 10 array.
Call "HostDatastoreSystem.QueryVmfsDatastoreCreateOptions" for object "ha-datastoresystem" on ESXi "192.168.10.xxx" failed.
Disk is blank ! Well yes I just erased everything and initialized the new array.
So if you go on the Console or SSH in and run this command you get the ouput below.
# fdisk -l
Disk /dev/disks/naa.60019b90b36c760014f68e5892d35343: 999.1 GB, 999116767232 bytes
255 heads, 63 sectors/track, 121469 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/disks/naa.60019b90b36c760014f68e5892d35343 doesn't contain a valid partition table
Disk /dev/disks/mpx.vmhba32:C0:T0:L0: 2020 MB, 2020872192 bytes
64 heads, 32 sectors/track, 1927 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Notice no partition is present on the target disk.
So then you run this command
~ # fdisk -u /dev/disks/naa.60019b90b36c760014f68e5892d35343
Device contains neither a valid DOS partition table
This prompts you to create a partition either extended or primary
you choose primary then label Partition 1
in my case I was using the entire disk so I chose the default sectors to use MAX space on the disk.
Once done then run this again to check
Fdisk –l
Disk /dev/disks/naa.60019b90b36c760014f68e5892d35343: 999.1 GB, 999116767232 bytes
255 heads, 63 sectors/track, 121469 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/disks/naa.60019b90b36c760014f68e5892d35343p1 1 121470 975699936+ 83 Linux
Disk /dev/disks/mpx.vmhba32:C0:T0:L0: 2020 MB, 2020872192 bytes
64 heads, 32 sectors/track, 1927 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Notice the partition is there
Login to viclient and create your datastore!!!