Break


Applies To: Windows Vista,Windows 7,Windows Server 2008 R2,Windows Server 2008

Breaks the mirrored volume with focus into two simple volumes.

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

Syntax


Copy Code

break disk=<n> [nokeep] [noerr]

Parameters

Parameter

Description

disk=<n>

Specifies the disk that contains the mirrored volume. This disk is given focus and does not retain the drive letter or any mount points. If the specified disk is the current system or startup disk, the command fails.

nokeep

Specifies that only one of the mirrored volumes is retained; the simple volume on disk N is deleted and converted to free space. Neither the volume nor the free space receives the focus.

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

Examples

To break the mirrored disk 2 into two simple volumes, type:


Copy Code

break disk=2

Additional references

Command-Line Syntax Key

DiskPart