Quantcast
Channel: VMware Communities : All Content - vSphere Management SDK
Viewing all articles
Browse latest Browse all 1860

Fail to create a data store in Version Vmfs3

$
0
0

Hi All

 

                  I have tried to create a vmfs3 datastore in ESX5.1 using vim25.jar

 

 

VmfsDatastoreOption[] dsOptions = VExecutor
.getInstance()
.getServiceInstance()
.queryVmfsDatastoreCreateOptions(datastoreSysMOR,
scsiDisk.get(0).getDevicePath(), null);
VmfsDatastoreCreateSpec vmfsSpec = (VmfsDatastoreCreateSpec) dsOptions[0]
.getSpec();
vmfsSpec.getVmfs().setVolumeName("DS");
vmfsSpec.getVmfs().setMajorVersion(3);

 

When I set MajorVersion value to 5 , then its working fine and datastore created. But Version3 not working.

 

 

xception in thread "main" AxisFault

faultCode: ServerFaultCode

faultSubcode:

faultString: An error occurred during host configuration.

faultActor:

faultNode:

faultDetail:

{urn:vim25}PlatformConfigFaultFault:<faultMessage><key>com.vmware.esx.hostctl.default</key><arg><key>reason</key><value xsi:type="xsd:string"> Unable to create Filesystem, please see VMkernel log for more details: VMFS3 file system creation is unsupported on a GPT partition on device 'eui.fd1a2bfb781b33786c9ce9009495adfd:1'</value></arg><message>Operation failed, diagnostics report:  Unable to create Filesystem, please see VMkernel log for more details: VMFS3 file system creation is unsupported on a GPT partition on device 'eui.fd1a2bfb781b33786c9ce9009495adfd:1'</message></faultMessage><text/>

Thanks

Siva


Viewing all articles
Browse latest Browse all 1860

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>