Device path explain?

 
SOLVED
Go to solution
seenivasan
Frequent Advisor

Device path explain?

Dear Team

disk 3 1/0/6/1/0/4/0.8.0.255.0.0.0 sdisk CLAIMED DEVICE HPQ BF03658242

/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0

Explain above device path breifly?
7 REPLIES 7
Chandrahasa s
Valued Contributor

Re: Device path explain?

Hi,

proivide model and uname -a out put.

Chandra
Torsten.
Acclaimed Contributor

Re: Device path explain?

Without

# model

and

# ioscan -fn

I can only tell it is a fiber channel loop connected disk.

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!   
Matti_Kurkela
Honored Contributor
Solution

Re: Device path explain?

Hardware path: 1/0/6/1/0/4/0.8.0.255.0.0.0

This looks like a hardware path from a nPar-capable server. So the first four numbers can be used to identify the PCI slot. Run "rad -q" or "olrad -q" (depending on your HP-UX version) to get a list of device path components and the corresponding PCI slot numbers.

1 = cell #1
0 = system bus adapter
6 = local bus adapter
1 = PCI device number

0/4 = unknown; probably indicates this is a multi-port or multi-function PCI card.

0 = card port #0

8.0.255.0.0.0 = a FibreChannel device path; structure is Domain.Area.Port.Bus.Target.LUN.

Domain 8 indicates Private Loop addressing, so this FC HBA is not connected to a SAN fabric, but only to stand-alone FC disk box(es). In Private Loop mode, the Area is always 0.

Port 255 indicates Peripheral Device Addressing mode is used. In this mode, the FC Loop ID = (Bus * 16) + Target, or 0 in your case.

In Peripheral Device Addressing mode, the LUN field is simply the target disk/LUN number.

To summarize:
This is probably the first disk or LUN in an external FibreChannel-connected storage box, connected to FC port 0 of a FibreChannel HBA located in slot identified by hardware path 1/0/6/1.

If the "rad -q" / "olrad -q" listing identifies the slot by a dash-separated four-digit string (like A-B-C-D), then the first digit is the cabinet number, second is the side (0 = front, 1 = back), third is the I/O box number, and the fourth is the slot number in that I/O box.

MK
MK
Torsten.
Acclaimed Contributor

Re: Device path explain?

In the beginning (e.g. E-class servers) the rules for device paths were very strict, but later they became a bit more individual.

So without knowing the server model you cannot tell anything for sure.

The path "1/0/6/1" can be found on many different servers, cell-based and non cell-based, perhaps even non-hotswap (so you cannot get details by using "olrad" commands).



Tell your server model ("model" command)and provide an "ioscan -fn" and we can provide you more details.


The part of the path "8.0.255" indicates it is using fiber channel in loop mode, so you probably use a FC connected disk chassis like DS2405 or DS2500 or FC10 or something - this will be shown in the ioscan.



BTW, did you already read this?

http://forums11.itrc.hp.com/service/forums/helptips.do?#33



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!   
P Arumugavel
Respected Contributor

Re: Device path explain?

Hi,

Use the lssf command to display detailed information about a device file.

#lssf /dev/rdsk/c4t0d0


Regds \ Vel
Ismail Azad
Esteemed Contributor

Re: Device path explain?

Hi mr. seenivasan,

/dev/dsk and /dev/rdsk are block and character device files respectively in legacy fashion. c stands for controller, t for target and d for the lun or disk. The controller is 7 bit , the target is 4 bit and the lun is 3 bit. Hope this is useful!! Cez of what i understood you were interested in device file naming as well including the H/W path.

Regards
Read, read and read... Then read again until you read "between the lines".....
Torsten.
Acclaimed Contributor

Re: Device path explain?

@seenivasan: Do you still join this (your) thread?

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!