I have an ESX4i installable Host and am trying to delete and recreate the local vmfs datastore.
I can list and delete the datastore no problem, but when I try and create it again, I get a "cannot find specified disk or disk already in use" error I have tried extracting the lun information with get-scsilun and scsilunpath as well as reading all the posts I can find on here about the new-datastore command.
When I add the datastore manually, the wizard shows all the ESX4i partition on the disk and offers the option of using the remaining free space. I have tried partition numbers other than 1, but if I look at the properties of the existing partitions then 1 is the only logical number to use.
If I can't easily delete and recreate this datastore can someone reconned a command to wipe the content of the datastore.