CmdID

CmdID / Commands

repair

Repairs the RAID-5 volume with focus by replacing the failed disk region with the specified dynamic disk. Windows commands reference

On Windows

Opens CmdID with your command. It is read in your browser and sent nowhere.

Windows

from the Windows commands reference, CC BY 4.0

Repairs the RAID-5 volume with focus by replacing the failed disk region with the specified dynamic disk. A volume in a RAID-5 array must be selected for this operation to succeed. Use the select volume command to select a volume and shift the focus to it.

repair disk=<n> [align=<n>] [noerr]
repair disk=4
disk=<n>Specifies the dynamic disk that will replace the failed disk region. Where n must have free space greater than or equal to the total size of the failed disk region in the RAID-5 volume.
align=<n>Aligns all volume or partition extents to the closest alignment boundary. Where n is the number of kilobytes (KB) from the beginning of the disk to the closest alignment boundary.
noerrfor scripting only. When an error is encountered, DiskPart continues to process commands as if the error didn't occur. Without this parameter, an error causes DiskPart to exit with an error code.