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

デバイスの削除 (remove_device)

remove_device サブコマンドを使用して、ディスクドライブ、格納装置、または一連の格納装置をホットプラグします。このサブコマンドは、対話形式で、1 つまたは複数のデバイスのホットプラグ手順を処理します。

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

Sun StorEdge A5x00 ディスクアレイ と Sun Fire 880 内部記憶装置アレイの、remove_device サブコマンドの場合

SPARCstorage RSM の remove_device サブコマンドの場合

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

オプション / 引数 

説明 

-F

デバイスがホストに使用されている場合やビジーの場合でも、それらのデバイスに強制的にホットプラグ操作を行います。 注意 - 使用されているデバイスを削除すると、予測できない結果を生じることがあります。通常は、-F オプションを使用せずにホットプラグ操作を行ってください。このオプションを使用するのは、通常のホットプラグ検査が確実に無効な場合だけです。

格納装置名

luxadm enclosure_name サブコマンドで割り当てる、Sun StorEdge A5x00 インタフェースボードまたは Sun Fire 880 SES のボックス名です。ディスクまたはディスクアレイのアドレス指定を参照してください。

デバイス名

格納装置内の特定のディスクのスロット番号です。Sun StorEdge A5x00 デバイスでは、[,f] または [,r] およびスロット番号です。Sun Fire 880 デバイスでは、[,s] およびスロット番号です。ディスクまたはディスクアレイのアドレス指定を参照してください。

パス名

アレイ内の個々のディスク、Sun StorEdge A5x00 アレイ、SPARCStorage Array、または RSM コントローラ (cN name)の、物理パス名または論理パス名です。また、個々の Sun Fire 880 ディスク、Sun StorEdge A5x00 ディスク、または Sun StorEdge A5x00 インタフェースボードの WWN を指定することもできます。

以下に Sun StorEdge A5x00 での 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
#