cancel
Showing results for 
Search instead for 
Did you mean: 

11.31 change Lun H/W Path

Michael Leu
Honored Contributor

11.31 change Lun H/W Path

Hi

Each time 11.31 is installed on a rx6600 with 4 internal disks the order of the Lun H/W Path is different:

First install:
# ioscan -m hwpath
Lun H/W Path Lunpath H/W Path Legacy H/W Path
=====================================================
64000/0xfa00/0x0 0/4/1/0.0x5000c5000f6a0375.0x0 0/4/1/0.0.0.2.0
64000/0xfa00/0x1 0/4/1/0.0x5000c5000f6c80e5.0x0 0/4/1/0.0.0.1.0
64000/0xfa00/0x2 0/4/1/0.0x5000c5000f6a4ec5.0x0 0/4/1/0.0.0.0.0
64000/0xfa00/0x3 0/4/1/0.0x5000c5000f6b56e1.0x0 0/4/1/0.0.0.3.0

Second install:
# ioscan -m hwpath
Lun H/W Path Lunpath H/W Path Legacy H/W Path
=====================================================
64000/0xfa00/0x0 0/4/1/0.0x5000c5000f6a4ec5.0x0 0/4/1/0.0.0.0.0
64000/0xfa00/0x1 0/4/1/0.0x5000c5000f6b56e1.0x0 0/4/1/0.0.0.3.0
64000/0xfa00/0x2 0/4/1/0.0x5000c5000f6c80e5.0x0 0/4/1/0.0.0.1.0
64000/0xfa00/0x3 0/4/1/0.0x5000c5000f6a0375.0x0 0/4/1/0.0.0.2.0

Is there any way to change the Lun H/W Path so it matches the SAS Bay and the Legacy H/W Path?
3 REPLIES
Steven E. Protter
Exalted Contributor

Re: 11.31 change Lun H/W Path

Shalom,

Assuming the internal settings on the scsi card are the same and the disks are in the same position.

An Ignite system backup from the first install to the second install might solve this problem.

make_tape_recovery make_net_recovery

You can also play around with /etc/ioninit, clearing the io paths and restarting the system, rebuilding them. The procedure is risky and not recommended for people that are not experts.

11.31 has a dynamic, more flexible HW_PATH allocation.

In your shoes, I would do nothing and leave the systems alone. This is probably not worth attacking.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Michael Leu
Honored Contributor

Re: 11.31 change Lun H/W Path

Thanks for your input SEP.

With /sbin/ioinit we can only influence the instance numbers.

I am looking for the place where the "real" (legacy) hw-path/SAS-slot is assigned to the dyn-hw-path. Does anybody know where this is stored?

Also during installation in itool the order can already be seen in the disk selection dialog. Each time it's different, and in that order it will create your dyn-hw-paths.
Michael Leu
Honored Contributor

Re: 11.31 change Lun H/W Path

We found the place it is stored: /stand/krs/system.krs

While it can be modified, activating the changes is not easy at all (it involved resetting the system).

So we will stick to installing HP-UX with one disk only and then add all other disks one by one.