VMware Cloud Community
hutchingsp
Enthusiast
Enthusiast
Jump to solution

Resizing system disk with diskpart

I have a 2003 R2 x64 server running on ESX 3.5 U4, and the system/boot VMDK is filling up.

Am I right in thinking it should be a case of switch off the VM, increase the VMDK size under the VM properties, attach the VM to a different VM as a second disk, boot that VM, and use diskpart as I normally would on the (now second volume) boot volume?

Cheers!

0 Kudos
1 Solution

Accepted Solutions
Troy_Clavell
Immortal
Immortal
Jump to solution

i've had some issues with extpart on our blade enviornment, but we haven't been able to figure out why it can't find the C drive

if you are increasing the size from say 30GB to 32GB, the command should look something like

>extpart c: 2048

Does diskmanager see the unallocated space? If extpart is not working, then yes your alternative method will work just fine.

View solution in original post

0 Kudos
8 Replies
Troy_Clavell
Immortal
Immortal
Jump to solution

yes, that will work as well.

.....but you can use ExtPart and so it live.

0 Kudos
vmroyale
Immortal
Immortal
Jump to solution

Hello.

That is correct, but you might also want to check out Dell's extpart utility that can extend the C: drive real-time.

Good Luck!

Brian Atkinson | vExpert | VMTN Moderator | Author of "VCP5-DCV VMware Certified Professional-Data Center Virtualization on vSphere 5.5 Study Guide: VCP-550" | @vmroyale | http://vmroyale.com
0 Kudos
sbeaver
Leadership
Leadership
Jump to solution

Yes those are the steps you will need to follow to expand that disk

Steve Beaver

VMware Communities User Moderator

VMware vExpert 2009

====

Co-Author of "VMware ESX Essentials in the Virtual Data Center"

(ISBN:1420070274) from Auerbach

Come check out my blog: www.theVirtualBlackHole.com

Come follow me on twitter

*Virtualization is a journey, not a project.*

Steve Beaver
VMware Communities User Moderator
VMware vExpert 2009 - 2020
VMware NSX vExpert - 2019 - 2020
====
Co-Author of "VMware ESX Essentials in the Virtual Data Center"
(ISBN:1420070274) from Auerbach
Come check out my blog: [www.virtualizationpractice.com/blog|http://www.virtualizationpractice.com/blog/]
Come follow me on twitter http://www.twitter.com/sbeaver

**The Cloud is a journey, not a project.**
0 Kudos
JDLangdon
Expert
Expert
Jump to solution

While I have never worked with x64 versions of Windows, this is the procedure that I follow with the 32-bit version.

The nice thing about working with VM's is that you can always clone the existing VM, make the modifications, and then test. If the modifications fail, just revert back to the clone copy and trash the original.

________________________________

Jason D. Langdon

0 Kudos
hutchingsp
Enthusiast
Enthusiast
Jump to solution

With extpart on a test server I just get an error "Unable to connect to C" when using that as the drive letter?

I'm happy downing the VM if it's the safer option.

0 Kudos
Troy_Clavell
Immortal
Immortal
Jump to solution

i've had some issues with extpart on our blade enviornment, but we haven't been able to figure out why it can't find the C drive

if you are increasing the size from say 30GB to 32GB, the command should look something like

>extpart c: 2048

Does diskmanager see the unallocated space? If extpart is not working, then yes your alternative method will work just fine.

0 Kudos
hutchingsp
Enthusiast
Enthusiast
Jump to solution

Thanks Troy (and others). Not sure why but it worked on the VM I wanted it to - quite neat though I'm sure I shall be crossing my fingers next time I reboot it Smiley Happy

0 Kudos
Scissor
Virtuoso
Virtuoso
Jump to solution

I use GParted to accomplish this.

There is a bootable ISO available from the website here: http://gparted.sourceforge.net/

0 Kudos