Show Table of Contents
25.3.2. LCS デバイスの追加
LCS (LAN チャネルステーション) のデバイスドライバーは、OSA-Express2 と OSA-Express 3 機能で 1000Base-T Ethernet をサポートします。
追加されるインターフェースのタイプに応じて、LCS ドライバーはベースインターフェース名を 1 つ割り当てます。
- OSA-Express Fast Ethernet and Gigabit Ethernet 用 ethn
n の値はそのタイプに最初のデバイスでは
0 となり、2 番目は 1 と順に続きます。
25.3.2.1. LCS デバイスの動的な追加
- デバイスドライバーを読み込みます。
# modprobe lcs cio_ignoreコマンドを使用して無視されるデバイスのリストからネットワークチャンネルを削除し、Linux に見えるようにします。# cio_ignore -r read_device_bus_id,write_device_bus_idread_device_bus_id と write_device_bus_id は、ネットワークデバイスを表す 2 つのデバイス ID で置き換えます。例を示します。# cio_ignore -r 0.0.09a0,0.0.09a1- グループデバイスを作成します。
# echo read_device_bus_id,write_device_bus_id > /sys/bus/ccwgroup/drivers/lcs/group - デバイスを設定します。OSA カードは、CHPID 1 つにつき最大 16 ポートまで提供することができます。デフォルトでは、LCS グループデバイスはポート
0を使用します。別のポートを使うには、次のようなコマンドを実行します。# echo portno > /sys/bus/ccwgroup/drivers/lcs/device_bus_id/portnoportno は使用するポート番号で置き換えます。LCS ドライバーの 設定に関する詳細情報は、『Linux on System z Device Drivers, Features, and Commands on Red Hat Enterprise Linux 6』 の LCS の章を参照してください。 - デバイスをオンラインにセットします。
# echo 1 > /sys/bus/ccwgroup/drivers/lcs/read_device_bus_id/online - 割り当て済みのネットワークデバイス名を見つけるには、以下のコマンドを入力します。
# ls -l /sys/bus/ccwgroup/drivers/lcs/read_device_bus_ID/net/ drwxr-xr-x 4 root root 0 2010-04-22 16:54 eth1

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.