Changes

Jump to: navigation, search
no edit summary
== Shrinking a Windows Server 2008 Partition Using Disk Management ==
The partitions on an MBR disk may be shrunk to a smaller size using the Disk Management snap-in. This can be accessed either from the Server Manager or Computer Management tools. To launch the Server Manager open the Start menu and click on the Server Manager option, or click on the Server Manager icon in the task bar. Alternatively launch Computer Management from ''Start -> All Programs -> Administration Tools -> Computer Management'' or run '''compmgmt.csc'''.
Within Disk Management right click on the volume to that needs to be resized and select ''Shrink Volume...'' from the popup menu to invoke the Shrink dialog as shown below:
</pre>
For this example we are going to shrink parition partition 3 so need to select this partition using ''select partition'':
<pre>
</pre>
With the appropriate disk and partition selected the next task is to identify the amount by which the partition can be reduced. To aid in this calculation the diskpart ''shrink query maxquerymax'' command is used:
<pre>
== Extending a Partition Using Disk Management ==
In addition to shrinking partitions, the Disk Management interface also provide provides the ability to extend a partition to make use of otehrwise otherwise unallocated free space on a disk. To extend a volume, right click on the volume in the graphical view of the Disk Management screen and select ''Extend Volume...'' to invoke the ''Extend Volume Wizard''. Click next ''Next'' on the welcome screen to proceed to the disk selection process shown below:
The above screen lists any disks which are available to assign space to the partition being extended. In the case of dynamic disks , space may be allocated from any disks available on the system. In the case of basic disks , only space from the current disk are available. Since this is a basic disk the current disk drive is already placed in the ''Selected'' column. Define the amount of space to use for the volume extension using the ''Select the amount of space in MB'' field. If the ''Next'' button is disabled it means that more space has been requested than is available on the disk. Reduce the size of the space until the ''Next'' button is enabled and click on it to proceed to the summary screen. Assuming the summary matches the requirements of the extension click on ''Finish'' to extend the volume.
== Extending a Partition from the Command Line ==
</pre>
For this example we are going to extend parition partition 3 so need to select this partition using ''select partition'':
<pre>
</pre>
With the appropriate disk and partition selected the next task is to decide on the amount by which the partition can be extended. The ''extend'' command be used in a number of different ways. For example, a partition may be extended by a specified number of Mb MB by using the ''size='' option. For example, to increase the size of a partition by 3Gb3GB:
<pre>
</pre>
In the case of dynamic disks, the extend command can also be used to allocated disk space from other disk drives (a concept known as a spanned volume). In this case the ''disk='' directive must be specified as part of the extend command. For example to extend the currently selected partition (on disk 1) by 6Gb 6GB using space from disk 2:
<pre>

Navigation menu