VM image converter (VMDK, VHD, VHDX, IMG, RAW, QCOW and QCOW2), P2V migrator
Moderators: anton (staff), art (staff), Max (staff), Anatoly (staff)
-
victorovermars
- Posts: 1
- Joined: Mon Feb 15, 2016 9:57 am
Mon Feb 15, 2016 12:20 pm
Hello,
I have a stupid question, but not asking is even more stupid.
I would like to know if anyone has any experience converting vhd volumes to vmdk volumes using the cli.
I have several vhd files I would like to convert to vmdk files.
I'm using the commands below but I don't know how to run them in a batch.
StarV2V.exe if=g:\virtvol1.vhd ot=vmdk_f of=h:\virtvol1.vmdk vmdktype=scsi
StarV2V.exe if=g:\virtvol2.vhd ot=vmdk_f of=h:\virtvol2.vmdk vmdktype=scsi
StarV2V.exe if=g:\virtvol3.vhd ot=vmdk_f of=h:\virtvol3.vmdk vmdktype=scsi
How do I run these lines in a batch. Are the commands I use correct?
-
Vladislav (Staff)
- Staff
- Posts: 180
- Joined: Fri Feb 27, 2015 4:31 pm
Tue Feb 23, 2016 11:46 am
Hi Victor.
You should use console version instead (not StarV2V.exe but StarV2V
c.exe)
Just create a .bat file and run it.
Should look something like this:
Code: Select all
C:\Program Files (x86)\StarWind Software\StarWind V2V Image Converter\StarV2Vc.exe if=g:\virtvol1.vhd ot=vmdk_f of=h:\virtvol1.vmdk vmdktype=scsi
C:\Program Files (x86)\StarWind Software\StarWind V2V Image Converter\StarV2Vc.exe if=g:\virtvol2.vhd ot=vmdk_f of=h:\virtvol2.vmdk vmdktype=scsi
C:\Program Files (x86)\StarWind Software\StarWind V2V Image Converter\StarV2Vc.exe if=g:\virtvol3.vhd ot=vmdk_f of=h:\virtvol3.vmdk vmdktype=scsi
I hope it helps
