text
stringlengths
0
4.23k
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.
<n>
<n>
<n>
<n>
Examples
To create a volume of 1000 megabytes in size, on disk 1, type:
create volume simple size=1000 disk=1
create volume stripe
Applies to: Windows Server 2022, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
Creates a striped volume using two or more specified dynamic disks. After you create the volume, the focus automatically shifts to the new volume.
Syntax
create volume stripe [size=<n>] disk=<n>,<n>[,<n>,...] [align=<n>] [noerr]
Parameters
Parameter
Description
size=<n>
The amount of disk space, in megabytes (MB), that the volume will occupy on each disk. If no size is given, the new volume takes up the remaining free space on the smallest disk and an equal amount of space on each subsequent disk.
disk=<n>,<n>[,<n>,...]
The dynamic disks on which the striped volume is created. You need at least two dynamic disks to create a striped volume. An amount of space equal to size=<n> is allocated on each disk.
align=<n>
Aligns all volume extents to the closest alignment boundary. Typically used with hardware RAID Logical Unit Number (LUN) arrays to improve performance. <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.
<n>
<n>,<n>[,<n>,...]
size=<n>
<n>
<n>
Examples
To create a striped volume of 1000 megabytes in size, on disks 1 and 2, type:
create volume stripe size=1000 disk=1,2
create
Creates a partition or shadow on a disk, a volume on one or more disks, or a virtual hard disk (VHD). If you're using this command to create a volume on the shadow disk, you must already have at least one volume in the shadow copy set.
Syntax
create partition
create volume
Parameters
Parameter
Description
create partition primary command
Creates a primary partition on the basic disk with focus.
create partition efi command
Creates an Extensible Firmware Interface (EFI) system partition on a GUID Partition Table (gpt) disk on Itanium-based computers.
create partition extended command
Creates an extended partition on the disk with focus.
create partition logical command
Creates a logical partition in an existing extended partition.
create partition msr command
Creates a Microsoft Reserved (MSR) partition on a GUID partition table (gpt) disk.
create volume simple command
Creates a simple volume on the specified dynamic disk.
create volume mirror command
Creates a volume mirror by using the two specified dynamic disks.
create volume raid command
Creates a RAID-5 volume using three or more specified dynamic disks.
create volume stripe command
Creates a striped volume using two or more specified dynamic disks.