VHD Expansion Issues

Randy Wake
Randy Wake used Ask the Experts™
on
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.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
You can right click on the existing partition and expand through diskmgmt.msc.
Randy WakePresident & Cloud Solutions Architect

Author

Commented:
Are you referring to the Extend Volume option when I right-click on (C:)?  Will this cause any data loss?
Randy WakePresident & Cloud Solutions Architect

Author

Commented:
I am trying to merge the unallocated space with the curent active partition (see attachment)
Extend-Volume.JPG
11/26 Forrester Webinar: Savings for Enterprise

How can your organization benefit from savings just by replacing your legacy backup solutions with Acronis' #CyberProtection? Join Forrester's Joe Branca and Ryan Davis from Acronis live as they explain how you can too.

Yes, the extend volume option.

No, but as a safety net, create a snapshot if you are worried.
Randy WakePresident & Cloud Solutions Architect

Author

Commented:
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 WakePresident & Cloud Solutions Architect

Author

Commented:
I backed-up the entire VHD yesterday to a backup drive.  Will that provide enough redundancy in case of disk failure?
You can snap on the fly but I don't like to do this because it includes running memory.
Randy WakePresident & Cloud Solutions Architect

Author

Commented:
Okay thanks.  I just powered down the VM and created a snapshot.  I am now powering up and proceeding with extending the partition.
Okay...
Svet PaperovIT Manager

Commented:
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.
Randy WakePresident & Cloud Solutions Architect

Author

Commented:
Hmmm... I'm not sure what this means.  (See attachment)
Extend-Disk.JPG
Click Next...
Randy WakePresident & Cloud Solutions Architect

Author

Commented:
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.
Randy WakePresident & Cloud Solutions Architect

Author

Commented:
spaperov, thank you for your concerns and advice as well.  Your point is well taken.
Randy WakePresident & Cloud Solutions Architect

Author

Commented:
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.
No problem. Did you accidentally accept the wrong comment as the solution?
Moderator please take a look at this one for me. Thanks.
Randy WakePresident & Cloud Solutions Architect

Author

Commented:
Excellent solution that worked perfectly as instructed by motnahp00.
Thanks modus.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial