IBM Support

IV58487: AIX DISKLESS CLNTS USING NFSV4 FOR /VAR HANG DURING SHUTDOWN APPLIES TO AIX 6100-09

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

    IV58487

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • 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 610 STD EDI

  • Fixed component ID

    5765G6200

Applicable component levels

  • R610 PSY U859289

       UP14/05/21 I 1000

PTF to Fileset Mapping



Document information

More support for: AIX Standard Edition

Software version: 610

Operating system(s): AIX

Reference #: IV58487

Modified date: 10 May 2016