Create a Spanned Volume
Applies To: Windows Server 2008, Windows Vista
A spanned volume is a dynamic volume consisting of disk space on more than one physical disk. If a simple volume is not a system volume or boot volume, you can extend it across additional disks to create a spanned volume, or you can create a spanned volume in unallocated space on a dynamic disk.
You need at least two dynamic disks in addition to the startup disk to create a spanned volume. You can extend a spanned volume onto a maximum of 32 dynamic disks.
Spanned volumes are not fault tolerant.
Backup Operator or Administrator is the minimum membership required to complete the actions below.
Creating a spanned volume
Using the Windows interface
Using a command line
To create a spanned volume using the Windows interface
In Disk Management, right-click the unallocated space on one of the dynamic disks where you want to create the spanned volume.
Click New Spanned Volume….
Follow the instructions on your screen.
To create a spanned volume using a command line
Open a command prompt and type
diskpart
.At the DISKPART prompt, type
list disk
. Make note of the number of the disk where you want to create a simple volume.At the DISKPART prompt, type
create volume simple [size=<size>] [disk=<disknumber>]
.At the DISKPART prompt, type
list volume
. Make note of the number of the simple volume you want to extend onto another disk.At the DISKPART prompt, type
select volume <volumenumber>
. Select the simple volume volumenumber you want to extend onto another disk.At the DISKPART prompt, type
list disk
. Make note of the number of the disk you want to extend the simple volume onto.At the DISKPART prompt, type
extend [size=<size>] [disk=<disknumber>]
. Extends the selected volume onto disk disknumber and makes the extension size=size megabytes (MB).
Value | Description |
---|---|
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. |
create volume simple |
Creates a simple volume. After you create the volume, the focus automatically shifts to the new volume. |
size=size |
The size of the volume in megabytes (MB). If no size is given, the new volume takes up the remaining free space on the disk. |
disk= disknumber |
The dynamic disk on which to create the volume. If no disk is given, the current disk is used. |
list volume |
Displays a list of basic and dynamic volumes on all disks. |
select volume |
Selects the specified volume, where volumenumber 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. |
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=disknumber |
The dynamic disk on which to extend the volume. An amount of space equal to size=size is allocated on the disk. If no disk is specified, the volume is extended on the current disk. |
size=size |
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. |