Operating System - HP-UX
1829465 Members
1616 Online
109991 Solutions
New Discussion

Re: identify IA64 systems with HW controllers

 
SOLVED
Go to solution
Rick Garland
Honored Contributor

identify IA64 systems with HW controllers

Hi all:

Have a need in which I would like to be able to easily identify those ia64 systems that have the HW RAID controller(s). What I have found so far is that systems with the controller have a device, /dev/sasd*.

Are there any other quick tests? The ioscan just takes too long in its return of data.

Thanks
4 REPLIES 4
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: identify IA64 systems with HW controllers

An ioscan -k should be lightning quick as it doesn't actually scan the devices. The existence (or lack thereof) in /dev really shouldn't be considered definitive. Of course, an ioscan -k suffers from the same fault --- though less so. The ioscan -k will not know about newly connected devices. So your choice is correct and slow or possibly correct and fast.
If it ain't broke, I can fix that.
Sameer_Nirmal
Honored Contributor

Re: identify IA64 systems with HW controllers

# ioscan -kfnd ciss

As Clay said already, the above command would look for the driver "ciss" in the current running kernel. The ciss driver is a part of "RAID-xx" product. Now assuming the product is installed but there is no actual hardware present in the server, there won't be any entry in the kernel IO structure and above command won't return nothing. So if this command shows a h/w entry for the RAID adapter that means h/w and its driver are installed.

The only different scenario would be there is a h/w adpater installed but no driver is installed. But then you have run ioscan to see an "Unknown" entry for the h/w adapter.
Torsten.
Acclaimed Contributor

Re: identify IA64 systems with HW controllers

Hi Rick,

run

# ioscan -[k]fnd ciss

for SCSI RAID controllers, e.g.

ext_bus 4 0/2/1/0/4/0 ciss CLAIMED INTERFACE PCI-X SmartArray 6402 RAID Controller

and

# ioscan -[k]fnd sasd

for SAS controllers, e.g.

escsi_ctlr 0 0/4/1/0 sasd CLAIMED INTERFACE HP PCI
/PCI-X SAS MPT Adapter
/dev/sasd0

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Rick Garland
Honored Contributor

Re: identify IA64 systems with HW controllers

Thanks folks!

Got the SAS controller.
Was hoping that there would be something more definitive. But if the box has been up for some time and gone through reboots then the SAS controller should be there in the ioscan -k.

Again, many thanks!