Saturday, April 2, 2011

Expanding a Disk on a Windows 2003 VM using Diskpart.

You know its amazing what you can forget when  it's 2am, you just worked 18 hours and your brain is absolute mush. That  happened to me last night. LOL!  Here you go just in case it happens to you.

To use Diskpart.exe, follow these steps:


1. Open a command prompt by going to Start
Run.

2. Enter diskpart in the Open text box, and press [Enter].

3. At the DISKPART prompt, enter list volume.

4. Enter select volume x, where x is the volume number listed that you want to expand.

5. Enter extend, and press [Enter].

That's it. Just go to the Disk Management snap-in to checkout your new volume. It should now take up the rest of the available space on the drive.

The OS Drive isn't as simple. For that you need a utility like GParted. GParted does require a reboot so make sure you have a maintenance window to make the changes.

Tutorial: GParted Tutorial
Download: http://gparted.sourceforge.net/download.php

~ Scott

0 comments:

Post a Comment