how to clone a physical "individual partition" vmdk into a "local" (file-based) vmdk?

Posted by BJH on Server Fault See other posts from Server Fault or by BJH
Published on 2010-01-26T15:29:22Z Indexed on 2010/04/05 14:03 UTC
Read the original article Hit count: 228

Filed under:

Hello.

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?

© Server Fault or respective owner

Related posts about vmware