IFW Virtual to Physical script?

User discussion and information resource forum for Image products.
Post Reply
tas3086
Posts: 317
Joined: Mon Mar 19, 2012 6:15 pm

IFW Virtual to Physical script?

Post by tas3086 »

The product description for IFW states that it includes scripts for "Virtual to Physical", and "Physical to Virtual" scripts. I see copyp2v, but it seems to only do physical to virtual migration. Is there a script to take a VMware machine file and convert it to a physical drive/partition directly under IFW or TBOS?
TeraByte Support
Posts: 3598
Joined: Thu May 05, 2011 10:37 pm

Re: IFW Virtual to Physical script?

Post by TeraByte Support »

tbidtool.tbs

"tas3086" wrote in message news:13302@public.image...

The product description for IFW states that it includes scripts for "Virtual
to Physical", and "Physical to Virtual" scripts. I see copyp2v, but it
seems to only do physical to virtual migration. Is there a script to take a
VMware machine file and convert it to a physical drive/partition directly
under IFW or TBOS?

tas3086
Posts: 317
Joined: Mon Mar 19, 2012 6:15 pm

Re: IFW Virtual to Physical script?

Post by tas3086 »

Does tbidtool support VMware workstation 12? I get no partitions found when selecting the .vmdk .
TeraByte Support(PP)
Posts: 1644
Joined: Fri Aug 12, 2011 12:51 am

Re: IFW Virtual to Physical script?

Post by TeraByte Support(PP) »

What type of disk are you trying to open? It needs to be a single file. Another option is to create a backup image of the disk from inside the VM and then use that as the source.
tas3086
Posts: 317
Joined: Mon Mar 19, 2012 6:15 pm

Re: IFW Virtual to Physical script?

Post by tas3086 »

Externally, it is a chain of 26 .vmdk files. Internally, it is a Linux boot, swap, and OS/Data (single) disk.

Installing or changing anything inside of the VM is not an option. Running a booted operating system "live" disk may work, but would require network connectivity to output a backup .TBI file, then restore to another disk. Using a TBOS Script would be much easier.

If I remember correctly, the VM file format changed within the past 2 years. Has your script evolved? Now that your script is tokenized, it is impossible to tell what it is doing, and where the error is coming from.
TeraByte Support(PP)
Posts: 1644
Joined: Fri Aug 12, 2011 12:51 am

Re: IFW Virtual to Physical script?

Post by TeraByte Support(PP) »

The .vmdk needs to be in a single file.

As you mention, saving an image to a network share is one option. You would then use the tbidtool.tbs script to restore the image. Or you could restore it manually and use osdtool.tbs to fix it up.

You could add a temporary new "single file" virtual disk to the VM so you could boot to IFL and copy the disk to it. Then use the new disk with the script. However, if you can't make any changes to the VM this isn't an option.

Otherwise, you could use the vmware-vdiskmanger tool to copy the split disk into a single file version. For example:
vmware-vdiskmanager -r SplitFileDisk.vmdk -t 0 SingleFileDisk.vmdk
tas3086
Posts: 317
Joined: Mon Mar 19, 2012 6:15 pm

Re: IFW Virtual to Physical script?

Post by tas3086 »

Thank you. Combining the files option worked, but still adds an additional step, and temp space usage. Any chance that you might be changing tbidtool to handle the multi file option? It would be nice, but only if others would use it as well.
Post Reply