IBM Support

IV58455: AIX DISKLESS CLNTS USING NFSV4 FOR /VAR HANG DURING SHUTDOWN APPLIES TO AIX 7100-03

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When the AIX diskless clients using NFSv4 mounted
    filesystems for /var are being rebooted using:
    shutdown -Fr command, the clients could hang. A dump from
    the time of the problem will show the reboot thread stuck
    in:
    
    (0)> th -n reboot
                    SLOT NAME     STATE    TID PRI   RQ CPUID
     CL  WCHAN
    
    pvthread+198E00 6542 reboot   SLEEP 18E0393 040   58
       0  vmmary_scb+480EB1B8
    
    (0)> f 6542
    pvthread+198E00 STACK:
    [0007185C]begfst+0001DC ()
    [00071858]begfst+0001D8 ()
    [006F8D7C]vms_iowaitf+00007C (??, ??)
    [05D968B0]flush_vp+0004F0 (??, ??)
    [05D972F8]sync_vp+000138 (??)
    [05D93230]nfs_fsync_range+000110 (??, ??, ??, ??, ??, ??)
    [05D61A6C]nfs4_fsync_range+00008C (??, ??, ??, ??, ??,
    ??)
    [005E46FC]vnop_fsync_range+00009C (??, ??, ??, ??, ??,
    ??)
    [005E46FC]vnop_fsync_range+00009C (??, ??, ??, ??, ??,
    ??)
    [005A9948]fsync_common+0000E8 (??, ??, ??, ??, ??)
    [000038A4]mfspurr_sc_flih01+0000E4 ()
    [100006EC]markdown+00016C ()
    [10000E50]main+0006F0 (??, ??)
    [032B4C3C]skey_kmode+000000 ()
    [kdb_get_virtual_memory] no real storage @
    2FF22B1042228234
    [kdb_read_mem] no real storage @ FFFFFFFFFFF8F90
    
    The IO is to write to wtmp file but it cannot complete
    since
    nfsrgyd daemon was already stopped earlier in the
    shutdown process. This daemon is necessary for NFSv4.
    

Local fix

Problem summary

  • AIX diskless clnts using NFSv4 for /var hang during shutdown.
    The reboot thread would be stuck in markdown:
    (0)> f 6542
    pvthread+198E00 STACK:
     0007185C begfst+0001DC ()
     00071858 begfst+0001D8 ()
     006F8D7C vms_iowaitf+00007C (??, ??)
     05D968B0 flush_vp+0004F0 (??, ??)
     05D972F8 sync_vp+000138 (??)
     05D93230 nfs_fsync_range+000110 (??, ??, ??, ??, ??, ??)
     05D61A6C nfs4_fsync_range+00008C (??, ??, ??, ??, ??, ??)
     005E46FC vnop_fsync_range+00009C (??, ??, ??, ??, ??, ??)
     005E46FC vnop_fsync_range+00009C (??, ??, ??, ??, ??, ??)
     005A9948 fsync_common+0000E8 (??, ??, ??, ??, ??)
     000038A4 mfspurr_sc_flih01+0000E4 ()
     100006EC markdown+00016C ()
     10000E50 main+0006F0 (??, ??)
     032B4C3C skey_kmode+000000 ()
     kdb_get_virtual_memory  no real storage @ 2FF22B1042228234
     kdb_read_mem  no real storage @ FFFFFFFFFFF8F90
    

Problem conclusion

  • Ensure some NFS deamons are not killed by shutdown.
    

Temporary fix

Comments

  • 6100-08 - use AIX APAR IV58653
    6100-09 - use AIX APAR IV58487
    6100-09 - use AIX APAR IV58487
    6100-09 - use AIX APAR IV58487
    7100-02 - use AIX APAR IV56689
    7100-03 - use AIX APAR IV58455
    7100-04 - use AIX APAR IV58542
    

APAR Information

  • APAR number

    IV58455

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2014-04-01

  • Closed date

    2014-04-01

  • Last modified date

    2016-05-10

  • APAR is sysrouted FROM one or more of the following:

    IV56689

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U858983

       UP14/05/22 I 1000

PTF to Fileset Mapping

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSMV87","label":"AIX 6.1 Enterprise Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMVAX","label":"AIX Express Edition"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG11R","label":"AIX 7.1 HIPERS, APARs and Fixes"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"710","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
10 May 2016