remove_device サブコマンドを使用して、1 つまたは複数のデバイスをホットプラグ機能を使用して削除します。remove_device サブコマンドは、対話形式で、1 つまたは複数のデバイスのホットプラグによる削除を処理します。remove_device サブコマンドは、以下の処理を行います。
以下のサブシステムで使用することができます。
Sun StorEdge A5000
SPARCstorage RSM
Sun StorEdge A5000 の場合
デバイスが使用中がどうかを確認し、使用中の場合は警告を出します。
デバイスをオフラインにします (ディスクが開かれている場合は失敗します)。
デバイスを削除する準備が整ったときに通知します。
格納装置の稼働 LED を点滅させて、取り外すデバイスを知らせます。
一覧が正しいかどうか確認を要求します。
取り外した装置の論理デバイス名を削除します。
SPARCstorage RSM の場合
デバイスをオフラインにします。
休止可能なバスを休止します。
デバイスを交換する準備が整ったときに通知します。
デバイスを交換されたことの確認を要求します。
休止可能なバスを休止解除します。
デバイスをオンラインに戻します。
luxadm [-v] remove_device [-F] {格納装置名,デバイス名..| パス名..}
オプション/引数 |
説明 |
---|---|
-F |
デバイスがホストに使用されている場合やビジーの場合でも、それらのデバイスに強制的にホットプラグ操作を行います。 注意 - 使用されているデバイスを削除すると、予測できない結果を生じることがあります。通常は、-F オプションを使用せずにホットプラグ操作を行ってください。 |
格納装置名 |
Sun StorEdge A5000 の格納装置の名前です。 |
デバイス名 |
格納装置内の特定のディスクの名前です。 |
パス名 |
Sun StorEdge A5000 またはアレイ内の特定のディスクの物理パス名または論理パス名です。 |
# luxadm remove_device macs1,f1 WARNING!!! Please ensure that no filesystems are mounted on these device(s). All data on these devices should have been backed up. The list of devices which will be removed is: 1: Box Name "macs1" frontslot 1 Please enter 'q' to Quit OR <Return> to Continue: stopping: Drive in "macs1" front slot 1....Done offlining: Drive in "macs1" front slot 1....Done Hit <Return> after removing the device(s).
この時点で、ディスクドライブを物理的に取り外します。任意のキーを押すと以下のようなメッセージが表示されます。
Drive in Box Name "macs1" front slot 1 Removing Logical Nodes: Removing c2t1d0s0 Removing c2t1d0s1 Removing c2t1d0s2 Removing c2t1d0s3 Removing c2t1d0s4 Removing c2t1d0s5 Removing c2t1d0s6 Removing c2t1d0s7 #