Avatar of Randy Wake
Randy Wake
Flag for United States of America asked on

VHD Expansion Issues

I currently have a Microsoft Hyper-V 2008 R2 Server, bare-bones installation, hosting two WIN2K8R2 Virtual Machines.  They are both part of our ERP software.  One is an Application/Terminal Server and the other is the SQL Server.

Currently, I have the SQL server configured for 250GB of diskspace which is now down to 31GB due to multiple SQL databases, etc.  I need to create more space on the VM.  I expanded the VHD to 500GB but realized that it only created another partition of unallocated space.

What is the best way to merge the two partitions without causing any data loss.  We have been working on this ERP (Epicor P21) implementation for nearly two years and I don't want it to all go down the drain because of a VHD failure, etc.
Microsoft Legacy OSMicrosoft Server OSMicrosoft Virtual Server

Avatar of undefined
Last Comment
motnahp00

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
motnahp00

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Randy Wake

ASKER
Are you referring to the Extend Volume option when I right-click on (C:)?  Will this cause any data loss?
Randy Wake

ASKER
I am trying to merge the unallocated space with the curent active partition (see attachment)
Extend-Volume.JPG
motnahp00

Yes, the extend volume option.

No, but as a safety net, create a snapshot if you are worried.
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
Randy Wake

ASKER
Thank you.  I can't recall if I can create a snapshot on the fly or if I have to power-down the VM.
Randy Wake

ASKER
I backed-up the entire VHD yesterday to a backup drive.  Will that provide enough redundancy in case of disk failure?
motnahp00

You can snap on the fly but I don't like to do this because it includes running memory.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Randy Wake

ASKER
Okay thanks.  I just powered down the VM and created a snapshot.  I am now powering up and proceeding with extending the partition.
motnahp00

Okay...
Svet Paperov

I would suggest moving the database files on different volume (VHD disk). It's easer for disk space management. You can do that by using SQL Management Studio.
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Randy Wake

ASKER
Hmmm... I'm not sure what this means.  (See attachment)
Extend-Disk.JPG
motnahp00

Click Next...
Randy Wake

ASKER
Thank you motnahp00!  It looks like it worked!  It is amazing how easy it was!  Thanks again.  Yo have made life much easier.  I appreciate your Expert advice and instructions.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
Randy Wake

ASKER
spaperov, thank you for your concerns and advice as well.  Your point is well taken.
Randy Wake

ASKER
I've requested that this question be closed as follows:

Accepted answer: 0 points for HoustonTek's comment #38008271

for the following reason:

motnahp00 had exellent advice and provided excellent instructions to resolve my issue.
motnahp00

No problem. Did you accidentally accept the wrong comment as the solution?
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
motnahp00

Moderator please take a look at this one for me. Thanks.
Randy Wake

ASKER
Excellent solution that worked perfectly as instructed by motnahp00.
motnahp00

Thanks modus.
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.