In the past I used vdiskmanager for p2v by using the convert option: I created a disk type "fullDevice" and used the -r command to convert that disk into a regular one.
Now that vdiskmanager can handle remote disks - how do I do this now ?
In details:
I have "source.vmdk" which is a disk type "fullDevice". (in my case this would be a 1kb file stored in the ramdrive of my LiveCD)
I want to import this "vmdk" into ESX without storeing it on a local host first.
Is it possible to use somehow 'pipe' the output of vdiskmanager -r into a disk mounted with vmware-mount.exe
vmware-mount.exe Q: /i:"ha-datacenter/vm/name_of_VM" " name_of_VM/xp-sp2.vmdk" /h:10.0.0.35 /u:root /s:password7 /v:1
___________________________________
description of vmx-parameters:
Perhaps I am missing something here - however:
Assuming you created the destination VM (and the disk) thru some other mechanism :
you can use vmware-vdiskmanager.exe -r with the destination ESX .
vmware-vdiskmanager.exe -r sourceDisk.vmdk -t 4 -h esx-name.mycompany.com -u username -f passwordfile "\[storage1]/path/to/targetDisk.vmdk"
You might also be able to use RCLI which has similar functionality.
-Sudarsan
Wow - sounds pretty cool.
I was under the impression that vdiskmanager with -r option must create the output-vmdk itself.
hearing that it can convert into an existing disk is good news - I'll test and report.
What about size ? - I guess the target vmdk on ESX must be slightly larger than the source ?
Thanks Ulli
___________________________________
description of vmx-parameters:
