LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Multiple LUN Issue (https://www.linuxquestions.org/questions/linux-hardware-18/multiple-lun-issue-250341/)

Crazy Joe Davol 11-02-2004 03:21 PM

Multiple LUN Issue
 
My question is how can I enable multi-lun support that is persistent upon reboot?

I am running RedHat 9 with Multi-LUN Support. By default, the kernel will only scan for LUN0 of the first 18 Target ID's (at least its 18 I think). Anyway, I have a RAID controller with 4 LUN's (0-3). The only way I can get Linux to see all 4 LUN's is to add the other 3 LUN's (LUN's 1-3) manually by
echo "scsi add-single-device A B C D" > /proc/scsi/scsi where;
A=controller
B=channel
C=Target
D=LUN

The problem is that after a system reboot, I need to manually add the above LUN's all over again. Is anyone aware of a way to make the changes persistent so that I do not have to do this after every boot?

AutOPSY 11-03-2004 01:08 AM

add the command you have to put in to /etc/rc.d/rc.local
then it will be run automatically as the last thing before login.

Crazy Joe Davol 11-03-2004 11:16 AM

Thanks for the reply.

You have no idea how much of a major nuisance this minor issue has been.

I'll will try this and let you know if I have any more questions.

CJD


All times are GMT -5. The time now is 04:51 AM.