This article introduces how to extend disk partition in Windows Server 2012 R2 without losing data. 3 tools to expand server 2012 partition with detailed steps.
One or more partitions run out of space after running the server for a period of time. It is great if these partitions can be extended without wasting a long time to recreate partitions and restore from backup. There are two kinds of tools to help extend disk partition: Windows native utilities and third party disk editor software.
This article gives detailed steps how to extend partition drive in Windows Server 2012 (R2) with these tools.
Extend partition with Diskpart command tool
Diskpart is a command line tool that integrated from Windows XP with set of commands. Extend command can expand a partition fast and without losing data. However, the main preconditions include:
- This partition must be formatted as NTFS or without file system (RAW).
- There must be adjacent Unallocated space on the right.
How to extend with Diskpart in Windows Server 2012:
- Press Windows and R on keyboard, type diskpart and press Enter.
- Type list volume and press Enter in diskpart command prompt window, then you'll see all single partitions without structure.
- Type select volume D and press Enter. (D is the letter or number of the adjacent partition)
- Type delete volume and press Enter.
- Type select volume C and press Enter. (C is the letter or number of the partition that you want to expand)
- Type extend and press Enter.
Transfer files to other place before deleting this partition.
Extend partition in Server 2012 Disk Management
Different with Diskpart that runs via command prompt, Disk Management works with graphical interface. From Windows Server 2008, there is advanced Shrink and Extend Volume functions to help resize partition without losing data.
The same with Diskpart command, Disk Management cannot help you extend a partition by shrinking other one, because:
- Both Diskpart shrink command and Disk Management Shrink Volume function can only make Unallocated space on the right after shrinking a partition.
- Both Diskpart extend command and Disk Management Extend Volume function can only combine Unallocated space to the left contiguous partition.
This is the reason why you have to delete the right contiguous partition before extending. If there is no or you cannot delete this partition, these native tools are completely useless.
Steps to extend partition via Windows Server 2012 Disk Management:
- Back up or transfer files in drive D (for example).
- Right click it and select Delete Volume.
- Right click the left partition (C:) and select Extend Volume.
- Click Next till Finish in the pop-up Extend Volume Wizard window.
Extend volume with partition editor software
Comparing with both Diskpart cmd and Disk Management tool, NIUBI Partition Editor is much more powerful, it is able to:
- Shrink a partition and make Unallocated space on either side.
- Combine Unallocated space to either contiguous partition by 1 step.
- Move and combine Unallocated space to any non-adjacent partitions.
- Merge two adjacent partitions by 1 step.
- Copy, convert, defrag, hide, wipe, scan partition etc.
Download NIUBI Partition Editor and follow the steps in the video to extend partition drive on Windows Server 2012.
By this method, Operating System, programs and associated settings, as well as anything else keep the same with before. You won't see any difference except partition size changed.
Extend partition volume with other disk
Note that free unused space can only be transferred insides a hard disk. If you want to extend a partition to other disk or add space to this partition from other separated disk, it is impossible with any partitioning software. Because a hard disk is physical unit and the size is fixed. A 500GB disk can't be decreased to 300GB or increased to 1TB, right?
If there is no other partition or not enough available space in the same disk, copy this disk to a larger one and extend partition with extra disk space, follow the step in the video:
If you want to extend partition on RAID 0, 1, 5, etc. do not break array or do any operations to raid controller, simply follow the step in the video. There is no difference to resize and extend partition in hardware RAID arrays or VMware/Hyper-V virtual disk.
No matter how your disk partitions are configured, there is a way to extend partition in Windows Server 2012 with NIUBI Partition Editor.