特記事項: luxadm ソフトウェア

デバイスの削除 (remove_device)

remove_device サブコマンドを使用して、1 つまたは複数のデバイスをホットプラグ機能を使用して削除します。remove_device サブコマンドは、対話形式で、1 つまたは複数のデバイスのホットプラグによる削除を処理します。remove_device サブコマンドは、以下の処理を行います。

以下のサブシステムで使用することができます。

Sun StorEdge A5000 の場合

SPARCstorage RSM の場合

表 2-30 remove_device のオプションと引数

オプション/引数 

説明 

-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
#