障害が発生したディスク領域を、指定したダイナミック ディスクで置き換えることにより、フォーカスのある RAID-5 ボリュームを修復します。
この操作が成功するには、RAID-5 アレイ内のボリュームを選択する必要があります。 Use the select volume command to select a volume and shift the focus to it.
Syntax
repair disk=<n> [align=<n>] [noerr]
Parameters
Parameter | Description |
---|---|
disk=<n> |
障害が発生したディスク領域を置き換えるダイナミック ディスクを指定します。 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> |
すべてのボリュームまたはパーティション エクステントを最も近い配置境界に合わせます。 Where n is the number of kilobytes (KB) from the beginning of the disk to the closest alignment boundary. |
noerr | スクリプト専用です。 エラーが発生しても、エラーが発生しなかったかのように DiskPart はコマンドの処理を続けます。 このパラメーターは、エラー発生すると、DiskPart はエラー コードを生成して終了します。 |
Examples
フォーカスがあるボリュームをダイナミック ディスク 4 に置き換えるには、次のように入力します。
repair disk=4