- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- LUN Adding in RHEL 5.3 without Reboot
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2010 04:09 AM
тАО11-03-2010 04:09 AM
LUN Adding in RHEL 5.3 without Reboot
I am using "rescan-scsi-bus.sh" script to assign LUN without reboot our LINUX server (RHEL 4.5). But the problem is, this script works fine upto RHEL 4.5 but when i want to visible LUN's without reboot, assigned from our EMC SAN using this script it is not working.
Please can any one help me with this issue??
**Note: I have attached "rescan-scsi-bus.sh" script with this thread.
Thanks
Minhaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-03-2010 10:59 PM
тАО11-03-2010 10:59 PM
Re: LUN Adding in RHEL 5.3 without Reboot
Any help ??
Thanks
Minhaz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2010 12:07 AM
тАО11-04-2010 12:07 AM
Re: LUN Adding in RHEL 5.3 without Reboot
-----
echo 1 > /sys/class/fc_host/host$host/issue_lip 2> /dev/null;
echo "- - -" > /sys/class/scsi_host/host$host/scan 2> /dev/null;
-----
After the LIP is triggered, it would be best to wait a while for the HBA to complete the LIP operation before trying to scan for disks. If you try to scan before the LIP is completed, you'll find no new disks at all.
Perhaps your older systems have been slower just enough that the HBA could successfully complete the LIP operation before the scanning step starts?
Try adding a small delay between the two lines I listed above. For example, "sleep 2" might be enough.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2010 05:53 AM
тАО11-04-2010 05:53 AM
Re: LUN Adding in RHEL 5.3 without Reboot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2010 01:31 PM
тАО11-05-2010 01:31 PM
Re: LUN Adding in RHEL 5.3 without Reboot
most HBA vendors supply command line tools for fc info and bus rescanning.
e.g. qlogic supplies Linux-Tools
hp supplies an fc rescan utility as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-07-2010 04:45 AM
тАО11-07-2010 04:45 AM
Re: LUN Adding in RHEL 5.3 without Reboot
Thanks for your advise. Its now working. I have set sleep 10 between two lines.
BR
Minhaz