ESXi

 View Only
Expand all | Collapse all

Splitting 2 partitions on a single VMDK to 2 VMDKs

  • 1.  Splitting 2 partitions on a single VMDK to 2 VMDKs

    Posted Jun 19, 2013 08:41 AM

    Hi All

    Due to a configuration oversight when creating the VMs, I have inherited four Server 2012 VMs which have a Single vDISK which in turn contains a C: drive (OS) and D: drive (Data/Files). The first 80GB is the C: drive, the remaining XX TB is the D: drive.

    For ease of future managibility, I want to split these two partitions into individual vDisks.

    The VMs (vDisks) are thin provisioned and reside on a Starwind iSCSI LUN.

    What is the easiest way to do this?

    My end goal is the following:
    1. Split C: into vDisk 1

    2. Split D: into vDisk 2

    3. Reclaim any unused space (Thin provisioning)

    At first, I was going to treat the vms like any other system (make a backup with shadowprotect or similar, then restore C: into the first vDisk, and D: onto the second), but is there a better, faster way to do this?

    Any help appreciated.



  • 2.  RE: Splitting 2 partitions on a single VMDK to 2 VMDKs

    Posted Jun 19, 2013 08:57 AM

    Hi,

    yes, there is a fast way - use VMware Converter.

    Open VMware Converter  and select "convert machine". Click through the wizzard till you see the task "Options".

    There is a setting called "Data to copy" - change "Data copy type" to "Select volumes to copy" and you can configure the VM as you want.

    Regards

    Andreas



  • 3.  RE: Splitting 2 partitions on a single VMDK to 2 VMDKs

    Posted Jun 19, 2013 10:02 AM

    Hi, thanks for your reply.

    So how long will this take? Is it fast because it just splits the disk or will it still need to copy the contents of the partitions?



  • 4.  RE: Splitting 2 partitions on a single VMDK to 2 VMDKs

    Posted Jun 19, 2013 10:19 AM

    It depends on the disksize as it is still necessary to move the data to the new vdisks.

    But it is fast, because as long as you do not change the size of the disks, VMware Converter will do a block level copy.

    Regards



  • 5.  RE: Splitting 2 partitions on a single VMDK to 2 VMDKs

    Posted Aug 23, 2013 06:31 PM

    It does not appear that the original poster has responded, but i have tried this and it DOES NOT work, i am using converter 5.1 and it does not split them into 2 separate disks, it just grows the original vmdk.

    If anyone has any insight it would be greatly appreciated.

    I am trying this on a Windows Server 2003 SP2 machine and it is not working.



  • 6.  RE: Splitting 2 partitions on a single VMDK to 2 VMDKs

    Posted Aug 23, 2013 06:38 PM

    Ich bin wieder ab 2. September im Büro.

    Ihr Mail wurde nicht weitergeleitet. In dringenden Fällen wenden Sie sich bitte an Hr. Pointner (w.pointner@3beg.at<mailto:m.hoedl@3beg.at>) bzw. Hr. Koerner (e.koerner@3beg.at<mailto:e.koerner@3beg.at>).



  • 7.  RE: Splitting 2 partitions on a single VMDK to 2 VMDKs

    Posted Aug 26, 2013 07:58 PM

    Run Converter and select the system to convert.

    Destination System > Data to Copy > Advanced > Destination layout

    Click Add Disk

    Select the partition you wish to move

    Click the Move down | Move up buttons to move the partition to the new disk

    Hope this helps

    Kevin



  • 8.  RE: Splitting 2 partitions on a single VMDK to 2 VMDKs

    Posted Aug 26, 2013 08:08 PM

    Ich bin wieder ab 2. September im Büro.

    Ihr Mail wurde nicht weitergeleitet. In dringenden Fällen wenden Sie sich bitte an Hr. Pointner (w.pointner@3beg.at<mailto:m.hoedl@3beg.at>) bzw. Hr. Koerner (e.koerner@3beg.at<mailto:e.koerner@3beg.at>).



  • 9.  RE: Splitting 2 partitions on a single VMDK to 2 VMDKs

    Posted Aug 27, 2013 02:07 PM

    Yes that seemed to work paradise1967, thank you.

    I seem to be having a problem with that disk still though, it said that it created a new VMDK and when i copy data off of it either to another drive local to the vm or to another network machine data copy is painfully slow.  i was hoping a new VMDK would have fixed that, but does not seem to have.

    any ideas on other things to try?



  • 10.  RE: Splitting 2 partitions on a single VMDK to 2 VMDKs

    Posted Aug 27, 2013 02:18 PM

    Ich bin wieder ab 2. September im Büro.

    Ihr Mail wurde nicht weitergeleitet. In dringenden Fällen wenden Sie sich bitte an Hr. Pointner (w.pointner@3beg.at<mailto:m.hoedl@3beg.at>) bzw. Hr. Koerner (e.koerner@3beg.at<mailto:e.koerner@3beg.at>).



  • 11.  RE: Splitting 2 partitions on a single VMDK to 2 VMDKs

    Posted Feb 03, 2014 04:26 PM

    paradise1967 wrote:

    Run Converter and select the system to convert.

    Destination System > Data to Copy > Advanced > Destination layout

    Click Add Disk

    Select the partition you wish to move

    Click the Move down | Move up buttons to move the partition to the new disk

    Hope this helps

    Kevin

    FYI, this only works with non-system partitions.  It will not let you move a system partition (the "move up" and "move down" buttons are grayed out).  Thank you for posting this.