VMware Cloud Community
that99thguy
Contributor
Contributor
Jump to solution

v2v conversion with no space on datastore..

Hi all --

I need to resize/shrink a guest disk (Win2008r2 disk from 800gb to 300gb) and I've read that there is reasonable success using a v2v conversion (with the vCenter Standalone Converter), but my concern is that I only have 50gb free on that host's datastore.

Would I be able to download/move the vm folder and files to my local machine and convert it from my local up to the esxi host?  If not, what other options are there? 

Thanks in advance

-- michael~

1 Solution

Accepted Solutions
BenLiebowitz
Expert
Expert
Jump to solution

Yes, you can use the VMware Converter to convert the VM to VMware Workstation/Player format and save the files on your PC.

Then, once it's done, run the converter again choosing the VMware Workstation/Player as the source and your virtual infrastructure as your destination. 

However, if the new VM is more than 50gb in size, you may have a space problem.  You may want to, on the final page of the VMware converter when moving the VM back to your vSphere host, make sure the disk is set to THIN provision... 

Good luck!

Ben Liebowitz, VCP vExpert 2015, 2016, & 2017 If you found my post helpful, please mark it as helpful or answered to award points.

View solution in original post

0 Kudos
11 Replies
BenLiebowitz
Expert
Expert
Jump to solution

Yes, you can use the VMware Converter to convert the VM to VMware Workstation/Player format and save the files on your PC.

Then, once it's done, run the converter again choosing the VMware Workstation/Player as the source and your virtual infrastructure as your destination. 

However, if the new VM is more than 50gb in size, you may have a space problem.  You may want to, on the final page of the VMware converter when moving the VM back to your vSphere host, make sure the disk is set to THIN provision... 

Good luck!

Ben Liebowitz, VCP vExpert 2015, 2016, & 2017 If you found my post helpful, please mark it as helpful or answered to award points.
0 Kudos
continuum
Immortal
Immortal
Jump to solution

Is that a boot-vmdk or data-only ?
If the content is just data I would connect to a share on your admin machine - copy all data - delete vmdk - create new one - upload again.

Inplace shrinking is also possible but quite advanced so I fear posting instructions. Using Converter is an option but that will take quite a while.


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
that99thguy
Contributor
Contributor
Jump to solution

It is just a data drive with user profiles, WSUS database and updates, and a couple program installations..

So the process would be something like:

- power off the vm;

- Edit Settings in vSphere;

- Remove Hard disk 2 (data drive);

- Add new Hard disk, with the target size;

- Power on the vm;

- Copy all guest files back to the data drive.

Should there be a concern about Win2008 freaking out about a new hard drive, or should it be pretty seamless?

0 Kudos
continuum
Immortal
Immortal
Jump to solution

Your instruction list would probably produce problems if you start the original VM without the program files.
Using a second VM to populate the new vmdk before you attach it to the original would be much safer.
But even with that precautions I would rather recommend not to do that.

Can you resize the partition of the 800 Gb disk ?
If yes , I could assist with cutting the vmdk

But the safest way is Converter in this case


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

0 Kudos
Jimmy15
Enthusiast
Enthusiast
Jump to solution

1. Yes, download VM Folder to Local machine. Run this VM in Workstation.

Creating a Workstation virtual machine using existing VMDK virtual disks (2010196)

http://sostechblog.com/2011/03/30/moving-vms-from-esx-to-workstation/

2. V2V to ESXi using VMware converter Standalone tool. Smiley Happy

Post if u need more details.

Regards

Pankaj


regards



PS: Mark kudos or correct answer as appropriate 🙂
0 Kudos
that99thguy
Contributor
Contributor
Jump to solution

So BenLebowitz's suggestion to convert to a Workstation/Player on my local..  then delete the vm from the host to free the space.. and then convert from my local back to the host, but with a new disk size (via this: PeteNetLive - KB0000185 - Resizing (Shrinking) Guest Hard Drive Sizes With VMware Standalone Convert...)? 

0 Kudos
BenLiebowitz
Expert
Expert
Jump to solution

Another option is to follow this post and download the files to your PC first, THEN use the VMware converter to transfer them back.

http://sostechblog.com/2011/03/30/moving-vms-from-esx-to-workstation/

Personally, I'd prefer to convert it to workstation format using the converter, otherwise, the Converter may not recognize the files being in Workstation/Player format when you go to transfer everything back. 

Ben Liebowitz, VCP vExpert 2015, 2016, & 2017 If you found my post helpful, please mark it as helpful or answered to award points.
0 Kudos
that99thguy
Contributor
Contributor
Jump to solution

So I can either:

- use Converter to convert to Workstation, copying the system drive and reducing the size of the data drive, but moving the converted vm to my local;

or

- use Client to download the entire vm to my local, open with Workstation, edit the vm settings, then convert back to Infrastructure on the host.

but either way, after the vm files are on my local, I can delete the original files from the host to free the space?

Considering the total size of the vm (vmx, logs, sys drive, data drive) comes out to over 900gb (thick provisioned), the Converter option seems the most logical, yes?

0 Kudos
continuum
Immortal
Immortal
Jump to solution

Yes - a direct download via WinSCP or Datastorebrowser would copy 900 Gb.
Converter can be configured to create a growing disk and so it only has to copy the used data plus a bit og overhead.

It would be a good idea to use the first Converter-action from ESXi to Windows to do the resize and not the second one - safes time


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

that99thguy
Contributor
Contributor
Jump to solution

Thanks for the help, everybody!   I'll try the conversion this weekend.. 

0 Kudos
that99thguy
Contributor
Contributor
Jump to solution

As a final wrap-up to this, for anyone curious, it worked!

- Powered off the vm;

- Used Standalone Converter to convert the machine to a Workstation/Player version, but edited the settings to reduce the size of the data drive from 800g to 300g;

- Set the destination to a shared folder on a NAS device and began the conversion;

     - Took about 2hrs;

- Deleted the vm from vSphere Client;

- Then immediately turned around Converter to use the Workstation/Player version as the source, and Infrastructure version as the dest on the esxi host;

     - Took another 2hrs.

- Powered on the vm, had to restart once, and good to go!  All data was in tact and programs worked.

Thanks again for the help!

-- michael~

0 Kudos