Solved

converting dynamic spanned vhds to single volume hyper-v

Posted on 2014-03-11
3
1,118 Views
Last Modified: 2014-11-12
The example below explains the setup and what we would like to achieve.

-hyperv host operating system
-server 2003 virtual machine with c drive and d drive
-the d drive was setup in the 2003 guest vm as a basic disk, when the space ran out on the d drive, instead of expanding the vhd on the host a second vhd was added and both were converted to dynamic disks within the guest vm and then spanned to form a larger d drive. this was then carried out a second time so now 3 vhd's make up a spanned volume.
-this in my opinion makes no sense and is a very bad practice especially considering the expand vhd function is available.

my question is: does anyone know how i can effectively merge this data into 1 new vhd and remove the dynamic disk made up of the 3 vhd's. my thoughts are that this needs to be a tool which will clone the guest d drive and create 1 vhd from this or will clone the data in the guest vm into a new attached single large vhd. i cant see a way of just merging the vhd's so unless anyone has a better idea, im wondering what the best tool for the job is some sort of p2v, even though it is already techincally a vm?
the end result would just be all the data migrated from the 3 vhd's into 1 single vhd appearing as a basic disk in windows.
0
Comment
Question by:active8it
[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
3 Comments
 
LVL 27

Expert Comment

by:Steve
ID: 39923528
Hi active8it,

I agree this isn't an ideal scenario, and your plan seems pretty good to me.

If the data on the drive is just flat files, create the new VHD, attach & format it and copy the data across.

If there's applications/data on the drive I would agree some kind of image would be best.

Boot into an ISO of a bootable imaging software (there are many available) and use that to image the existing disk to the new one, just like you would on a physical server,

Heres a list of a few disk imaging systems, but there are also many free options.
http://disk-imaging-software-review.toptenreviews.com/
0
 
LVL 42

Expert Comment

by:kevinhsieh
ID: 39925598
You inherited a mess. I would just create a new PHD, attach it to your VM, and then use robocopy to move all of your data to the new volume. Many utilities don't understand dynamic disks, do just doing a robocopy from inside the guest is the safest IHMO. After you copy all the data over, you can just remove the drive letter from the spanned volume assign it to your new volume. Reboot and you are running on the new drive.

With virtual environments I see no reason to partition drives or use dynamic disks.
0
 
LVL 37

Accepted Solution

by:
Mahesh earned 500 total points
ID: 39925692
Try below software will help you to copy \ clone entire Dynamic volumes to Basic disk would help you to achieve what you are trying to do

http://www.partition-tool.com/resource/clone-dynamic-disk.htm
http://www.partition-tool.com/copy-wizard/

If this partition contains any kind of Database, then you need to make appropriate changes there as well

Mahesh
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
pdf to excel 8 70
DNS/WINS in a domain 10 48
Windows 7 - BSOD associated with video driver 34 59
unknown computers in my LAN 12 31
Previously, on our Nano Server Deployment series, we've created a new nano server image and deployed it on a physical server in part 2. Now we will go through configuration.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

726 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