IBM AIX

IBM AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
#Operatingsystems
#Servers

 View Only

‘LKU lost path’ issue during cleanup phase

By Christian Sonnemans posted 07/14/26 11:17 AM

  

‘LKU lost path’-issue during cleanup phase

In my blogs earlier this year I already reported about NPIV-path issues during the cleanup phase of LKU.

I also wrote about a solution for this, see my earlier blog:

https://community.ibm.com/community/user/blogs/christian-sonnemans1/2026/02/05/vio-fc-quirks-of-lku-and-aix-73-tl0304

But, after running some more LKUs we discovered to my surprise again that, very occasionally, during the cleanup phase a path was missing again. Even more weird is that this never happened in combination with AIX 7.2 and only happened since AIX 7.3 TL03 and higher. Those people who attended my session at the Common Europe event might remember me mentioning this phenomenon.

What was the problem again?

Right after the blackout time of LKU it tries to re-establish all the NPIV-paths which is successful, but later on, in the cleanup phase, one path disappeared again. Also the LKU process came with a similar message as example below, but only occasionally:

430-249 An error occurred during post-processing.

09/15/2025-08:32:37 Initiating log capture.

Local log capture in progress and can be tracked from:

/tmp/snapimg/lu_2025-09-15_08-32-32_capture.log

On completion, log archive will be stored as:

/tmp/snapimg/lu_2025-09-15_08-32-32_snap.pax.gz

1430-094 The live update operation completed, but one or more errors

occurred during post-processing after the update was applied.

Of course I logged again a case for this. This week I can finally share some good news after running a lot of extensive tests. IBM worked closely together with us to nail this nasty problem and we needed more attempts to finally fix is. I was very fortunate that I could work again with Lyudmila, Ned and the developers to finally catch the root cause.

Deeper dive into the root cause on the VIOS

As Lyudmila also explained to me, this issue was introduced due the introduction of NVMe virtualization, since TL03.

1.     The LKU process triggers a device scan and validation on the system being updated. The storage validation process performs quick temporary logins to verify storage connectivity and ensure all connections are visible and healthy. 

2.     This temporary login should be terminated when a new client login would be created to bring up the fscsi-path on the updated LPAR.

With the introduction of NVMe virtualization, the vfchost-driver was enhanced to handle fSCSI and NVMe logins independently. During the SCSI login phase and after the SCSI-related "validation"-logins have been completed successfully, it should have been terminated. However, this step was missing. As a result, the NPIV-client incorrectly continued using the temporary validation login instead of establishing a new login.  Only later this temporary login was terminated and led to closing the connection/the missing paths on the LPAR.

See also APAR: IJ58268: VIOS_VFC_CLIENT_FAI WITH NPIV_ERR_0185 LOGGED DURING LKU

Excessive testing

How did I test this debug patch as we needed two attempts to catch it:

I created on our central server a loop script that would run forever and did a complete LKU for my test LPAR that runs an IBM LDAP application server and uses underneath a DB2 database. On the LPAR itself another small loop was created that did some LDAP queries. On the VIOS I got the advice from Lyudmila to setup several things:

-        A trace start initiated on the VIO servers.

-        An ODM change to setup a “mouse trap”. This trap triggers to stop the trace and gathers afterwards the right debug information.

Because this all could happen so quickly and also to make it possible letting to run script unattended, the main loop script did the following things:

1 automatically prepare for every new run with the right setup for the VIO server.

2 check after each run the amount of NPIV-paths.

3 The main loop script only stops if there was a NPIV-path problem.

Then it called another (vio) script on the VIO server to gather de debug information.

In my former tests with this problem I could recreate this problem within a day, after running about 120 consecutive loops.

Last week I managed to have 240 consecutive LKUs without any path issue, so this time I am convinced that the problem is finally solved. We had to test two debug patches before we could grep the right debug information and I am very happy that my (our) main goal is achieved, that this problem is fixed and that I could help a little to improve LKU under TL03.

Good news today: 31 July I received the combo fix for the vios servers. 

APAR number: IJ58268:  VIOS_VFC_CLIENT_FAI WITH NPIV_ERR_0185 LOGGED DURING LKU

Second APAR number: IJ57671: VIOS_VFC_HOST(ERRNUM 0000 0102) MISS TARGET PORT WHO LEFT SAN

For reporting the target port on the vios server.

Right now, testing it and will create a separate tread, with a friendly waring when the final efix is available for this issue.

As always please send you feedback on this blog; I am always interested in a good conversation.

0 comments
38 views

Permalink