Operating System - HP-UX
1834496 Members
2781 Online
110067 Solutions
New Discussion

hpux hardware path to efi hardware path converting

 
ViS_2
Frequent Advisor

hpux hardware path to efi hardware path converting

Hi!

Can anybody explain me how can i convert EFI HW path of the disk to the hpux HW path and vice versa?
Is there any clear common method of doing that?
I've read this material ( http://docs.hp.com/en/5990-8170A/ch02s05.html ) but it is talking cell machines only about.

For example, we have an rx2600 test server with two disks:

# ioscan -fnk -e -C disk
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-B
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
Acpi(000222F0,0)/Pci(2|0)/Ata(Primary,Master)/\EFI\HPUX\HPUX.EFI
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GMAS3735NC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
/dev/dsk/c2t0d0s1 /dev/rdsk/c2t0d0s1
/dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0s2
/dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s3
Acpi(000222F0,100)/Pci(1|0)/Scsi(Pun0,Lun0)/HD(Part1,Sig0BE1238A-3172-11D9-8002-D6217B60E588)/\EFI\HPUX\HPUX.EFI
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GMAS3735NC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
/dev/dsk/c2t1d0s1 /dev/rdsk/c2t1d0s1
/dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0s2
/dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0s3
Acpi(000222F0,100)/Pci(1|0)/Scsi(Pun1,Lun0)/\EFI\HPUX\HPUX.EFI
#

How the string "Acpi(000222F0,100)/Pci(1|0)/Scsi(Pun1,Lun0)" had been converted to this one "0/1/1/0.1.0" ????
The trailing part "1/0.1.0" is clear but the leading one "0/1" is not.((

Thank you.
2 REPLIES 2
jpcast_real
Regular Advisor

Re: hpux hardware path to efi hardware path converting

HEllo Victor,

you should make a whole ioscan of the system ioscan -fn . In the whole ioscan you will find the BUS , the controller and finally the LUN . The whole hardware path is no more than the sum of all this components .

Example:

fc 0 0/8/0/0 td CLAIMED INTERFACE HP Tachyon XL2 Fibre Chan
nel Mass Storage Adapter
/dev/td0
fcp 0 0/8/0/0.1 fcp CLAIMED INTERFACE FCP Domain
ext_bus 29 0/8/0/0.1.4.0.0 fcparray CLAIMED INTERFACE FCP Array Interfa
ce
target 8 0/8/0/0.1.4.0.0.0 tgt CLAIMED DEVICE
disk 44 0/8/0/0.1.4.0.0.0.0 sdisk CLAIMED DEVICE HP A6189B
/dev/dsk/c29t0d0 /dev/rdsk/c29t0d0

Here rests one who was not what he wanted and didn't want what he was
ViS_2
Frequent Advisor

Re: hpux hardware path to efi hardware path converting

Yes, you right.
But in what way the string "Acpi(000222F0,100)" had been converted to this one "0/1"?