?
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
Medium Priority
?
562 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
[X]
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
  • 2
  • 2
4 Comments
 
LVL 122

Assisted Solution

by:Andrew Hancock (VMware vExpert / EE MVE^2)
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 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 122

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 2000 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
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 edit .vmx files to add advanced configuration options Open vSphere Web Client: Edit Settings for a VM: Choose VM Options -> Advanced: Add Configuration Parameters:
Teach the user how to use create log bundles for vCenter Server or ESXi hosts Open vSphere Web Client: Generate vCenter Server and ESXi host log bundle:  Open vCenter Server Appliance Web Management interface and generate log bundle: Open vCenter Se…
Suggested Courses

801 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