This article introduces how to resize hard drive in Windows Server 2008 r2 without losing data. Resize hard drive volume with 3 partition editor tools.
Many server administrators need to resize hard drive partition for Windows 2008 server, because this server is running a long time and one or more partitions are getting full. The first thing you should do is backing up, because there's potential data loss risk while resizing hard drive partition even with Windows built-in tools.
Secondly, find out your disk partition configuration, especially how many partitions in a disk, whether the partitions that you want to shrink and extend are on the same disk.
Resize hard drive partition with diskpart cmd
Diskpart is a command line tool that integrated from Windows XP, it contains many command to disk and partition. Generally speaking, it is easy to shrink hard drive partition, but you are very likely encounter issue while extending hard drive, because it has some limitations.
- Diskpart cannot extend a partition by shrinking any other one. For example, to extend system partition C, there must be contiguous Unallocated space on the right, but the Unallocated space shrinking from D (or other volume) is nonadjacent to C drive.
- The partition that you want to extend must be formatted with NTFS, otherwise, you cannot extend this partition even by deleting the right contiguous partition.
Follow the steps to resize hard drive partition with diskpart in Windows Server 2008:
Resize partition drive with Disk Management
Unlike Diskpart that only lists single partitions with part of information, Disk Management lists partitions with more detailed information. The most important, it display all disks with graphical partition structure, so you'll see which partitions are in the same disk.
It is very easy to resize hard drive partition in Server 2008 Disk Management, but the same with diskpart, it only helps you create NTFS partition to create new or extend NTFS partition by deleting the right contiguous one.
As you see in the screenshot, Extend Volume is grayed out for C and E drive after shrinking D, because the Unallocated space is non-contiguous to C and is on the left of E.
Follow the steps if you just want to shrink a volume to create new.
If you can delete the right adjacent partition, follow the steps to extend volume with Server 2008 Disk Management.
If there is no or you cannot delete the right adjacent partition, both Diskpart command and Disk Management are useless.
Resize hard drive volume with NIUBI Partition Editor
To resize hard drive partition in Windows Server 2008 (and R2), NIUBI Partition Editor is better choice, it has many advantages comparing with both Windows native tools and other third party software.
Comparing with Windows tools, it is much more powerful.
- Both NTFS and FAT32 partitions can be shrunk and extended without losing data.
- Unallocated space can be made on either left or right when shrinking a hard drive partition.
- Unallocated space can be combined to either contiguous partition by 1 step.
- Unallocated space can be moved and combined to any non-adjacent partition on the same disk.
- Many other features such as copy, merge, convert, defrag, hide, wipe, scan partition, etc.
Comparing with other software, NIUBI Partition Editor is much safer and faster because of its unique technologies:
- Virtual Mode - all operations will be listed as pending for preview, real disk partitions won't be modified until click Apply to confirm.
- Cancel-at-well - if you applied wrong operations, it doesn't matter, you can also cancel the ongoing operations without losing data.
- 1 Second Rollback - if encounter any error while resizing partition, it automatically reverts server to original status in a flash.
- Advanced file-moving algorithm - resize and extend hard drive partition 30% - 300% faster.
When there is free unused space in any partition on the same disk, follow the steps to resize hard drive partition in Windows Server 2008 R2: