次の方法で共有


online volume

オフライン ボリュームをオンライン状態にします。 このコマンドは、障害が発生したボリューム、障害が発生したボリューム、または障害が発生した冗長性状態にあるボリュームで機能します。

Note

A volume must be selected for the online volume command to succeed. Use the select volume command to select a volume and shift the focus to it.

Important

読み取り専用ディスクで使用されている場合、このコマンドは失敗します。

Syntax

online volume [noerr]

Parameters

Parameter Description
noerr スクリプトの場合のみ。 エラーが発生した場合、DiskPart は、エラーが発生しなかったかのようにコマンドを処理し続けます。 このパラメーターを指定しないと、エラーにより DiskPart がエラー コードで終了します。

Examples

フォーカスをオンラインにしてボリュームを取得するには、次のように入力します。

online volume