Hello, i want to use the vCli vmkfstools with passthroughauth option to create/cline vmdk-files, but i get an error "Unable to create virtual disk with specified parameters.". The vcenter and...
See more...
Hello, i want to use the vCli vmkfstools with passthroughauth option to create/cline vmdk-files, but i get an error "Unable to create virtual disk with specified parameters.". The vcenter and the esxi-hosts are full licensed. I get this error only for "writing"-tasks like creating (-c), cloning (-i) or deleting (-U) disks. When i use the option -P to print file system information, i get no error and the command works. Also when i authenticate with username and password directly to the esxi-host i get no errors and can use all functions of vmkfstools. I run the following command: vmkfstools --server vc.domain.local --vihost vm.domain.local --passthroughauth -c 1G /vmfs/volumes/DATASTORE/test.vmdk whith the following result: Attempting to create virtual disk [DATASTORE] g.vmdk Unable to create virtual disk with specified parameters. I run the same command with --verbose option and get the following SOAP messages (excerpt): Attempting to create virtual disk [DATASTORE] g.vmdk REQUEST: $VAR1 = '<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <CreateVirtualDisk_Task xmlns="urn:vim25"> <_this type="VirtualDiskManager">virtualDiskManager</_this> <name>[DATASTORE] g.vmdk</name> <spec xsi:type="FileBackedVirtualDiskSpec"> <diskType>preallocated</diskType> <adapterType>busLogic</adapterType> <capacityKb>1048576</capacityKb> </spec> </CreateVirtualDisk_Task> </soapenv:Body> </soapenv:Envelope> '; RESPONSE: $VAR1 = '<?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <soapenv:Fault> <faultcode>ServerFaultCode</faultcode> <faultstring></faultstring> <detail> <InvalidArgumentFault xmlns="urn:vim25" xsi:type="InvalidArgument"> <invalidProperty>dc</invalidProperty> </InvalidArgumentFault> </detail> </soapenv:Fault> </soapenv:Body> </soapenv:Envelope>'; Unable to create virtual disk with specified parameters. What is the "dc" property? Thank you for your answers.