前のトピック: fsrepair メソッド(vol オブジェクト)

次のトピック: repair メソッド(vol オブジェクト)


check メソッド(vol オブジェクト)
説明

修復を必要とするボリュームのバックグラウンド チェックを開始します。

構文
/api/v1/vol/check?vdc=controller-name 
引数
vdc

ターゲットの仮想データ センターの名前

トランザクション タイプ

非同期

リクエスト タイプ

GET

ボリュームのバックグラウンド チェックを開始します。

GET http://192.168.123.200/api/v1/vol/check?vdc=mygrid 
サンプル出力
XML:
<message>A background check for volumes that need repair has been initiated and may take a few minutes to complete. Execute 'vol repair --status' to retrieve the current state of the volumes that are being repaired.</message> 
JSON:
{
"message" : "A background check for volumes that need repair has been initiated and may take \na few minutes to complete. Execute 'vol repair --status' to retrieve the \ncurrent state of the volumes that are being repaired.\n"
} 

HTTP エラー コード
404

エンティティ vdc mygrid が見つかりません。WS_API アプリケーションに設定されていない VDC 名が指定されました。

404

修復が必要なボリュームのバックグラウンド チェックはすでに進行中です。