Hyper-V, Windows Dynamic disk that spawns 2 volumes

I have a Windows VM on my hyper V that has a drive letter that spans 2 dynamic disks.  I would like to get rid of the 2 disks and replace it with one Basic disk.  What is the safest way to duplicate the data from one logical drive to another? This is  a windows Exchange server that houses my stores and I need to make sure the disk security and files are identical to the original..
sullendAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sullendAuthor Commented:
dynamic-disk.JPG
0
AkinsdNetwork AdministratorCommented:
If the files on disk 2 are just regular files (data) and not installation files, then a simple copy would suffice
Check if there's program files folder on both disk, if there's none on the E: drive, then you can just copy files over using robocopy or regular copy and paste.
YOu would also need to verify that no application is referencing the 2nd disk. If yes, you will need to re-direct the path

Otherwise, your only feasible option is to remove reinstall applications and point them to 1 disk.
0
Muhammad BurhanManager I.T.Commented:
The description in picture shows that disk1 is fully occupied and 42gb is also consumed from disk2.
You can surely do the 85 to 90% of the task by copying disk1.
Then you have to do some work for that 42gb (disk2).
May be copy and replace could fulfill your needs
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

Seth SimmonsSr. Systems AdministratorCommented:
you can copy and paste as mentioned, but if you don't want (or can't afford) much downtime, i would create your new volume then create new exchange database(s) and move your mailboxes and (if you have them) public folders.  once everything is off the spanned E volume, delete it
0
sullendAuthor Commented:
I was hoping to use some type of utility to make a binary copy of the disk and then lay the data back on the new disk,(and assign then assign the drive letter so it would be seemless to any applications)
0
AkinsdNetwork AdministratorCommented:
I thought you're trying to consolidate the two drives into one. If you're still maintaining 2 disks with the same drive letter, robocopy (free microsoft tool) with the copyall switch may suffice. You can also use common tools to clone the disk
It's already part of the operating system but it's also available for download
https://technet.microsoft.com/en-us/library/cc733145.aspx 
http://www.easeus.com/disk-copy/index.htm
0
Seth SimmonsSr. Systems AdministratorCommented:
robocopy is good, i've used it before
but we're talking about live exchange data that updates frequently
doing a robocopy might fail if databases are mounted or if it worked, would be quickly outdated
would need to do with database(s) dismounted which would incur downtime which is why i suggested a new mailbox database and move mailboxes live.

exchange will take care of file permissions when it creates the database; no need to change that manually.  drive letter is irrelevant.  create the new volume with a new drive letter and tell exchange where to create the new database and let it do the rest.  then move the mailboxes
0
Mohammed KhawajaManager - Infrastructure:  Information TechnologyCommented:
There are many ways to achieve this:

1.  Add another drive, schedule a downtime and move the database from one drive letter to another (MS has articles on how to do this)
2.  If you cannot take a long outage then you could create another database on a different drive and then move mailboxes to the new drive.  This way only mailboxes being moved will be down for the time required to move them
3.  Shutdown all services and copy everything from one drive to another.  Change drive letters and this way no changes are required in Exchange

My suggestion would be to go with option 1.
0
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
Back up the VM.

Create a new VHDX file for the VM that has the necessary storage and attach it to the VM. Detach the previous VHDX files.

Restore the VM into the newly created storage.

If your backup solution allows for expanding the backup image's disk layout then use that.

If not, once restored open Disk Management and expand the existing partition into the now free space.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Switches / Hubs

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.