System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting HW configuration in Linux

Samshen
Frequent Advisor

Getting HW configuration in Linux

Hi,
I am using ReadHat 5 Enterprise version in Proliant DL580 G5.
I have connected MSA2000 FC and intended to create the external array.
I am using ACU to configure the external array, but ACU recognizes only the internal disk array. From the main HP management homepage, the external storage is recognized and no fault detected.
Please help me to understand where is the problem.
Which is the command to display all the hardware and the corresponding drivers, if are loaded or not (like IOSCAN in HPUX)?

Thank you

9 REPLIES
Steven E. Protter
Exalted Contributor

Re: Getting HW configuration in Linux

Shalom,

No ioscan.

But:

hal-device-manager

Its a GUI but provides pretty good data.

dmesg will help a bit as well.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Samshen
Frequent Advisor

Re: Getting HW configuration in Linux

Hi,
Thank you for the reply.
I do not find hal-device-manager command available.
Please tell me which rpm I should install to enable this command.

Thank you.
Ivan Ferreira
Honored Contributor

Re: Getting HW configuration in Linux

Have you tried booting with a smart start CD to verify if you can detect the MSA storage?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Steven E. Protter
Exalted Contributor

Re: Getting HW configuration in Linux

Shalom,

fdisk -l

/opt/hp/hp_fiberutils/hp_rescan

The path may not be right but the rescan utility will wake up sleeping links to your MSA.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Court Campbell
Honored Contributor

Re: Getting HW configuration in Linux

Here is a good link for finding hba info:

http://linux.derkeiler.com/Mailing-Lists/RedHat/2007-08/msg00138.html

And to see the disks you can cat /proc/scsi/scsi.

And you would use lsmod to see which modules are loaded in the kernel.
"The difference between me and you? I will read the man page." and "Respect the hat." and "You could just do a search on ITRC, you don't need to start a thread on a topic that's been answered 100 times already." Oh, and "What. no points???"
Jimmy Vance
HPE Pro

Re: Getting HW configuration in Linux

Unlike previous MSA storage systems, you cannot configure the MSA2000fc with ACU.

Go here and D/L the users guide for setup information

http://h20000.www2.hp.com/bizsupport/TechSupport/DocumentIndex.jsp?lang=en&cc=us&taskId=101&prodClassId=-1&contentType=SupportManual&docIndexId=64180&prodTypeId=12169&prodSeriesId=3687115




__________________________________________________
No support by private messages. Please ask the forum!      I work for HPE

If you feel this was helpful please click the KUDOS! thumb below!   
dirk dierickx
Honored Contributor

Re: Getting HW configuration in Linux

lshw is the closest to ioscan you can have on linux. give it a try, might just be what you need.

http://www.ezix.org/project/wiki/HardwareLiSter
administratorccs
Occasional Contributor

Re: Getting HW configuration in Linux

Hi,
I solved this issues with storage by configuring it directly, not via ACU.
Btw, I could not find none of the utilities hwbrowser, hal-device-manager.
Which RPM are containing those utilities so that I may install for the future?

Thank you
sciunix
Occasional Contributor

Re: Getting HW configuration in Linux

hal is NOT the best answer, it's a user space representation of the devices on your system for session use.

sysfs is better... a tool for dumping sysfs in a somewhat readable form is here:

http://endlessnow.com/ten/Source/showsysfs-sh.txt

You can get some hardware information (bios level) using dmidecode. A much much better tool is available on SUSE called hwinfo which can pretty much show you everything.

Device drivers that are loaded can be seen by doing lsmod... there's some correlation with the information in sysfs.

If hal is working on your platform (try logging in graphically), the hal-device, lshal, etc commands should be available... are you sure they're not there?

If you specifically want fibre target/hba info... try:


find -L /sys/class/fc_host \( -name state -o -name model_name -o -name
node_name -o -name speed \) 2>/dev/null |
egrep -v 'rport|power' | xargs grep '.'

That will give you the state (up/down), model_name of the HBA, the WWNN and the port speed.