Windows

Expand and shrink tasks with Windows Server 2008

Windows Server 2008 introduces new commands for periodic disk geometry maintenance tasks, namely a new shrink feature.

Windows Server 2008 offers a new collection of disk management commands that can allow a disk to be expanded or shrunk while online. This functionality does not require that the drives be a dynamic disk, and it can be applied to the Windows C:\ drive. This functionality can enable administrators to manage the Windows storage requirements, which is one of the more challenging administration areas.

Systems connected to enterprise storage systems such as storage area network (SAN) volumes have long used the diskpart command for basic extensions of a drive, but now this can be done in the Disk Management snap-in within Server Manager.

For a new or existing drive, the way to change the geometry within Server Manager is the same: Right-click the drive and the task menu will appear showing the Extend Volume and Shrink Volume commands for the drive. Figure A shows the command on the E:\ drive of a Windows Server 2008 system. Figure A

Figure A

Once you select Extend Volume or Shrink Volume, a dialog box pops up with fields for the desired geometry of the current drive. (Note: On most extension tasks, Windows may add 1 MB to the amount of space, making the total larger than the available space. If you extend the drive to the maximum amount of space, simply ensure that the two fields match in the MB values.) Figure B shows the Extend Volume Wizard. Figure B

Figure B

The procedure for the shrink task is similar to the extend task, and you can perform both online without a reboot. This functionality can greatly assist you in managing disk-hungry applications or the less common situation of giving back shared storage when a larger size is no longer required.

Stay on top of the latest Windows Server 2003 and Windows Server 2008 tips and tricks with our free Windows Server newsletter, delivered each Wednesday. Automatically sign up today!

About

Rick Vanover is a software strategy specialist for Veeam Software, based in Columbus, Ohio. Rick has years of IT experience and focuses on virtualization, Windows-based server administration, and system hardware.

13 comments
jiongs
jiongs

Want to release more partition space, adjust partition size, delete unnecessary partition, format hard drive and other technical operations for your server hard disk? AOMEI Partition Assistant Lite offers you all necessary partition management functions. See this link: http://www.disk-partition.com/partition-assistant-lite.html

Jonathan wesley
Jonathan wesley

In fact, there are two ways to resize Windows 2008 partition: 1.Disk Management snap-in: With Shrink Volume function, you cannot decrease the allocated space beyond the point where the unmovable files are located. Extend Volume function can only extend partition into contiguous unallocated space which is at the right side of the partition (behind the partition). 2.Partition Magic Server 2008: http://www.partition-magic.org/windows-server-2008/windows-server-2008-resize-partition.html

smartsupper
smartsupper

1. Though windows 2008 server added new shrink and extend feature under disk management, but you cannot extend c drive by shrinking other data partition, except you can "move" the unallocated space to the end of the system drive. 2. Pay attention to your data security. To use third party partition software, you should select the reliable one, before any operations to the server, you'd better backup. As a technician, I have several experiences doing this, also used several tools. partition magic server is safer, as it integrated snapshot feature, which is very important to keep your data, especially when rebooting to resize partitions. To shrink and extend partition, it is very easy even for a newbie. see this page http://www.partition-magic-server.com/resource/resize-windows-server-2008-partition.html note: this is a commercial tool.

Techmakerz
Techmakerz

Although it is a magic new function, there are limitations, in other words, it allows you to extend partition under certain conditions. 1. The "Shrink Volume" option can only create unallocated space ( or free space if the partition is logic) behind the partition. 2. Sometimes why do you find the "Extend Volume" option is greyed out? Because it can only extend partition into contiguous unallocated space. You can't extend partition unless deleting the next partition. In such case, you must backup data on your partition which is time-consuming and risky to do that. A Better Solution: Extend/Expand System Partition in Windows Server 2000/2003/2008 without Losing Data http://www.partition-magic.org/server/extend-system-partition-c-drive.html

hello2012
hello2012

Now, many server partition magic alternatives came into being as they used for satisfying server users boring problems. Aomei Partition Magic Server can help resizing partitions easily and efficiently.

Microgood
Microgood

Yes, windows server 2008 disk management has the feature to shrink and extend partition, but the disadvantages is that if there is no unallocated space behind the system partition, you cannot extend the partition. The shrink feature will create unallocated space behind the data partition, so it cannot be used to extend the system partition. In the condition, you have to delete the data partition that is behind the system partition if you want to extend the system partition. More about this, refer http://www.partition-magic-server.com/resource/shrink-extend-server-2008.html

luckcheng
luckcheng

Windows Server 2008 built in Disk Management has ability to shrink volume and extend volume, but "Extend Volume" is available when there is continous space behind the partition which you want to extend, otherwise,you cannot extend the partition. If there is no continous space behind the partition which you want to extend, how to extend partition, especially how to extend system partition? This article will show you detail information to extend system partition on Windows Server 2008: http://www.partition-tool.com/resource/extend-system-partition-server-2008.htm

Editor's Picks