Are there any tools here to create a new datastore given a newly created SAN LUN ?
Seems like none of the tools I can find online or that are in this perl sdk work around the messyness of having to manually fdisk the new LUN and then use vmkfstools to lay down a filesystem.
Is there a took available for this or am i missing something ?
There is a method for creating VMFS Datastores in the SDK: createVmfsDatastore. I personally don't have a lot of experience using, I'd have to do some testing to give you a code sample. But the general idea would be to fill out your spec data structure and pass it as a parameter to the CreateVMFSDatastore function.
Below are couple of forum threads that might be of help:
