IBM Support

LPM validation errors: HSCLA27C HSCL400A HSCLA29A with OS RC 80 for AIX NPIV client

Troubleshooting


Problem

Live Partition Mobility (LPM) and inactive mobility fails for AIX NPIV client.

Symptom

LPM Validation may fail with errors similar to the ones below

Sample 1

Errors:
HSCLA27C The operation to get the physical device location for adapter <Adapter_ID> on the virtual I/O server partition <VIOS_partition_name> has failed.
The partition command is:
migmgr -f get_adapter -t vscsi -s U8205.E6C.10B1ABC-V1-C123 -w 13857705819365638180 -W 13857705819365638181 -d 0
The partition standard error is:
child process returned error

Detailed Information
HSCL400A There was a problem running the VIOS command. 
HSCLA29A The RMC command issued to partition <VIOS_partition_name> failed.

The partition command is:
migmgr -f get_adapter -t vscsi -s U8205.E6C.10B1ABC-V1-C123 -w 13857705819365638180 -W 13857705819365638181 -d 0

The RMC return code is:
0

The OS command return code is:
80

The OS standard out is:
80

The OS standard err is:
child process returned error
Sample 2
HSCLA275 The management console was not able to locate the source Virtual I/O Server partition's hosting server adapter for the client virtual adapter ID in its internal database.
HSCLA27C The operation to get the physical device location for adapter <Adapter_ID> on the virtual I/O server partition <VIOS_partition_name> has failed. The partition command is:
migmgr -f get_adapter -t vscsi -s U8205.E6C.10B1XYZ-V1-C123 -w 13857705834251234566 -W 13857705834251234567 -d 0
The partition standard error is:
80
VIOS_DETAILED_ERROR
Executed get_adapter on VIOS 'VIOS' (hostname: VIOS_hostname)
domain_id for fscsi0 is: 98
VFC driver vfchost0 is not mapped to a port
VFC adapter name: vfchost0 proto name: , rc=0
VFC adapter name: vfchost7 proto name: fscsi1, rc=0
domain_id for fscsi1 is: 203
VFC adapter vfchost7 is on partition ID, count= 0
VFC adapter name: vfchost8 proto name: fscsi0, rc=0
Client LPAR with ID mapped to fscsi0 more than once via vfchost13 vfchost8. Cannot migrate.
rc = 80 MIG_NOT_MIGRATABLE

Please collect HMC logs and VIOS snap data for further analysis by IBM support.
End Detailed Message.

Cause

The client partition has more the one vfchost adapter mapped to the same physical FC port.  For example, physical FC name, fcs0,  is mapped to vfchost6 and vfchost7 and both vfchosts are hosting the same client partition. This is not supported by LPM for AIX client OS and will cause the validation to fail.

Environment

PowerVM VIOS 3.1 and 4.1

Diagnosing The Problem

Ensure each vfchost# used by the mobile partition is mapped to a different physical FC port on the source VIOS.  Example of a correct configuration--physical FC name fcs0 is mapped to vfchost6 and fcs1 is mapped to vfchost7.  Both vfchosts are used by the same AIX partition.

Resolving The Problem

1. Login to the VIOS, as padmin, and list all vfchost#(s) configured on the <VIOS_partition_name>:
$ lsmap -all -npiv|grep vfchost

Identify all the vfchost#s associated with the mobile partition ID you are trying to migrate.  The partition ID is the third column in the lsmap output.

3. Look at each vfchost# identified in step 1 to be associated with the mobile LPAR to determine if they are mapped to the same NPIV port ("FC name" value in lsmap):
$ lsmap -vadapter <vfchost#> -npiv

In the following example, client partition ID 12 is linked to vfchost6, which is mapped to NPIV (physical) port fcs0:
image-20181115111618-1

4. Mapping of multiple Virtual Fibre Channel adapters of a single client logical partition through multiple virtual server Fibre Channel adapters to the same physical Fibre Channel adapter is not recommended. If you have more than one vfchost# associated with the mobile partition ID and mapped to the same FC name, either remove the extra vfchost or remap it to a different physical port.  To remap a vfchost to a new physical port, run
$ vfcmap -vadapter <vfchost#> -fcp <fcs#>
where <fcs#> is the new physical (NPIV capable) port.

To list all NPIV capable ports, run
$ lsnports

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSPHKW","label":"PowerVM Virtual I\/O Server"},"ARM Category":[{"code":"a8m50000000L0NHAA0","label":"LPM-\u003ELPM + AIX VFC"}],"ARM Case Number":"TS020013306","Platform":[{"code":"PF002","label":"AIX"}],"Version":"3.1.2;3.1.3;3.1.4;4.1.0;4.1.1"}]

Document Information

Modified date:
08 August 2025

UID

ibm10740641