Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
558 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 119

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 119

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Is your company's data protection keeping pace with virtualization? Here are 7 dynamic ways to adapt to rapid breakthroughs in technology.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

860 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