Operating System - HP-UX
1833758 Members
2380 Online
110063 Solutions
New Discussion

H/W path and device file name for disks

 
Lora Ganeva
Regular Advisor

H/W path and device file name for disks

What is the relation between the numbers in the device file's name of a hard disk and the numbers in the H/W path? (Release 10.20 series 800)
Thanks to all in advance
5 REPLIES 5
Frank Li
Trusted Contributor

Re: H/W path and device file name for disks

Hi,

The device file name for disk is CaTbDc , where a is the instance of the hard disk , and value of b and c is just equal the right most two number from the "ioscan -fnkCdisk"

the value a : If your disk is not attached to the scsi , then the a is equal to the third right most of output "ioscan -fnkCdisk"
if your disk is attached to the SCSI ,then a is equal to the instance of the SCSI ( the column "I" of the ioscan -fnkCext_bus ).
Hi Friend
Patrick Wessel
Honored Contributor

Re: H/W path and device file name for disks

Lora,
You will find more information about device files in "Configuring HP-UX for Peripherals"
http://docs.hp.com/hpux/onlinedocs/B2355-90053/B2355-90053.html

There is a chepter "Understanding Device Special File Names" I assume this is what you are looking for
There is no good troubleshooting with bad data
Vincenzo Restuccia
Honored Contributor

Re: H/W path and device file name for disks

/dev/dsk/cxtydz,x is card instance of controller SCSI,y is SCSI id and z is LUN number.
Bill McNAMARA_1
Honored Contributor

Re: H/W path and device file name for disks

I describe in this post how to decipher using ioscan scsi busses and elements.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x6d6687dc4d7dd5118ff00090279cd0f9,00.html

Later,
Bill
It works for me (tm)
Victor_5
Trusted Contributor

Re: H/W path and device file name for disks