Creates a simple volume on the specified dynamic disk.

Important

For Windows Vista, this DiskPart command is only available in the Windows Vista Ultimate, Windows Vista Enterprise and Windows Vista Business editions.

For examples of how this command can be used, see Examples.

Syntax

create volume simple [size=<n>] [disk=<n>] [align=<n>] [noerr]

Parameters

Parameter Description

size=<n>

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=<n>

The dynamic disk on which the volume is created. If no disk is specified, the current disk is used.

align=<n>

Typically used with hardware RAID Logical Unit Number (LUN) arrays to improve performance. Aligns all volume or partition extents to the closest alignment boundary. n is the number of kilobytes (KB) from the beginning of the disk to the closest alignment boundary.

noerr

For scripting only. When an error is encountered, DiskPart continues to process commands as if the error did not occur. Without this parameter, an error causes DiskPart to exit with an error code.

Remarks

  • After you create the volume, the focus automatically shifts to the new volume.

Examples

To create a volume of 1000 megabytes in size, on disk 1, type:

create volume simple size=1000 disk=1

Additional references


Converted from CHM to HTML with chm2web Pro 2.85 (unicode)