Commands to discover new LUNS with Brocade HBA | Unix Linux Forums | Red Hat

  Go Back    


Red Hat Red Hat is the world's leading open source technology solutions provider with offerings including Red Hat Enterprise Linux (RHEL), Fedora, open source applications, security and systems management, virtualization, and Services Oriented Architecture (SOA) solutions.

Commands to discover new LUNS with Brocade HBA

Red Hat


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 01-20-2010
soupbone38 soupbone38 is offline
Registered User
 
Join Date: Nov 2008
Last Activity: 18 October 2014, 12:04 PM EDT
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Commands to discover new LUNS with Brocade HBA

Does anyone know of a commands to discover new LUNS in RHEL 4 and 5 using a Brocade HBA. It's so easy in HP-UX with the "ioscan" command or even in Solaris with the "devfsadm" command. I need something similar if anyone knows. Thank you.

Last edited by Franklin52; 01-20-2010 at 09:53 AM.. Reason: Clean up post
Sponsored Links
    #2  
Old 01-21-2010
zaxxon's Avatar
zaxxon zaxxon is offline Forum Staff  
code tag tagger
 
Join Date: Sep 2007
Last Activity: 20 October 2014, 1:48 PM EDT
Location: St. Gallen, Switzerland
Posts: 6,234
Thanks: 121
Thanked 453 Times in 412 Posts
I often wondered myself is there is something like that on Linux. I know a similar command from AIX which is cfgmgr and should be like ioscan - it can be run and just finds everything newly discovered and makes the device ready for use.

Rosetta Stone for Unix shows following tools:
Quote:
udev (2.6+)
udevtrigger
modprobe
kerneld
insmod
hotplug
cardctl
Maybe one of them might help you. If it is not hot pluggable, you will have to turn off the box anyway and so with it will check for new hardware at boot (don't ask me how to trigger this, but if you find out, let us know here please).
If it is hot pluggable, maybe try with something like that command "hotplug", idk, sorry.
Sponsored Links
    #3  
Old 01-21-2010
mark54g mark54g is offline Forum Advisor  
Registered User
 
Join Date: May 2008
Last Activity: 26 July 2013, 11:43 AM EDT
Location: Northeastern United States
Posts: 918
Thanks: 1
Thanked 61 Times in 58 Posts
Are you sure they are brocade HBAs and not switches? What modules are loaded on the system?

To scan for new LUNs, however, you should use this, as it is a part of SUSE, at least, but works on Red Hat and others:

http://www.garloff.de/kurt/linux/res...si-bus.sh-1.25

I have used it like this

Code:
rescan-scsi-bus.sh -w -l -c

Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Cannot get my Sun Solaris servers to log into Brocade Switch sbkilbride Solaris 2 12-24-2009 02:58 AM
How to discover what naming services are available test111111 Linux 0 10-08-2004 10:34 AM



All times are GMT -4. The time now is 08:34 PM.