IBM Support

Why AIX Client Sees New vSCSI MPIO Path to 2nd VIOS instead of New Disk?

Troubleshooting


Problem

Dual VIOs serving AIX clients with virtual SCSI (vSCSI) storage backed by Logical Volume backing devices on VIOS rootvg.

Symptom

AIX client originally configured with vSCSI storage backed logical volumes on VIOS1.

Cause

New vSCSI disks backed by LVs configured on VIOS2 are discovered by the clients as 2nd MPIO path instead of new disks.

Environment

PowerVM VIOS 2.2
AIX 6.1, 7.1, or 7.2 using vSCSI storage backed by Logical Volumes in (VIOS) rootvg

Diagnosing The Problem

Determine if VIOS2 was cloned from VIOS1. This can be verified by comparing the VG IDENTIFIER for rootvg on both VIOs:


    $ lsvg rootvg ->Get VG IDENTIFIER value from both VIOs
If the VG IDENTIFIER is identical on both VIOS, that is the problem. The reason for that is because vSCSI storage that is backed by a Logical Volume is "uniquely" identified based on the LV IDENTIFIER, which includes the VG identifier, and in a VIOS cloning scenario, this values are going to be the same.

To determine the LV IDENTIFIER for the Logical Volume Backing Device(s) in question on both VIOs, run:


$ lslv LVname

Sample output of problematic environment:
rootvg VG ID on both VIOs: 00fae9d600004c000000015af6c5ad20. This results in the logical volumes mapped to the client having the same "unique ID" (in this case, 00fae9d600004c000000015af6c5ad20.15) based on the rootvg VG ID.
vio1 LV ID: 00fae9d600004c000000015af6c5ad20.15 lv01
vio2 LV ID: 00fae9d600004c000000015af6c5ad20.15 lv01-1
Client "unique_id": "382300fae9d600004c000000015af6c5ad20.1505VDASD03AIXvscsi"
This in turn causes the second mapping to be seen by the client as a second MPIO path to the disk, instead of a new disk.

Resolving The Problem

If VIOS2 was cloned from VIOS1, restoring VIOS2 from backup will not help as the VG/LV identifier will also be restored. The VIOS will need to be reinstalled and rebuilt. To rebuild the VIOS, you may use the viosbr command to backup the configuration. Then restore the configuration onto the generic install of the VIO.

[{"Product":{"code":"SSPHKW","label":"PowerVM Virtual I\/O Server"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":null,"Platform":[{"code":"PF002","label":"AIX"}],"Version":"2.2.1;2.2.2;2.2.3;2.2.4;2.2.5","Edition":"Enterprise;Express;Standard","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
19 February 2022

UID

isg3T1025113