Gå til innhold

Dual scsi i linux Fedora.


Anbefalte innlegg

Hei,

 

Jeg satte opp en dual scsi drive på Linux I går, men fant ut at kun lun 0 var støttet som default.

 

Jeg har litt dårlig tid og ikke tid til å teste in-house eller lese mye så jeg tar den mest lettvinte løsningen, spør om noen andre kjapt kan fortelle meg hvordan jeg aktiverer lun 1 også.

 

Tilleggsinfo er,

 

Fedora Core 2 , kernel 2.6.5-1.358

 

Scsikort er Adaptec 2944UW

Lenke til kommentar
Videoannonse
Annonse

Problemet er at kunden har en del info i systemet han har atm. men fant dette på nett :

 

7.1 Enable more than 1 scsi device per adapter

----------------------------------------------

 

Support for multiple LUNs can be configured in one of three ways.

Currently, the maximum number of LUNs that can be scanned for each device is 256.

 

(1) The kernel must be configured to have multiple LUN support enabled

in order for non-zero LUNs to be configured and accessible. Use

"make menuconfig" to build a kernel which has the option under

SCSI Support enabled to probe all LUNs on SCSI devices.

 

 

NOTE: If you have multiple adapters, set max_scsi_luns to the

largest number of LUNs supported by any one of these adapters.

 

(2) If the SCSI Mid-Layer is compiled in the kernel, the boot loader

can be configured to scan for multiple LUNs each time the system

boots.

 

On IA-32 and AMD-64

-------------------

 

For RedHat Distribution :

 

a) Append the max_scsi_luns parameters to each of the kernel images

listed in the /etc/grub.conf file. For example:

 

kernel /vmlinux-2.6.9-5 ro root=/dev/hda2 max_scsi_luns=256

 

b) Reboot the system.

 

For SuSE Distribution :

 

a) Append the max_scsi_luns parameters to each of the kernel images

listed in the /boot/grub/menu.lst file. For example:

 

kernel (hd0,1)/boot/vmlinuz root=/dev/hda2 max_scsi_luns=256

 

b) Reboot the system.

 

 

On IA-64

--------

 

For RedHat Distribution :

 

a) Add the following line to each of the kernel images listed in the

/boot/efi/efi/redhat/elilo.conf

 

append="max_scsi_luns=256"

b) Reboot the system.

 

For SuSE Distribution :

 

a) Add the following line to each of the kernel images listed in the

/boot/efi/SuSE/elilo.conf

 

append="max_scsi_luns=256"

b) Reboot the system.

 

(3) If the SCSI Mid-Layer is compiled as a module, add the following

line to the /etc/modprobe.conf[.local] file to scan for multiple LUNs at

each boot:

 

options scsi_mod max_scsi_luns=256

 

 

Refer to your Linux distribution documentation to verify the steps to

rebuild the boot image and ramdisk for your distribution.

Section 7.5 of this readme does cover some of the steps required to

rebuild your initrd image.

 

Trur det skal gjøre susen....

Lenke til kommentar
For RedHat Distribution :

 

a) Append the max_scsi_luns parameters to each of the kernel images

listed in the /etc/grub.conf file. For example:

 

kernel /vmlinux-2.6.9-5 ro root=/dev/hda2 max_scsi_luns=256

 

Her har du det. Rediger /etc/grub.conf. og endre kommandolinja for den aktuelle kjerna slik som det står her. Reboot til den aktuelle kjerna.

Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
×
×
  • Opprett ny...