AIX

AIX

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


#Power
#Power
 View Only
Expand all | Collapse all

LPAR Disk Path Issue- Disk Showing Only 6 Paths Instead of 8

  • 1.  LPAR Disk Path Issue- Disk Showing Only 6 Paths Instead of 8

    Posted 9 days ago

    Hi all,
    In my LPAR configuration, the disk should have 8 paths from 4 FCS adapters, but unfortunately, 2 paths from one FC adapter *(fcs2) are missing. Now it is showing only 6 paths. I checked, and all FCS adapters are in an available state. Please help me resolve this issue.

    #lspath -l hdisk1
    Enabled hdisk1 fscsi0
    Enabled hdisk1 fscsi0
    Enabled hdisk1 fscsi1
    Enabled hdisk1 fscsi1
    Enabled hdisk1 fscsi3
    Enabled hdisk1 fscsi3

    x Disk-Adapter-I/O qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqx
    xName          %busy     read    write        xfers Disks Adapter-Type                                                                                                                              x
    xvscsi2          0.0      0.0      0.0 KB/s     0.0 1     Virtual SCSI Client A                                                                                                                     x
    xfcs3            0.0     32.0     16.0 KB/s     3.0 22    Virtual Fibre Channel                                                                                                                     x
    xfcs0            0.0     40.0     16.0 KB/s     3.5 22    Virtual Fibre Channel                                                                                                                     x
    xfcs1            0.0     56.0      0.0 KB/s     3.5 22    Virtual Fibre Channel                                                                                                                     x
    xTOTALS  4 adapters     128.0     32.0 KB/s    10.0 23    TOTAL(MB/s)=0.2 



    ------------------------------
    Vivek M
    ------------------------------


  • 2.  RE: LPAR Disk Path Issue- Disk Showing Only 6 Paths Instead of 8

    Posted 9 days ago
    Hi,
     
    I have thought about the reasons for this and have listed them below.
     
    - The vFC adapter (vfchost) in question is not mapped to a physical port on the VIOS side.
    - The FCSCSI NPIV WWPN is not included in the SAN switch zoning.
    - The FCSCSI WWPN is not included in the LUN masking on the storage side.
    - On the AIX side, FCSCSI/FSCSI2 is still in the Defined state, or the configuration is old and cfgmgr has not been executed.
    - The virtual adapter definition on the HMC was mistakenly created as a "Virtual SCSI Client Adapter" instead of a "Virtual Fibre Channel (NPIV) Client Adapter."
     
    Also, in addition to fcs0, 1, and 3, the vscsi2 device is displayed. What is the purpose of this?
     
    Best regards,



    ------------------------------
    wataru nakanishi
    ------------------------------



  • 3.  RE: LPAR Disk Path Issue- Disk Showing Only 6 Paths Instead of 8

    Posted 8 days ago
    Edited by Vivek M 8 days ago
    The vFC adapter (vfchost) in question is not mapped to a physical port on the VIOS side ----> mapped properly
    - The FCSCSI NPIV WWPN is not included in the SAN switch zoning. ------> zoning completed
    - The FCSCSI WWPN is not included in the LUN masking on the storage side. -----> yes masked
    regarding vscsi2 , we added one virtual optical disk and loaded one aix image in that so it's representing through vscsi2



    ------------------------------
    Vivek M
    ------------------------------



  • 4.  RE: LPAR Disk Path Issue- Disk Showing Only 6 Paths Instead of 8

    Posted 7 days ago
    Edited by Anas AlSaleh 7 days ago

    hi ,

    what is the output from below commands please 

    • # lsmpio 
    • # lsmpio -ar
    • # lsmpio -are
    • # errpt

    Thanks 



    ------------------------------
    Anas AlSaleh
    IBM Power Systems Software Specialist
    Saudi Business Machines ( SBM )
    Riyadh
    ------------------------------



  • 5.  RE: LPAR Disk Path Issue- Disk Showing Only 6 Paths Instead of 8

    Posted 3 days ago
      |   view attached

    Dear ,

    All commands output file attached. Kindly review it 



    ------------------------------
    Vivek M
    ------------------------------

    Attachment(s)

    txt
    output.txt   30 KB 1 version


  • 6.  RE: LPAR Disk Path Issue- Disk Showing Only 6 Paths Instead of 8

    Posted 3 days ago

    HI 

    from the output all the fscsi0 , fscsi1 and fscsi3 are up except the fscsi2 reported error on error report ( 26623394   1010120425 T H fscsi2 COMMUNICATION PROTOCOL ERROR).

    can you please share the output from below command , i need to see the status of FCS adapters from LPAR it self

    # lsdev -Ccadapter | grep -i fcs

    thank you 



    ------------------------------
    Anas AlSaleh
    IBM Power Systems Software Specialist
    Saudi Business Machines ( SBM )
    Riyadh
    ------------------------------



  • 7.  RE: LPAR Disk Path Issue- Disk Showing Only 6 Paths Instead of 8

    Posted 3 days ago

    also please share the output from errpt -a or errpt -aj 26623394 | more

    thanks 



    ------------------------------
    Anas AlSaleh
    IBM Power Systems Software Specialist
    Saudi Business Machines ( SBM )
    Riyadh
    ------------------------------



  • 8.  RE: LPAR Disk Path Issue- Disk Showing Only 6 Paths Instead of 8

    Posted 3 days ago

    #lsdev -Ccadapter | grep -i fcs


    fcs0    Available C2-T0 Virtual Fibre Channel Client Adapter
    fcs1    Available C4-T0 Virtual Fibre Channel Client Adapter
    fcs2    Available C5-T0 Virtual Fibre Channel Client Adapter
    fcs3    Available C6-T0 Virtual Fibre Channel Client Adapter
    fcs4    Available C7-T0 Virtual Fibre Channel Client Adapter
    fcs5    Available C8-T0 Virtual Fibre Channel Client Adapter

    #errpt -aj 26623394 | more
    ---------------------------------------------------------------------------
    LABEL:          FCP_ERR12
    IDENTIFIER:     26623394

    Date/Time:       Fri Oct 10 12:04:54 IST 2025
    Sequence Number: 1492
    Machine Id:      00FC025A4B00
    Node Id:         drpbgbrpsrv
    Class:           H
    Type:            TEMP
    WPAR:            Global
    Resource Name:   fscsi2
    Resource Class:  driver
    Resource Type:   emfscsi
    Location:

    Description
    COMMUNICATION PROTOCOL ERROR

            Recommended Actions
            PERFORM PROBLEM DETERMINATION PROCEDURES

    Detail Data
    SENSE DATA
    0000 0020 0000 00AC 0000 0902 0202 0401 C050 760C 712C 00FA 0000 0000 0014 020D
    0000 0000 0000 0AEA 0000 0000 0000 03EC 0000 0000 0000 0201 0600 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    5005 0768 1316 4E4E 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0015 0001 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0018 0100 0000 FC02 0000 0121 0001 0000 0000 5005 0768 1316 4E4E 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000
    0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000



    ------------------------------
    Vivek M
    ------------------------------



  • 9.  RE: LPAR Disk Path Issue- Disk Showing Only 6 Paths Instead of 8

    Posted 3 days ago

    please check the VIOs error report and the mappign as well , and check lsnports output from VIO server ,usually indicates a problem with the fibre channel connection to storage.



    ------------------------------
    Anas AlSaleh
    IBM Power Systems Software Specialist
    Saudi Business Machines ( SBM )
    Riyadh
    ------------------------------



  • 10.  RE: LPAR Disk Path Issue- Disk Showing Only 6 Paths Instead of 8

    Posted 3 days ago

    If the "cfgmgr" command on the AIX partition does not bring back the fscsi devices and doesn't add paths to "lspath" or "lsmpio, you can check the Virtual I/O Server(s).

    Login as padmin and execute the following command:

    lsmap -all -npiv

    It will lists all mappings from the physical fcs port on the VIO server to the corresponding (virtual) fcs port on the AIX partition. The vfcmap can restore mapping that are missing.

    If all mappings appear valid, physical cabling from VIOS to SAN switch, zoning & mapping should be checked.



    ------------------------------
    Richard Westerik
    Principal specialist
    Simac IT NL bv
    Ede
    +31651575123
    ------------------------------



  • 11.  RE: LPAR Disk Path Issue- Disk Showing Only 6 Paths Instead of 8

    Posted 2 days ago
    I checked Mapping is available at vios side .


    Best Regards,

    Vivek M

    IBM INDIA PVT LTD

    Email :- vivek.m1@ibm.com

    Ph No :- +91 7095361012

     






  • 12.  RE: LPAR Disk Path Issue- Disk Showing Only 6 Paths Instead of 8

    Posted 2 days ago

    Hi Vivek

    I'll assume that you have tried rmdev -Rdl fcs2 and cfgmgr already. Do you get any errors when you run cfgmgr -vl fscsi2?

    AIX Support have shared some tools they use for investigating this type of problem.

    AIX Support Center Tools

    Install the devscan tool from there and use it to probe the SAN through the adapter.

    /usr/local/bin/devscan --dev=fscsi2

    That will show if fscsi2 can:

    a) talk to the switch

    b) see the target (storage) ports 

    c) see the luns via those ports. 

    HTH

    Chris



    ------------------------------
    Chris Wickremasinghe
    IBM
    ------------------------------



  • 13.  RE: LPAR Disk Path Issue- Disk Showing Only 6 Paths Instead of 8

    Posted 18 hours ago

    hi ,

    any errors reported from VIOs server regarding this port ? and what is the output from lsnports command



    ------------------------------
    Anas AlSaleh
    IBM Power Systems Software Specialist
    Saudi Business Machines ( SBM )
    Riyadh
    ------------------------------



  • 14.  RE: LPAR Disk Path Issue- Disk Showing Only 6 Paths Instead of 8

    Posted 6 days ago

    Another command which can be very useful is

    echo vfcs | kdb

    At the end of the output it shows the mapping between the AIX virtual fibre channel adapters to the physical adapters on the VIO server(s), like in the following example.

    (0)> vfcs
    NAME    ADDRESS            STATE  OPENED S_CH N_CH HOST_ADAP   PHYS   HOST
    fcs0    0xF1000B01C0728000 0x0010 0x0001 8    0    vfchost32   fcs0   spciceph010v2
    fcs1    0xF1000B01C0720000 0x0010 0x0001 8    0    vfchost33   fcs3   spciceph010v2
    fcs2    0xF1000B01C0C48000 0x0010 0x0001 8    0    vfchost32   fcs0   spciceph010v1
    fcs3    0xF1000B01C0C40000 0x0010 0x0001 8    0    vfchost33   fcs3   spciceph010v1

    I would check/verify if the mapping for (AIX) fcs2 is correct.
    If there is no reasonable explanation, and all other paths are working correctly, this has often helped out in our environment:

    # rmdev -Rdl fcs2
    # cfgmgr



    ------------------------------
    Richard Westerik
    Principal specialist
    Simac IT NL bv
    Ede
    +31651575123
    ------------------------------



  • 15.  RE: LPAR Disk Path Issue- Disk Showing Only 6 Paths Instead of 8

    Posted 6 days ago

    Hi,
    From lspath command output, it looks that either fscsi2 paths were never there or it was removed intentionally , otherwise it should be enabled/missing on lspath command output. So, if this path is deleted from ODM but path is still configured from VIOS, SAN and storage side then it should come back with cfgmgr. If not, then it is definitely related with mapping, zoning or masking. 

    Thanks & Regards,
    Akmal, Affan



    ------------------------------
    Affan Akmal
    ------------------------------



  • 16.  RE: LPAR Disk Path Issue- Disk Showing Only 6 Paths Instead of 8

    Posted 3 days ago

    I thought the same "cfgmgr" it should come back



    ------------------------------
    Bharanidharan J
    Technical Head
    Mobile : +91 98402 98794
    Address : ROX Hi-Tech Limited,
    (Formally known ROX Trading & Systems Pvt Ltd.)
    Old # 101-B, New # 160, Mahalingapuram, Main Road, Chennai -600 034
    ------------------------------



  • 17.  RE: LPAR Disk Path Issue- Disk Showing Only 6 Paths Instead of 8

    Posted 16 hours ago

    hi

    what is see from all discussions and provided output , the problem is either on the SAN switch or the storage array side/target device.  please check with your SAN Support to investigate further , please check the below IBM link .

    https://www.ibm.com/support/pages/node/6989021

    before that check as i mensioned before the VIOs error report if there is errors reported related .

    Thank you 



    ------------------------------
    Anas AlSaleh
    IBM Power Systems Software Specialist
    Saudi Business Machines ( SBM )
    Riyadh
    ------------------------------