IBM Support

IV69971: WITH AUDITING, .NFSXXXX FILES REMAIN ON NAMEFS AFTER DELETION APPLIES TO AIX 6100-08

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

    IV69971

  • Reported component name

    AIX 610 STD EDI

  • Reported component ID

    5765G6200

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2015-02-26

  • Closed date

    2015-02-26

  • Last modified date

    2015-09-30

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

    IV68774

  • 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 U868371

       UP15/09/18 I 1000

PTF to Fileset Mapping



Document information

More support for: AIX Standard Edition

Software version: 610

Operating system(s): AIX

Reference #: IV69971

Modified date: 30 September 2015