Multiple partitions in single vmdk file and need to expand one on Windows 2003

jpletcher1
jpletcher1 used Ask the Experts™
on
I did some P2V conversions a while back and ended up with a few servers that have the C: and E: drives on one single vmdk file.  Now I need to extend the C: partition, and I have software utilities to do this, but when I expand the vmdk file the space isn't allowed to be extended into from the C: drive.  I know without tools or software the C: drive on Windows 2000/2003 servers can't be extended, but I have the software.  Is it possible to expand the C: drive when both the C: and E: drives are in the same vmdk file?

vSphere 4
Windows 2003
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
You could either re-visit and use VMware Converter to complete a V2V, which is the most easiest method, because the re-size of disk, and partition can be done in one process.

otherwise, you will need to use a third party Partition program, such as Gparted Live CDROM

Download Gparted Live CDROM (http://gparted.sourceforge.net/livecd.php).

What you've got to do, is a two part process, Move the E: partition up the disk into the new free space.

and then once complete, extend the C: drive partition into the free space available (before the E: partition).
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Please make sure you have a backup (not a snapshot) before completing any partition changes.

Examples of third party utilities include:
 
7tools Partition Manager
http://www.7tools.com/pm/index.htm

DFSee
http://www.dfsee.com/dfsee/index.php

EASEUS Partition Manager
http://www.partition-tool.com

GParted LiveCD
http://gparted.sourceforge.net/livecd.php

Partition Logic
http://partitionlogic.org.uk

Paragon Partition Manager
http://www.partition-manager.com

Ranish Partition Manager
http://www.ranish.com/part

System Rescue CD
http://www.sysresccd.org/Main_Page

Author

Commented:
I have EASEUS Partition Manager right now.  So if I allocate more space to the vmdk file, then I'd need to move the E: drive to be at the end of the space, and then expand the C: drive?  Makes sense, but I've never done the middle part where you'd move a partition to the later part of disk space.

I know I could do this with converter, but it seems like when I do V2V with converter some applications on the server get hosed up because they think they are on a new server, then I have to go through and relicense.
Acronis in Gartner 2019 MQ for datacenter backup

It is an honor to be featured in Gartner 2019 Magic Quadrant for Datacenter Backup and Recovery Solutions. Gartner’s MQ sets a high standard and earning a place on their grid is a great affirmation that Acronis is delivering on our mission to protect all data, apps, and systems.

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
yes, that can happen with converter.

your method is correct.

Author

Commented:
Thanks.  One last comment, if I clone the vm before I do all this is that as good as a backup then?  So if the machine blows up I can clone from my clone back to the original name and be where I started?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
yes, clone is good as a backup.

Author

Commented:
Thanks for the complete answer.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Once you have the clone, just rename it and you are ready to go again.

Tip. Clone before, and then after the E: Partition Move, and if the C: partition move goes wrong you can return to the before clone.

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