VMware

This Question is Answered

2 "helpful" answers available (6 pts)
8 Replies Last post: Oct 19, 2009 11:42 AM by Scissor  

Resizing system disk with diskpart posted: Oct 19, 2009 11:00 AM

Click to view hutchingsp's profile Hot Shot 254 posts since
Jun 21, 2007

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!

Re: Resizing system disk with diskpart

1. Oct 19, 2009 11:02 AM in response to: hutchingsp
Click to view Troy Clavell's profile Guru vExpert 7,258 posts since
Oct 12, 2007
yes, that will work as well.

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

Re: Resizing system disk with diskpart

2. Oct 19, 2009 11:02 AM in response to: hutchingsp
Click to view vmroyale's profile Champion vExpert 2,237 posts since
Jun 15, 2007
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!

Re: Resizing system disk with diskpart

3. Oct 19, 2009 11:03 AM in response to: hutchingsp
Click to view sbeaver's profile Guru User Moderators vExpert 7,727 posts since
Nov 1, 2004
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 http://www.twitter.com/sbeaver

**Virtualization is a journey, not a project.**

Re: Resizing system disk with diskpart

4. Oct 19, 2009 11:05 AM in response to: hutchingsp
Click to view JDLangdon's profile Master 995 posts since
Jun 30, 2006

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

Re: Resizing system disk with diskpart

6. Oct 19, 2009 11:19 AM in response to: hutchingsp
Click to view Troy Clavell's profile Guru vExpert 7,258 posts since
Oct 12, 2007
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.

Re: Resizing system disk with diskpart

8. Oct 19, 2009 11:42 AM in response to: hutchingsp
Click to view Scissor's profile Master 1,355 posts since
Oct 8, 2007
I use GParted to accomplish this.

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

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and more in the Developer community.

Learn More

Developer
Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld
Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities