Online Expert Day - HPE Data Storage - Live Now
April 24/25 - Online Expert Day - HPE Data Storage - Live Now
Read more
cancel
Showing results for 
Search instead for 
Did you mean: 

spmgr, bch and hw path

msaygak
Frequent Advisor

spmgr, bch and hw path

hello
I have pa-risc superdome with several partitions. On one of partitions scsi disk failed. I decided to move system (hp-ux B.11.11) to disk on EVA. I have succsessfully presented LUN and mirrored hp-ux on SAN storage. Now I want to boot my partition from SAN. The promblem is to detect real hardware path of that LUN.

ioscan shows me these lines:
disk 25 255/255/1/0.3 sdisk CLAIMED DEVICE HSV110 (C)COMPAQ
/dev/dsk/c43t0d3 /dev/rdsk/c43t0d3

spmgr shows these:
TGT/LUN Device WWLUN_ID H/W_Path #_Paths
0/ 3 c43t0d3 6005-08B4-0001-0CB6-0001-5000-02E6-0000 4
255/255/1/0.3
Controller Path_Instance HBA Preferred? Path_Status
P5849D4AAOQ08S no
c35t0d4 td0 no Standby
c39t0d4 td1 no Standby

Controller Path_Instance HBA Preferred? Path_Status
P5849D4AAOQ02S no
c37t0d4 td0 no Active
c41t0d4 td1 no Available


BCH cannot detect boot image on SAN:
IODC
Path# Device Path (dec) Device Type Rev
----- ----------------- ----------- ----
P0 0/0/1/0/0/4/0.0 Random access media 4
0/0/4/0/0.0 Fibre Channel Protocol 8
P1 0/0/11/0/0/4/0.2 Random access media 4
P2 0/0/11/0/0/4/1.3 Random access media 4
P3 0/0/11/0/0/4/1.1 Sequential access media 4
0/0/14/0/0.0 Fibre Channel Protocol 8

Only Fibre Channel Adapters.

I tried to find HW path using mapper2 utility from offline diagnostics CD, but it cannot find my LUN too:
I/O Configuration:
Type HW SW Revisions
Path Component Name ID Model Model Hdwr Firm
---------- ----------------------------------- ----- ----- ----- ----- -----
0/0 System Bus Adapter 7H 804H CH 0 0
0/0/0 Elroy PCI Bridge DH 782H AH 0 0
0/0/0/0/0 Serial Controller 103CH 1048H 103CH 1223H 02H
0/0/0/1/0 Ethernet Controller 1011H 0019H 103CH 104FH 41H
0/0/1 Elroy PCI Bridge DH 782H AH 0 0
0/0/1/0/0 PCI->PCI Bridge 8086H B154H 0000H 0000H 00H
0/0/1/0/0/4/0
SCSI Bus Controller 1000H 000BH 1000H 1000H 07H
0/0/1/0/0/4/0.0.0
HP 36.4G ST336753LC - - - - HPC4
0/0/1/0/0/4/1
SCSI Bus Controller 1000H 000BH 1000H 1000H 07H
0/0/1/0/0/6/0
Ethernet Controller 1011H 0019H 1011H 1225H 41H
0/0/1/0/0/7/0
Ethernet Controller 1011H 0019H 1011H 1225H 41H
0/0/2 Elroy PCI Bridge DH 782H AH 0 0
0/0/3 Elroy PCI Bridge DH 782H AH 0 0
0/0/4 Elroy PCI Bridge DH 782H AH 0 0
0/0/4/0/0 HP 6795A 2G/1G Fibre Chan. Adapter 103CH 1029H 103CH 128CH 0BH
0/0/6 Elroy PCI Bridge DH 782H AH 0 0
0/0/8 Elroy PCI Bridge DH 782H AH 0 0
0/0/9 Elroy PCI Bridge DH 782H AH 0 0
0/0/9/0/0 PCI->PCI Bridge 8086H B154H 0000H 0000H 00H
0/0/9/0/0/4/0
Ethernet Controller 1011H 0019H 103CH 125AH 41H
0/0/9/0/0/5/0
Ethernet Controller 1011H 0019H 103CH 125AH 41H
0/0/9/0/0/6/0
Ethernet Controller 1011H 0019H 103CH 125AH 41H
0/0/9/0/0/7/0
Ethernet Controller 1011H 0019H 103CH 125AH 41H
0/0/10 Elroy PCI Bridge DH 782H AH 0 0
0/0/11 Elroy PCI Bridge DH 782H AH 0 0
0/0/11/0/0 PCI->PCI Bridge 8086H B154H 0000H 0000H 00H
0/0/11/0/0/4/0
SCSI Bus Controller 1000H 000BH 1000H 1000H 07H
0/0/11/0/0/4/0.2.0
HP 36.4G ST336753LC - - - - HPC4
0/0/11/0/0/4/1
SCSI Bus Controller 1000H 000BH 1000H 1000H 07H
0/0/11/0/0/4/1.1.0
HPC5683A DDS4 Tape Drive - - - - C111
0/0/11/0/0/4/1.3.0
HP DVD-ROM DVD-305 - - - - 1.01
0/0/11/0/0/6/0
Ethernet Controller 1011H 0019H 1011H 1225H 41H
0/0/11/0/0/7/0
Ethernet Controller 1011H 0019H 1011H 1225H 41H
0/0/12 Elroy PCI Bridge DH 782H AH 0 0
0/0/14 Elroy PCI Bridge DH 782H AH 0 0
0/0/14/0/0 HP 6795A 2G/1G Fibre Chan. Adapter 103CH 1029H 103CH 128CH 0BH
0/5 Memory Controller (8 Gbytes) 1H ADH 9H 0 0

Anybody knows how to boot from disk 255/255/1/0.3 /dev/dsk/c43t0d3
?
9 REPLIES
Matti_Kurkela
Honored Contributor

Re: spmgr, bch and hw path

The path 255/255/1/0.3 is generated by the multipath software (spmgr), so it literally does not exist before the OS has booted up.

You must find out the hardware path(s) of the underlying disk devices (preferably c37t0d4 or c41t0d4, but c35t0d4 and c39t0d4 should also work). The path will be a "sub-path" of the FC adapter, e.g. 0/0/14/0/0/...

The BCH can only detect the presence of FC adapters: it is not smart enough to actually scan the FC disks. But if you can tell it the HW path of the disk to boot from, it can boot from the FC disk.

Your boot command should be something like:

boot 0/0/4/0/0...
or
boot 0/0/14/0/0...

MK
MK
msaygak
Frequent Advisor

Re: spmgr, bch and hw path

thanks. I understood, that disk /dev/rdsk/c43t0d3 is unavailable untill securepath start. But i cannot find hardware paths of subdisks. Ioscan shows only aggregated devices and spmgr show only resulting disks. What commands shoud I use to determine paths?
Torsten.
Acclaimed Contributor

Re: spmgr, bch and hw path

You should see the path for devices like

c37t0d4 or c35t0d4 in iocan.

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!   
msaygak
Frequent Advisor

Re: spmgr, bch and hw path

there are no such devices in ioscan. But in full output I found a lot of hardware pathes, that I can not identify.
Please take a look at attached file.
Torsten.
Acclaimed Contributor

Re: spmgr, bch and hw path

Try this:

# spmgr display -av td0

# spmgr display â dv c35t0d4

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!   
msaygak
Frequent Advisor

Re: spmgr, bch and hw path

I tried every command line option of spmgr.
results you can see in attached file.

Torsten.
Acclaimed Contributor

Re: spmgr, bch and hw path

How about

# spmgr display -dv c35t0d4

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!   
msaygak
Frequent Advisor

Re: spmgr, bch and hw path

Ok.
saturn:/root#spmgr display -dv c35t0d4
Server: saturn.umc.com.ua Report Created: Wed, Jul 15 10:12:03 2009
Command: spmgr display -dv c35t0d4
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =

Invalid LUN.

msaygak
Frequent Advisor

Re: spmgr, bch and hw path

Recently i found, that ioscan -funC hsx shows me hardware pathes to all LUNs presented from both EVAs. In the otput I found two LUNs with ID 4, presented from two EVAs. So next time, I reboot partition I will try to bot from both LUNs and see, what it be.