IBM Support

IV68774: WITH AUDITING, .NFSXXXX FILES REMAIN ON NAMEFS AFTER DELETION 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

  • Recreation steps:
    
    (1) On the NFS server:
    
    # mkdir /nfsdir
    
    # grep nfsdir /etc/exports
    /nfsdir -rw,root=aix7103,access=aix7103
    # exportfs -v /nfsdir
    exportfs: exported /nfsdir
    #
    
    (2) On the NFS client:
    
    [root@aix7103]# mkdir /nfsmnt
    [root@aix7103]# mkdir /namefs
    [root@aix7103]# mount nfscli:/nfsdir /nfsmnt
    [root@aix7103]# mount -v namefs /nfsmnt /namefs
    
    [root@aix7103]# audit start
    
    [root@aix7103]# touch /namefs/testfile
    [root@aix7103]# ls -l /namefs
    total 0
    -rw-r--r--    1 root     system            0 Jan 13 2015
    testfile
    [root@aix7103]#
    
    [root@aix7103]# rm /namefs/testfile
    [root@aix7103]# ls -l /namefs
    total 0
    -rw-r--r--    1 root     system            0 Jan 13 2015
    .nfs29A1
    [root@aix7103]#
    
    (3)  On the NFS client, the .nfsXXXX file gets renamed
    and remains, even after repeated attempts to remove it.
    
    [root@aix7103]# rm /namefs/.nfs29A1
    [root@aix7103]# ls -l /namefs
    total 0
    -rw-r--r--    1 root     system            0 Jan 13 2015
    .nfs39A1
    [root@aix7103]# rm /namefs/.nfs39A1
    [root@aix7103]# ls -l /namefs
    total 0
    -rw-r--r--    1 root     system            0 Jan 13 2015
    .nfs49A1
    [root@aix7103]#
    

Local fix

  • The spurious files can be deleted manually from the NFS
    server.
    

Problem summary

  • With an NFS server and client and audit running on the client,
    removing an NFS file from the client results in leaving a .nfs
    file that cannot be removed by the client.
    

Problem conclusion

  • Release the vnode lock that audit subsystem took for alias
    object.
    

Temporary fix

Comments

  • 6100-08 - use AIX APAR IV69971
    6100-09 - use AIX APAR IV69312
    7100-02 - use AIX APAR IV70224
    7100-03 - use AIX APAR IV68774
    

APAR Information

  • APAR number

    IV68774

  • Reported component name

    AIX V7.1

  • Reported component ID

    5765H4000

  • Reported release

    710

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2015-01-20

  • Closed date

    2015-02-06

  • Last modified date

    2015-09-30

Fix information

  • Fixed component name

    AIX V7.1

  • Fixed component ID

    5765H4000

Applicable component levels

  • R710 PSY U865837

       UP15/05/19 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:
30 September 2015