Page 1 of 1

IFW Virtual to Physical script?

PostPosted: Sat Feb 25, 2017 1:03 pm
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?

Re: IFW Virtual to Physical script?

PostPosted: Sat Feb 25, 2017 8:13 pm
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?


Re: IFW Virtual to Physical script?

PostPosted: Sat Feb 25, 2017 9:26 pm
by tas3086
Does tbidtool support VMware workstation 12? I get no partitions found when selecting the .vmdk .

Re: IFW Virtual to Physical script?

PostPosted: Sun Feb 26, 2017 12:37 am
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.

Re: IFW Virtual to Physical script?

PostPosted: Mon Feb 27, 2017 7:17 pm
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.

Re: IFW Virtual to Physical script?

PostPosted: Tue Feb 28, 2017 11:22 am
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

Re: IFW Virtual to Physical script?

PostPosted: Wed Mar 01, 2017 7:50 am
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.