Wednesday, November 23, 2011

Unable to add lun to an ESX (i) 4.x

Issue: Customer is unable to add a lun to an ESX(i) 4.x host.
when customer clicks on add storage and selects the particular lun to be added, chooses the block size and clicks on finish he gets the
Error: -
call hostdatastoresystem.CreateVmfsDatastore" for object on "<CLUSTER>" ESXi "<HOSTNAME>" failed. operation failed, diagnostic report: Unable to create Filesystem, please see VMKernel log for more details.
hostd logs below
 Resolution: There was a pre existing partition in the lun which was being presented. Deleted that partition using the fdisk command utility from the vCLI and we were able to successfully present the lun.

vmware kb: 2000454