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..
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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:
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.
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
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

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
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)
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
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
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.
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.

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.