Quantcast
Channel: VMware Communities : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 176483

vdiskcreate.pl cannot create more than 7 disks.

$
0
0

I tried using the vdiskcreate.pl (with the changes suggested in other discussions) and was able to create and add disks to the Virtual machine.However,

I could do so only for 7 disks, after that I keep getting an "Invalid Disk backing Info Specified" error.

 

Unable to configure virtual device.[tatavv@rtatavarty-dl vmware-vsphere-cli-distrib]$ /usr/lib/vmware-vcli/apps/vm/vdiskcreate.pl --disksize 10000 --filename test_vm_7.vmdk --vmname test_vm --backingtype regular

 

Adding Virtual Disk on Virtual machine ddve-5.3.0.0-287143 in the host hpc12-bl7.datadomain.com
Invalid Disk Backing Info SpecifiedFalut : Cannot serialize deviceChange as VirtualDeviceConfigSpec at /usr/lib/perl5/5.8.6/VMware/VICommon.pm line 2109
        ComplexType::serialize('VirtualMachineConfigSpec=HASH(0x5bbbb40)', 'spec') called at /usr/lib/perl5/5.8.6/VMware/VIM25Stub.pm line 48718
        VimService::get_arg_string('VirtualMachineConfigSpec=HASH(0x5bbbb40)', 'spec', 'VirtualMachineConfigSpec') called at /usr/lib/perl5/5.8.6/VMware/VIM25Stub.pm line 48739
        VimService::build_arg_string('ARRAY(0x50241c0)', 'HASH(0x5024140)') called at /usr/lib/perl5/5.8.6/VMware/VIM25Stub.pm line 50722
        VimService::ReconfigVM_Task('VimService=HASH(0xee1a70)', '_this', 'ManagedObjectReference=HASH(0x2aaaaef5f3e0)', 'spec', 'VirtualMachineConfigSpec=HASH(0x5bbbb40)') called at /usr/lib/perl5/5.8.6/VMware/VICommon.pm line 1449
        ViewBase::invoke('VirtualMachine=HASH(0x1e2e020)', 'ReconfigVM_Task', 'spec', 'VirtualMachineConfigSpec=HASH(0x5bbbb40)') called at /usr/lib/perl5/5.8.6/VMware/VIM25Runtime.pm line 2519
        VirtualMachineOperations::ReconfigVM_Task('VirtualMachine=HASH(0x1e2e020)', 'spec', 'VirtualMachineConfigSpec=HASH(0x5bbbb40)') called at /usr/lib/perl5/5.8.6/VMware/VIM25Runtime.pm line 2525
        VirtualMachineOperations::ReconfigVM('VirtualMachine=HASH(0x1e2e020)', 'spec', 'VirtualMachineConfigSpec=HASH(0x5bbbb40)') called at /usr/lib/vmware-vcli/apps/vm/..//AppUtil/VMUtil.pm line 506
        eval {...} called at /usr/lib/vmware-vcli/apps/vm/..//AppUtil/VMUtil.pm line 505
        VMUtils::add_virtualdisk('vm', 'VirtualMachine=HASH(0x1e2e020)', 'devspec', 'undef') called at /usr/lib/vmware-vcli/apps/vm/vdiskcreate.pl line 104
        main::create_virtualdisk() called at /usr/lib/vmware-vcli/apps/vm/vdiskcreate.pl line 58

 

I tried doing the same with another VM and was able to add exactly 7 disks but not more than that. Is there any fix for this? I was able add more disks using GUI without any issues. This script is very useful and will be much useful if it can be used for more disks. Please give any helpful pointers to resolve this issue. I tried and got the same result with v4.0 and v5.0.

 

Thanks in advance

R


Viewing all articles
Browse latest Browse all 176483

Trending Articles



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