Start a Conversation

Unsolved

This post is more than 5 years old

1762

March 26th, 2014 12:00

LUN discovery on RHEL4

Hi everyone,

I have LUNs provisoned from VNX to Oracle RAC servers running RHEL4 OS. The new luns are not seen, I have checked using fdisk -l

I have run the hba scan command

echo"- - - " > /sys/class/fc_host/hostX/scan but of no use,

I found a Qlogic HBA discovery script on the Qlogic website 'ql-dynamic-tgt-lun-disc.sh' ,

I have not used this before, Can this be used while there is production IO running?

It is giving a warning as below when trying to run

please make sure there is no active I/O when running the script below..

Any suggestions using this script ?

Thanks


49 Posts

March 26th, 2014 15:00

I noticed that the powerpath version is also 5.3 which is EOL.

But I don't think that will a problem for the host to see the volumes

49 Posts

March 26th, 2014 15:00

This host has already 19 LUNs provisioned to it.

I just added additional 3 50GB LUNs to the storage group.


1 Rookie

 • 

20.4K Posts

March 26th, 2014 15:00

Does this host have LUNs from this VNX or this is a brand new provisioning ?

1 Rookie

 • 

20.4K Posts

March 26th, 2014 16:00

yeah, i don't think it has anything to do with PowerPath.  Have you tried this sequence of commands:

echo "1" > /sys/class/fc_host/hostX/issue_lip

echo "- - -" > /sys/class/scsi_host/hostX/scan

echo "1" > /sys/class/fc_host/hostX/issue_lip

echo "- - -" > /sys/class/scsi_host/hostX/scan

49 Posts

March 26th, 2014 17:00

Tried only the second command
echo "- - -" > /sys/class/scsi_host/hostX/scan

for the first one, there is no fc_host folder under /sys/class,

4K Posts

March 26th, 2014 18:00

echo "- - -" > /sys/class/scsi_host/hostX/scan always works for me.

If not, then reboot the host...

1 Rookie

 • 

20.4K Posts

March 26th, 2014 18:00

can you cat that bash script. What commands does it run ?

49 Posts

March 27th, 2014 07:00

It has many funtions included in the script, to find HBAs, disocver all targets, LUNs...

I think they are qlogic specific commands


1 Rookie

 • 

20.4K Posts

March 27th, 2014 07:00

reason i ask because back back in the old day they would want you to unload qlogic HBA drivers to discover new LUNs, very disruptive.

April 3rd, 2014 01:00

Hi,

We have some boxes running with RHEL4 and we faced the same issue.

Finally we got downtime and then rebooted the host then it is visible.

Most of the times we faced this issue only on RHEL4. we created one more LUN and mapped to RHEL5 and it visible instantaneously.

No Events found!

Top