Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I acquired a VMWare image, but everything in the folder was GZipped, IE Each individual file. Now when I attempt to uncompressed the images in order to put onto an ESX machine I run out of space(They were initially >80Gb compressed to 14Gb).

Does anyone know of a decent way to import this onto an ESX machine without having to decompress the files myself?

share|improve this question

migrated from superuser.com Nov 9 '10 at 6:39

This question came from our site for computer enthusiasts and power users.

    
Do you have any room on a local desktop system to uncompress the files and then upload the full-size images to the ESXi server? –  ewwhite Nov 12 '10 at 19:06
add comment

5 Answers

Uncompress the gzip'd file onto a Windows desktop machine, and use vmware converter to shrink the disks, or basically get rid of the zero'd space at the end (which is why you are getting such a high compression rate.

share|improve this answer
add comment

Um, either way this isn't going to work. If you can't uncompress the images onto your filesystem then there is no way you'll be able to import them into ESXi once you do uncompress them. Am I missing something?

share|improve this answer
    
If the disk is a "Thick" disk, i.e. it has been pre-allocated, and it is mostly empty, then he can convert it to "thin" prior to putting it on the ESXi box, so it won't take up all his space (although it will shut off when he runs out of space, but that is another issue). –  Jed Daniels Nov 17 '10 at 18:20
    
agreed, but i think his issue will come down to whether he has enough disk space to run the VMs. –  luckytaxi Nov 17 '10 at 18:39
add comment

To keep it easy you could expand the machine on a desktop and start it. Check the hd size and add a new disk, smaller. Then use norton ghost or anything similar to clone the disk and then (after trying it) erase the original one just like you'd do with a physical pc.

share|improve this answer
add comment

If I understand what you are asking, you want to run the VM without decompressing the files. This is not possible. Depending on if the VM actually is using 80 GB of data, you man however be able to move them to another system that has enough space, decompress them there, then import them into ESXi using the VMware converter (or ovftool), selecting "thin disk" as a deployment option so they don't take up the entire size of the virtual disk issued to them, but there might actually be 80GB of data in the disk, in which case this wouldn't get you anywhere.

share|improve this answer
add comment

Assuming the .gz file is on another machine, you could try using gzip and piping it to netcat. Not sure how easy it is to get netcat running on esxi though.

If you've not got room locally, you could copy the file to the esxi server, SSH in, and then unzip it there?

share|improve this answer
1  
netcat works on esxi, I've used it many times. –  Jed Daniels Nov 17 '10 at 17:30
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.