Operating System - Linux
1821188 Members
3333 Online
109631 Solutions
New Discussion юеВ

Re: Emulex LP10000 on Linux not detecting Multiple Luns..

 
Nagaraj_9
Occasional Advisor

Emulex LP10000 on Linux not detecting Multiple Luns..

hi All,
i am trying to use Emulex LP10000 card as a client. i have downloaded
driver from net and inserted. i have made LUN0_MISSING as true and
also set the grub to scan multiple LUNs. but, even after building the
system with all these changes, i am not entries displayed in
/proc/scsi/scsi for all the LUNs. please suggest me something, as are
there any other changes to be made in conf file and so..

thanks in advance,
Nagaraj
14 REPLIES 14
Slawomir Gora
Honored Contributor

Re: Emulex LP10000 on Linux not detecting Multiple Luns..

Hi,

do you have in you kernel "Probe all LunS on each SCSI device" set to yes ?

to check run:
cat /boot/config | grep CONFIG_SCSI_MULTI_LUN

if no you have to compile your kernel.
Nagaraj_9
Occasional Advisor

Re: Emulex LP10000 on Linux not detecting Multiple Luns..

hi Slawomir,
thanks 4 reply. but, I have changed the config file to detect multiple LUNs and have rebuilt the kernel. i have made change in grub/lilo also. but even after these changes, i am not getting multiple entries in /proc/scsi/scsi/. i have 4 virtula deveices on target machine.
thanks,
xyko_1
Esteemed Contributor

Re: Emulex LP10000 on Linux not detecting Multiple Luns..

Hi Nagaraj,

when you set "Probe All Luns ..." I think you have to set also SCSI Support and SCSI disk support as static.

Did you ?

regards,
Xyko

Ps.: My coment is about 2.4.x series kernels.
Nagaraj_9
Occasional Advisor

Re: Emulex LP10000 on Linux not detecting Multiple Luns..

Hi Xyko,
thanks. by default these parameters will be set to moduler and i have used same thing.

I am having kernel configured to SCSI support n SCSI disk support as moduler.

thanks,
xyko_1
Esteemed Contributor

Re: Emulex LP10000 on Linux not detecting Multiple Luns..

Hi Nagaraj,

I have emulex lp9000 not 10000 connecting to a SAN (switch mac data with EMC cx600) and I have to configure "persistent binding" on emulex module.

To set persistent binding I have to edit and compile lpfc.conf.c, for the following parameters: lpfc_bind_entries, lpfc_automap, lpfc_scandown and a line for each zooning. You may find instructions as comments on the module itself.

I don't know if it is your case but ....

Hope it helps.
Xyko
Chris Xu
Trusted Contributor

Re: Emulex LP10000 on Linux not detecting Multiple Luns..

Take a look at your /etc/modules.conf and see if you have similar entries like below:

alias eth0 e100
alias eth1 e100
alias eth2 e100
alias scsi_hostadapter1 megaraid
alias scsi_hostadapter2 lpfcdd
options scsi_mod max_scsi_luns=256 scsi_allow_ghost_devices=1

And here is a good doc on this.
http://www.emulex.com/ts/docoem/emc/pdfs/linux.pdf
Nagaraj_9
Occasional Advisor

Re: Emulex LP10000 on Linux not detecting Multiple Luns..

hi Chris,
i am trying with the changes Xyko had mentioned. and in my /etc/modules.conf, i have only one entry for hostadapter as lpfc. other eth0 are ok.

thanks for the doc, i will go through and try out other changes and let you people the results.
thanks again..
Chris Xu
Trusted Contributor

Re: Emulex LP10000 on Linux not detecting Multiple Luns..

It is good that you are trying the method Xyko suggested. However, there is one point worth mentioning here. To change parameters in the lpfc.c and re-compile the driver is one way to fix the problem. However, the same parameters are available for modifications in the modules.conf and you don't need to re-compile anything. I would highly recommend you to go through the related chapter in the doc first.

For example, these are the some parameters in the modules.conf:
options lpfcdd lpfc_lun_skip=1 lpfc_network_on=0 lpfc_topology=0x02 lpfc_use_data_direction=0 lpfc_bind_entries=1 lpfc_scandown=0 lpfc_automap=0 lpfc_fcp_bind_WWPN=50060482bcc335dd:lpfc0t0 lpfc_log_verbose=0x1fff
xyko_1
Esteemed Contributor

Re: Emulex LP10000 on Linux not detecting Multiple Luns..

Hi Nagaraj and Chris,

I did not find the documentation Chris mentioned ( http://www.emulex.com/ts/docoem/emc/pdfs/linux.pdf ) but I found others at http://www.emulex.com/ts/docfc/frame10000.htm

If my help does not solve your problem Nagaraj, try to find better instructions on these documents. There are a Troubleshooting one that seems to be very useful.

regards,
xyko
Chris Xu
Trusted Contributor

Re: Emulex LP10000 on Linux not detecting Multiple Luns..

Hi, xyko

I checked the link again, and it worked. I got the pdf file.

Chris
Nagaraj_9
Occasional Advisor

Re: Emulex LP10000 on Linux not detecting Multiple Luns..

Hi Xyko n Chris,
i went through the doc (i got PDF). i nade the required changes for persistent binding, but i didnt get what i need to do with lpfc_fcp_bind_WWPN[]!! is it that i need to bind it with all the WWPN i have and after this, it will recognise only those many LUNS(lpfc_bind_entries got to this with this i suppose). is it right?? let me know..

thanks for kind co-operation..
Nagaraj
xyko_1
Esteemed Contributor

Re: Emulex LP10000 on Linux not detecting Multiple Luns..

Hi Nagaraj & Hi Chris,

I got access to Chris doc too, pehaps I have had browser problems for the first time I tried.

I have worked (my team, not me) with emulex a long time ago and now I see that the installation process is better and that thera are a lot of configuration software to do the job.

Nagaraj, did you read all the installation manual and followed all the instructions ? Did you read the configuration one and did all the configurations steps ?

I'm sory but I can't help you more because my knows ended here.

I stongly suggest that you beging the process again following all the instructions of the installation/configuration manual using the newest driver possible (7.1).

Hope you solve your problems.

Regards,
Xyko
Nagaraj_9
Occasional Advisor

Re: Emulex LP10000 on Linux not detecting Multiple Luns..

hi Xyko,
thanks a lot for ur time. i have followed all the steps tht were there in the doc, but if u insist i will try that again next weekdays nad will let u know the results for sure.

Chris Xu
Trusted Contributor

Re: Emulex LP10000 on Linux not detecting Multiple Luns..

At this point, I feel you should talk to your SAN admin if you are not the one taking care of the SAN that your system is connected to. I think you should make sure the LUN's are indeed presented to your system in the SAN config. I had a similar case in the past. My Linux system had one fibre connection to one of two fabrics, but the 4 LUN's were evenly presented in the two fabrics via zoning. My system could only see 2 LUN's, of course, until I figured it out.

Chris