Solved

Can I attach an entire virtual machine w/ 2 partitions as a 2nd disk on a different VM?

Posted on 2013-06-14
4
559 Views
Last Modified: 2013-06-14
A tiny bit of background.. new VM server running ESXi 5.1.  I had done a Physical to Virtual conversion on company's soon to be retired SBS 2008 server.  I was slated today to setup a new SBS server on the same datastore, and to do the migration.  My coworker took it upon himself to virtualize two of the other servers during the week leaving me with just 500gb for the entire 2011 sbs migration.  Which leads me to my question.

Assuming that I perform all migration operations, and demote the old server literally to the point I would be turning it off, could I theoretically then disassociate that VM file from the virtual machine, and add it to my new 2011 SBS VM as a 2nd disk.  Then delete the C partition, and simply "re-use" the data portion of it on the new server.

I couldn't care less about the old server at that point, the only thing I would need on it is literally its D: (Data) drive.  The partition contains nothing but raw data, pictures, videos, user files, etc.

It would take me about 19 hours to copy all of that data off onto the NAS then copy it back after i delete the old server and partition that space as a new/blank separate disk for the SBS2011 VM.  Theoretically in my mind it should work, but I'm really new to VM so I thought i'd ask the experts whether or not my shortcut would work.

Thanks!
0
Comment
Question by:ladylydian
  • 2
  • 2
4 Comments
 
LVL 120

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39249287
Yes, if it's only a DATA drive, you can use the data partition on the new server, NTFS permissions will remain.

This is how we perform, upgrades of virtual servers, upgrade the OS, and just detach and attach the data disks.
0
 

Author Comment

by:ladylydian
ID: 39249305
That is actually kind of the issue... The OS and Data are both on the same disk, just different partitions.  Granted I would just be deleting the C partition anyway. I imagine it shouldn't/wouldn't make a difference what is actually on it anyway.

Thanks!!
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39249310
I see no issue. Still easy, "move" the virtual disk, attach to new VM, and remove the C: partition, using Disk Management.

Have a look at my EE Article for Disk Utilities, which can help you recover the space, and shrink the disk.

HOW TO:  Resize a VMware (VMDK) Virtual Disk

you could also perform a V2V, which would just copy the D: data, and create a new VMDK.

HOW TO:  Synchronize changes when completing a P2V or V2V with VMware vCenter Converter Standalone 5.1

HOW TO:  P2V, V2V for FREE - VMware vCenter Converter Standalone 5.1
0
 

Author Comment

by:ladylydian
ID: 39249315
I can't do the V2V sadly.. the reason I even thought this up is because of the lack of space available to me.  I am going to reclaim the space by the old VM anyway, but if I could just attach it as storage rather than copy off to nas then back to server data wise, I'll take the shortcut.

Thanks again for your help!
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Ransomware is a malware that is again in the list of security  concerns. Not only for companies, but also for Government security and  even at personal use. IT departments should be aware and have the right  knowledge to how to fight it.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

680 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question