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

格納装置やディスクの削除、追加、交換

この節では、ディスクドライブや格納装置の削除、追加、交換を行う方法について説明します。Sun StorEdge A5000 での操作についての詳細は、第 3 章「Sun StorEdge A5000 ディスクアレイのホットプラグ」と『Sun StorEdge A5000 設置・サービスマニュアル』を参照してください。

デバイスの削除 (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
#

デバイスの追加 (insert_device)

insert_device サブコマンドを使用して、新規デバイス、または新規デバイスのチェーンをホットプラグ機能を使用して追加します。複数の格納装置を指定した場合は、複数のバスで並行してホットプラグによる追加を行うことができます。

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

insert_device サブコマンドは、対話形式で、1 つまたは複数のデバイスのホットプラグによる追加を処理します。insert_device サブコマンドは、以下の処理を行います。

Sun StorEdge A5000 の場合

SPARCstorage RSM の場合

表 2-31 insert_device のオプションと引数

オプション/引数 

説明 

格納装置名

Sun Enterprise Network Array の格納装置の名前です。 

デバイス名

格納装置内の特定のディスクの名前です。 

以下に例を示します。


# luxadm insert_device, macs1,f1

The list of devices which will be inserted is:
  1: Box Name "macs1" front slot 1

Please enter 'q' to Quit or <Return> to Continue: 

Hit <Return> after inserting the device(s).

この時点で、ディスクドライブを物理的に取り付けます。任意のキーを押すと以下のようなメッセージが表示されます


  Drive in Box Name "macs1" front slot 1
  Logical Nodes under /dev/dsk and /dev/rdsk :
    c2t1d0s0
    c2t1d0s1
    c2t1d0s2
    c2t1d0s3
    c2t1d0s4
    c2t1d0s5
    c2t1d0s6
    c2t1d0s7
#

デバイスの交換 (replace_device)

replace_device サブコマンドを使用して、デバイスをホットプラグ機能を使用して交換します。

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

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

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

オプション/引数 

説明 

-F

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

パス名

SPARCstorage Array コントローラ、または特定のディスクのパス名です。