Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a physical disk with a small (60GB) partition containing my guest OS. The physical disk also contains a large (240GB) block of unpartitioned space. My vmdk is defined as a physical "individual partition".

I want to convert the source physical "individual partition" vmdk into a local (file-based) vmdk. The command -

     vmware-vdiskmanager -r sourcevmdk targetvmdk -t 2

creates a 300GB vmdk that includes both the desired 60GB "individual partition" and the 240GB of useless unpartitioned space !

How can I create a local vmdk with just the individual partition?

share|improve this question

VMware Converter will allow you to convert the VM and exclude the unused partition during the conversion. The standalone version is free and as far as I'm aware supports VMware Server as a destination platform - I'm assuming that's what you need as you are using vmware-vdiskmanager.

If you were using ESX\ESXi there are a number of command line alternatives but even so Converter is probably the simplest way to do this. Just make a copy of the whole VM, leaving out the unwanted partition, and delete the original (once you are certain the new VM is OK that is).

share|improve this answer

Your Answer


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