Extend System Partition on a Windows Server 2003 VM using Dell ExtPart

There is no native tool that enables extending system partitions (C:\ drives) on Server 2003. There are multiple ways to perform this task using Third party tools, however, the only method that can be done online utilizes a Dell utility called ExtPart. It can perform the extension of the system partition with no downtime although sometimes booting into Safe Mode and then running ExtPart is necessary to clear locks on the disk.
NoteThis applies to Server 2003 only, newer versions of Windows do not suffer from this limitation, Disk Management as well as the diskpart are able to extend system partitions on-the-fly.
1.   The first step is to download the ExtPart utility from this link. Click on the Download File link and save it to your desktop. The file is a self-extracting zip file called ExtPart.exe per the below:
2.   Double-click on it and accept the default path it will extract the utility to.
3.   Click on Unzip and the files will be extracted successfully.
To demonstrate how useful ExtPart is we will use an example whereby our demo VM has a 12 GB C:\ drive and it needs to be increased to 25 GB. A screenshot of the the current state of the C:\ drive is below: 

Ensure that you have 13 GB of unallocated space to next to C drive to extend the partition.
Now we need to run the ExtPart utility expand the C:\ drive so that it utilizes the 13 GB of unallocated space. To proceed, open the command prompt and go to the location where you extracted the ExtPart utility, in my case, C:\dell\ExtPart:
C:\>cd C:\dell\ExtPart

Then run ExtPart.exe:
C:\dell\ExtPart>extpart.exe

Enter the volume that is being expanded, in this example it is the C:\ drive so enter just C: without the backslash:
Volume to extend (drive letter or mount point): C:

Then enter the amount in MB to increase the volume by, I entered 13312:
Size to expand the volume (MB): 13312

The output will confirm the new size of the volume (C:\ drive), which is 25101 MB:
New volume size          :25101 MB (26320895488 bytes)

The full sequence of commands can be seen in the screenshot below:

When going back into Disk Management and re-scanning the disks you can see that the C:\ drive is using all of the provisioned space in the disk:


If the utility returns an error such as “the disk is not accessible” or “unable to connect to C:” then reboot the VM into Safe Mode and then run the same ExtPart commands. This is caused by various services locking the disk and preventing ExtPart from extending the volume. Booting into Safe Mode starts up the OS in a clean state, so only minimal services and drivers will run, thereby allowing ExtPart to expand the volume without interruption.

Link to download DELL Basic Disk Expansion, v.1.0.4, A01


No comments:

Post a Comment