- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Scanning for luns presented to Linux box
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
Forums
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
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
тАО06-17-2009 07:41 AM
тАО06-17-2009 07:41 AM
Scanning for luns presented to Linux box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 07:43 AM
тАО06-17-2009 07:43 AM
Re: Scanning for luns presented to Linux box
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1060267
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 08:21 AM
тАО06-17-2009 08:21 AM
Re: Scanning for luns presented to Linux box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 08:41 AM
тАО06-17-2009 08:41 AM
Re: Scanning for luns presented to Linux box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 12:25 PM
тАО06-17-2009 12:25 PM
Re: Scanning for luns presented to Linux box
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 02:43 PM
тАО06-17-2009 02:43 PM
Re: Scanning for luns presented to Linux box
echo "scsi-qlascan" > /proc/scsi/qla2300/0
/bin/rescan-scsi-bus.sh
You might need to supply params to the rescan-scsi-bus.sh script - might depend on your hardware. You also have to have the rescan script :-)
To scan all channels, targets and LUNs, you could also try:
echo "- - -" > /sys/class/scsi_host/host0/scan
Not sure if this works with FC attached LUNs - I had a weird error on the test system, but our EVA has been behaving strangely over the past few days :-(
Once the LUNs can be seen, then Linux does the rest. You should be able to fdisk them, pvcreate them, or do whatever you want. xpinfo or evainfo (depending on what you have) will show you which devices you now have mapped.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 04:37 PM
тАО06-17-2009 04:37 PM
Re: Scanning for luns presented to Linux box
try
# hwinfo
its on suse by default i know of and as another HPUX guy it seems to be somewhat equivilent.
I also use
# lvmdiskscan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-17-2009 10:07 PM
тАО06-17-2009 10:07 PM
Re: Scanning for luns presented to Linux box
As Colin said, most time you have to restart the server after presenting new luns to the linux.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2009 03:38 AM
тАО06-18-2009 03:38 AM
Re: Scanning for luns presented to Linux box
this way works really fine and i make the same one in my scripts. make sure you do this for every HBA on your system.
no problem on SLES9/10/11.
roland