Share via


Extend a simple or spanned volume

Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2

To extend a simple or spanned volume

  • Using the Windows interface

  • Using a command line

Using the Windows interface

  1. Open Computer Management (Local).

  2. In the console tree, click Computer Management (Local), click Storage, and then click Disk Management.

  3. Right-click the simple or spanned volume you want to extend, click Extend Volume, and then follow the instructions on your screen.

Notes

  • To perform this procedure on a local computer, you must be a member of the Backup Operators group or Administrators group on the local computer, or you must have been delegated the appropriate authority. To perform this procedure remotely, you must be a member of the Backup Operators group or Administrators group on the remote computer. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure. For more information, see Default local groups, Default groups, and Using Run as.

  • To open Computer Management, click Start, click Control Panel, double-click Administrative Tools, and then double-click Computer Management.

  • You can extend a volume only if it does not have a file system or if it is formatted using the NTFS file system. You cannot extend volumes formatted using FAT or FAT32.

  • You cannot extend a system volume, boot volume, striped volume, mirrored volume, or RAID-5 volume.

  • You can extend simple or extended volumes that are not system or boot volumes, as long as there is available disk space. This includes volumes created as dynamic volumes or created as basic volumes and then converted to dynamic on Windows XP Professional or Windows Server 2003 operating systems.

  • If you upgraded from Windows 2000 to Windows XP Professional or Windows Server 2003 operating systems, you cannot extend a simple or spanned volume that was originally created as a basic volume and converted to a dynamic volume on Windows 2000.

  • You can extend a simple volume onto additional dynamic disks to create a spanned volume. Spanned volumes cannot be mirrored.

  • If you extend a spanned volume, you cannot delete any portion of it without deleting the entire spanned volume.

Using a command line

  1. Open Command prompt.

  2. Type:

    diskpart

  3. At the DISKPART prompt, type:

    list volume

    Make note of the number of the simple volume you want to extend onto another disk.

  4. At the DISKPART prompt, type:

    select volumen

    Selects the simple volume, n, you want to extend onto another disk.

  5. At the DISKPART prompt, type:

    list disk

    Make note of the number of the disk that you want to extend the simple volume onto.

  6. At the DISKPART prompt, type:

    extend [**size=**n] [**disk=**n]

    Extends the selected volume onto disk n, and make the extension size=n megabytes (MB) in size.

Value Description

list volume

Displays a list of basic and dynamic volumes on all disks.

select volume

Selects the specified volume, where n is the volume number, and gives it focus. If no volume is specified, the select command lists the current volume with focus. You can specify the volume by number, drive letter, or mount point path. On a basic disk, selecting a volume also gives the corresponding partition focus.

list disk

Displays a list of disks and information about them, such as their size, amount of available free space, whether the disk is a basic or dynamic disk, and whether the disk uses the master boot record (MBR) or GUID partition table (GPT) partition style. The disk marked with an asterisk (*) has focus.

extend

Extends the volume with focus into next contiguous unallocated space. For basic volumes, the unallocated space must be on the same disk as, and must follow (be of higher sector offset than) the partition with focus. A dynamic simple or spanned volume can be extended to any empty space on any dynamic disk. Using this command, you can extend an existing volume into newly created space.

If the partition was previously formatted with the NTFS file system, the file system is automatically extended to occupy the larger partition. No data loss occurs. If the partition was previously formatted with any file system format other than NTFS, the command fails with no change to the partition.

You cannot extend the current system or boot partitions.

disk=n

The dynamic disk on which to extend the volume. An amount of space equal to size=n is allocated on the disk. If no disk is specified, the volume is extended on the current disk.

size=n

The amount of space, in megabytes (MB), to add to the current partition. If you do not specify a size, the disk is extended to take up all of the next contiguous unallocated space.

Notes

  • To perform this procedure on a local computer, you must be a member of the Backup Operators group, Administrators group, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure. For more information, see Default local groups, Default groups, and Using Run as.

  • To open a command prompt, click Start, point to All programs, point to Accessories, and then click Command prompt.

  • You can extend a volume only if it does not have a file system or if it is formatted using the NTFS file system. You cannot extend volumes formatted using FAT or FAT32.

  • You cannot extend a system volume, boot volume, striped volume, mirrored volume, or RAID-5 volume.

  • You can extend simple or extended volumes that are not system or boot volumes, as long as there is available disk space. This includes volumes created as dynamic volumes or created as basic volumes and then converted to dynamic on Windows XP Professional or Windows Server 2003 operating systems.

  • If you upgraded from Windows 2000 to Windows XP Professional or Windows Server 2003 operating systems, you cannot extend a simple or spanned volume that was originally created as a basic volume and converted to a dynamic volume on Windows 2000.

  • You can extend a simple volume onto additional dynamic disks to create a spanned volume. Spanned volumes cannot be mirrored.

  • If you extend a spanned volume, you cannot delete any portion of it without deleting the entire spanned volume.

  • For more information about DiskPart, see Related Topics.

Information about functional differences

  • Your server might function differently based on the version and edition of the operating system that is installed, your account permissions, and your menu settings. For more information, see Viewing Help on the Web.

See Also

Concepts

Create a mounted drive
Format a dynamic volume
Assign, change, or remove a drive letter
Delete a dynamic volume
Using simple volumes
Using spanned volumes
Working with MMC console files
Dynamic disks and volumes
DiskPart