This article introduces why unable to extend C drive in Windows Server 2008 R2, and what to do if Diskpart or Disk Management is unable to extend system partition.
Windows Server 2008 have been released for over 10 years, many server disk partitions run out of space, especially to system partition C. Many server administrators try to extend C drive without wasting a long time to recreate partitions and restore everything. However, many people feedback that they are unable to extend C drive in Windows 2008 server with either diskpart command or Disk Management.
This article introduces the reasons and corresponding solutions.
1. Why unable to extend C drive with Diskpart command
Diskpart works via command prompt, it is very easy and fast. However, unlike Disk Management, diskpart only lists single partitions with part of information. It doesn't display partition structure and any Unallocated space, so you may encounter more issue if you do not know everything about your disk partitions clearly.
Diskpart can only extend C drive when there is adjacent Unallocated space on the right. It cannot extend C drive by shrinking D or other partition, because Unallocated space shrunk from this volume is non-adjacent to C drive.
As you see, after I shrinking the contiguous volume D, I got error "The size of the extent is less than the minimum" when extending C drive.
Input help extend in diskpart command window, you'll see how diskpart Extend command works, the syntax and the limitations.
To be short:
- The free (Unallocated) space must be adjacent and on the right side of the partition that you want to expand.
- Free (Unallocated) space and the partition must be on the same disk.
- This partition must be formatted with NTFS or without file system (RAW).
2. Why unable to extend partition C via Disk Management
To enhance the disk partition management ability, Microsoft adds new Shrink Volume and Extend Volume functions with graphic interface in Server 2008 native Disk Management. However, the same with Diskpart command, Server 2008 Disk Management is unable to extend partition C by shrinking D or other drive. The same with diskpart extend command, Extend Volume function requires contiguous Unallocated space on the right.
If Disk Management can make Unallocated space on the left or move it from right to the left, there is no such issue.
If partition D is Logical, Server 2008 Disk Management still unable to extend C drive even after deleting D.
Unlike Primary partition, Logical partition will be converted to Free space after deleting, which is still part of the Extended partition.
In Server 2008 Disk Management, Unallocated space deleted from Primary partition can't be extended to any Logical drive. Free space deleted from Logical drive can't be extended to any Primary partition.
Diskpart has no such restriction, Free space deleted from D can be extended to C drive.
3. What to do when unable to extend system C drive
To solve this problem, you just need 1 step to move Unallocated space from right of D to the left. To accomplish this task, you need third party software such as NIUBI Partition Editor. Better than other tools, it is much faster and safer because of its unique 1 Second Rollback, Virtual Mode and Cancel-at-well technologies.
How to fix Windows Server 2008 (R2) is unable to extend C drive partition:
Download NIUBI Partition Editor and you'll see the main window with disk partition structure and other information. There is 20GB Unallocated space in Disk 0 that is shrunk from drive D.
Step 1: Right click D: drive and select "Resize/Move Volume", drag middle position towards right in the pop-up window.
Step 2: Right click C: drive and select "Resize/Move Volume" again, drag right border towards right in the pop-up window.
Step 3: Click Apply on top left to execute. (All operations before this step only work in virtual mode)
Watch the video guide:
If you have not shrunk volume D with Diskpart or Disk Management, you can make Unallocated space on the left directly without moving, follow the steps in the video:
Unable to extend partition C with other disk
If there is no available free space on the same system disk, no software can extend C drive. In this situation, you have two choices according to your disk partition configuration.
① If C drive is in VMDK or VHD:
Increase virtual disk size with the own tool of VMware or Hyper-V, then additional disk space will be shown as Unallocated at the end. Follow the step in the video to move and combine Unallocated space into C drive.
② If you use physical disk or RAID array:
Copy to another larger disk and expand C drive with additional disk space.
Besides shrinking, moving, extending and copying disk partition, NIUBI Partition Editor helps you do many other management operations.