Translated message

A translation of this page exists in English.

Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

Red Hat Enterprise Linux に複数の LUN を設定する方法

Solution Verified - Updated -

Environment

  • Red Hat Enterprise Linux
    • Red Hat Enterprise Linux 3
    • Red Hat Enterprise Linux 4
    • Red Hat Enterprise Linux 5
    • Red Hat Enterprise Linux 6

Issue

  • Red Hat Enterprise Linux に複数の LUN を設定する方法

Resolution

複数の LUN の数を制限する SCSI コアモジュールのパラメータがあります。

複数の LUN を設定する手順を以下に説明します。

For Red Hat Enterprise Linux 3、4、5 の場合

  1. カーネルモジュールの設定ファイルを修正します。

    Red Hat Enterprise Linux 3 では、/etc/modules.conf を修正して、次の行を追加する必要があります。

    options scsi_mod max_scsi_luns=xxx
    

    Red Hat Enterprise Linux 4 および Red Hat Enterprise Linux 5 では、/etc/modprobe.conf が使用されます。

    options scsi_mod max_luns=xxx
    
  2. Initial ramdisk を構築して変更を実装します。

    # mkinitrd -f /boot/newimage-2.6.xx 2.6.xx
    

    (xx には、お使いのカーネルのバージョンを入力します)

  3. システムを再起動します。

Red Hat Enterprise Linux 6 の場合

  1. scsi_mod が構築するには、カーネルコマンドラインで設定を行います。grub.conf の 'kernel' 行に次のパラメータを追加します。

    scsi_mod.max_luns=xxx
    
  2. 新しいいくつかのアレイには、レポート LUN エントリー値が設定されている必要があります。その場合、grub.conf のカーネル行にそのエントリー値を追加します。

    scsi_mod.max_report_luns=xxx
    
  3. システムを再起動します。

    HBA に対する LUN の最大値を大きくしないといけない場合もあります。

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments