luxadm remove_device コマンドを使用して、ディスクを削除します。
luxadm remove_device コマンドは、対話形式で実行されます。1 つまたは複数の新規デバイスの削除手順が指示されます。
# 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 "macs3" rear slot 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).
ドライブを取り外し、任意のキーを押します。
対象のディスクドライブの黄色の LED が点滅していることを確認してください。
Drive in Box Name "macs1" front slot 1 Removing Logical Nodes: Removing c2t18d0s0 Removing c2t18d0s1 Removing c2t18d0s2 Removing c2t18d0s3 Removing c2t18d0s4 Removing c2t18d0s5 Removing c2t18d0s6 Removing c2t18d0s7 #
luxadm insert_device コマンドを使用して、新規デバイスを追加します。
このコマンドは、対話形式で実行されます。1 つまたは複数の新規デバイスの追加手順が指示されます。
# 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).
ドライブを取り付け、Return キーを押します。
Drive in Box Name "macs1" front slot 1 Logical Nodes under /dev/dsk and /dev/rdsk : c2t1d0s0 c2t1d0s1 c2t1d0s2 c2t1d0s3 c2t1d0s4 c2t1d0s5 c2t1d0s6 c2t1d0s7 #
これで、新しいディスクドライブは、ブロック型デバイスまたはキャラクタ型デバイスとして使用可能になります。詳細は、sd(7) のマニュアルページを参照してください。