Export (0) Print
Expand All

Repair

Updated: April 17, 2012

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

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

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

repair disk=<n> [align=<n>] [noerr]

 

Parameter Description

disk=<n>

Specifies the dynamic disk that will replace the failed disk region.

align=<n>

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.

  • The specified dynamic disk must have free space greater than or equal to the total size of the failed disk region in the RAID-5 volume.

  • 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.

To replace the volume with focus by replacing it with dynamic disk 4, type:

repair disk=4

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft