1832986 Members
2715 Online
110048 Solutions
New Discussion

Hardware path

 
Amit Manna_6
Regular Advisor

Hardware path

Can anybody please help me how to find out the device connecitivity from Hardware Path

6 REPLIES 6
Shaikh Imran
Honored Contributor

Re: Hardware path

Hi,
You should note down the harwdare connected to which hardware path and from ioscan you will confirm the device file to that hardware path.
Example:
A cdrom connected to hardware path say 0/0/1.1
Do a ioscan and see for the corresponding device file at that hardware.
#ioscan -fnC disk
This device file will be the device file for Cdrom.
Similarly say a lan card connected at
0/0/9/2.3
#ioscan -kfnC lan
The device file at
0/0/9/2.3 this path will be the device file for lan

And so on

Regards




I'll sleep when i am dead.
Camel_1
Valued Contributor

Re: Hardware path

Run ioscan -fn you will see the hw path.

There has labels attached on some server showing the path of the PCI slot.

Simon
Michael Tully
Honored Contributor

Re: Hardware path

ioscan gives a very good indicator on hardware paths. To understand the structure of the tree better, have a look at the 'xstm' tool. (GUI)
Anyone for a Mutiny ?
Binubaby
Frequent Advisor

Re: Hardware path

Hi

Run
# ioscan -fun : This will list all devices and device files
# ioscan -funC disk : This will list by category eg: disk

Eg. hardware path for a disk :

0/0/2/0/0.5.0 seagate - means:

First digits means Interface card number (c2)
Last digit means - LUN (d0)
Digit 5 means - Target (t5)
The device will be : /dev/dsk/c2t5d0

regards
Binu


BB
Naveej.K.A
Honored Contributor

Re: Hardware path

hi,

i disagree a little bit with what binu had mentioned regarding the controller number i.e. Cx...

C refers to the I/O slot in which you have connected your I/O interface card and its not shown in the ioscan -fnC output.

with regards
naveej
practice makes a man perfect!!!
Bharat Katkar
Honored Contributor

Re: Hardware path

Hi there,
An Addition to above replies:
Hardware Path indicates the location of the device in your system. for e.g.:

10/12/5.7.0

10 -- Device is on BUS 10
12 -- This BUS Convertor no.
5 -- Device Adaptor no.
7 -- SCSI Target ID of Device
0 -- LUN no.

For device name CxTxDx

C represents Device Instance No.
T represents SCSI Target ID
D Device No. on SCSI bus.

Proven and tested info.
Regards,




You need to know a lot to actually know how little you know