remove_device サブコマンドを使用して、ディスクドライブ、格納装置、または一連の格納装置をホットプラグします。このサブコマンドは、対話形式で、1 つまたは複数のデバイスのホットプラグ手順を処理します。
以下のサブシステムで使用することができます。
Sun StorEdge A5000
Sun Fire 880 内部記憶装置アレイ
SPARCstorage RSM
Sun StorEdge A5000 ディスクアレイ と Sun Fire 880 内部記憶装置アレイの、remove_device サブコマンドの場合
デバイスが使用中かどうかを確認し、使用中の場合は警告を出します。
デバイスをオフラインにします (ディスクドライブが開かれている場合は失敗します)。
デバイスを削除する準備が整ったときに通知します。
Sun StorEdge A5000 ディスクアレイでは黄色の LED を点滅させ、Sun Fire 880 内部記憶装置アレイでは取り外し可 LED を点灯させて、取り外すデバイスを知らせます。
削除するデバイスの一覧を表示し、確認を要求します。
取り外した装置の論理デバイス名を削除します。
SPARCstorage RSM の remove_device サブコマンドの場合
デバイスをオフラインにします。
休止可能なバスを休止します。
デバイスを交換する準備が整ったときに通知します。
デバイスが交換されたことの確認を要求します。
休止可能なバスを休止解除します。
デバイスをオンラインに戻します。
取り外した装置の論理デバイス名を削除します。
luxadm [ -v ] remove_device [ -F ] { 格納装置名,デバイス名... | パス名... } |
オプション / 引数 |
説明 |
---|---|
-F |
デバイスがホストに使用されている場合やビジーの場合でも、それらのデバイスに強制的にホットプラグ操作を行います。注意 - 使用されているデバイスを削除すると、予測できない結果を生じることがあります。通常は、-F オプションを使用せずにホットプラグ操作を行ってください。このオプションを使用するのは、通常のホットプラグ検査が確実に無効な場合だけです。 |
格納装置名 |
luxadm enclosure_name サブコマンドで割り当てる、Sun StorEdge A5000 インタフェースボードまたは Sun Fire 880 SES のボックス名です。「ディスクまたはディスクアレイのアドレス指定」を参照してください。 |
デバイス名 |
格納装置内の特定のディスクのスロット番号です。Sun StorEdge A5000 デバイスでは、[,f] または [,r] およびスロット番号です。Sun Fire 880 デバイスでは、[,s] およびスロット番号です。「ディスクまたはディスクアレイのアドレス指定」を参照してください。 |
パス名 |
Sun StorEdge A5000、単一のディスク、SPARCStorage Array、RSM コントローラ (cN name)、Sun Fire 880 の単一のディスクまたは格納装置の、物理パス名または論理パス名です。あるいは Sun Fire 880 ディスク、SES、Sun StorEdge A5000 インタフェースボード、またはディスクのWWN です。 |
以下に Sun StorEdge A5000 での remove_device の出力例を示します。
# 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 # |