Unsolved
This post is more than 5 years old
49 Posts
0
1784
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
sracharla
49 Posts
0
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
sracharla
49 Posts
0
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.
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
March 26th, 2014 15:00
Does this host have LUNs from this VNX or this is a brand new provisioning ?
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
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
sracharla
49 Posts
0
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,
Roger_Wu
2 Intern
2 Intern
•
4K Posts
0
March 26th, 2014 18:00
echo "- - -" > /sys/class/scsi_host/hostX/scan always works for me.
If not, then reboot the host...
dynamox
2 Intern
2 Intern
•
20.4K Posts
0
March 26th, 2014 18:00
can you cat that bash script. What commands does it run ?
sracharla
49 Posts
0
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
dynamox
2 Intern
2 Intern
•
20.4K Posts
1
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.
Dhakshinamoorthy
174 Posts
0
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.