Skip to Main Content
IBM Power Ideas Portal


This portal is to open public enhancement requests against IBM Power Systems products, including IBM i. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:

Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,

Post your ideas
  1. Post an idea.

  2. Get feedback from the IBM team and other customers to refine your idea.

  3. Follow the idea through the IBM Ideas process.


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

Status Submitted
Workspace AIX
Created by Guest
Created on Sep 8, 2026

Problem when we try delete directory from EVS HITACHI NFS

Case number

TS022926480

We are experiencing delays and blocking behavior when removing directories located on an NFS-mounted filesystem.

To investigate the issue, we performed a controlled test on server nim71. A test file was created and kept open by a background process using an active file descriptor. While the file was still open, we deleted it and then attempted to remove the parent directory using:

rm -rf <directory>


After the file deletion, NFS automatically renamed the file to a temporary .nfsXXXX file:

.nfsAFA3


The rm -rf operation remained blocked for approximately 58 seconds, until the background process released the open file descriptor. Once the process terminated, the .nfs* file disappeared automatically and the directory removal completed successfully.

Observed Behavior
File was deleted while still open by a running process.
NFS created a temporary .nfsXXXX file.
Directory removal (rm -rf) was unable to complete while the .nfs* file existed.
The removal operation completed only after the file descriptor was released.
The behavior is consistently reproducible.
Business Impact

In our environment, cleanup operations and automated processes may be delayed when files remain open. This can lead to long-running rm -rf operations, directory removal failures, and accumulation of temporary .nfs* files, impacting operational tasks and troubleshooting activities.



We would appreciate your assistance in reviewing:

Whether the observed behavior is expected for your NFS implementation.
Any server-side logs or events related to the test period.
NFS configuration parameters that may influence the handling of open deleted files.
Recommended best practices or tunable settings to minimize delays caused by .nfs* temporary files and open file handles.

The test successfully reproduces the issue and we can provide the reproduction script and execution output if required.



nim71[/TEST_EVS] sh -x reproducer_nfs_issue.sh
+ BASE_DIR=/TEST_EVS/TEST/test_nfs_issue_42401996
+ FILE=/TEST_EVS/TEST/test_nfs_issue_42401996/testfile.txt
+ echo Creando directorio: /TEST_EVS/TEST/test_nfs_issue_42401996
Creando directorio: /TEST_EVS/TEST/test_nfs_issue_42401996
+ mkdir -p /TEST_EVS/TEST/test_nfs_issue_42401996
+ echo Creando archivo: /TEST_EVS/TEST/test_nfs_issue_42401996/testfile.txt
Creando archivo: /TEST_EVS/TEST/test_nfs_issue_42401996/testfile.txt
+ echo Contenido de prueba
+ 1> /TEST_EVS/TEST/test_nfs_issue_42401996/testfile.txt
+ exec
+ + BG_PID=23003286
+ sleep 2
3< /TEST_EVS/TEST/test_nfs_issue_42401996/testfile.txt
+ echo Archivo abierto con FD 3. PID: 42401996
Archivo abierto con FD 3. PID: 42401996
+ echo Manteniendo archivo abierto por 30 segundos...
Manteniendo archivo abierto por 30 segundos...
+ sleep 60
+ echo Intentando eliminar archivo mientras está abierto...
Intentando eliminar archivo mientras está abierto...
+ rm -f /TEST_EVS/TEST/test_nfs_issue_42401996/testfile.txt
+ echo Contenido del directorio después del rm:
Contenido del directorio después del rm:
+ ls -la /TEST_EVS/TEST/test_nfs_issue_42401996
total 24
drwxr-xr-x 2 root system 2048 Sep 02 09:28 .
drwxr-xr-x 7 root system 2048 Sep 02 09:28 ..
-rw-r--r-- 1 root system 20 Sep 02 09:28 .nfsAFA3
+ echo Intentando eliminar directorio completo...
Intentando eliminar directorio completo...
+ date
Wed Sep 2 09:28:35 -04 2026
+ rm -rf /TEST_EVS/TEST/test_nfs_issue_42401996
Liberando archivo...
+ echo Liberando archivo...
Liberando archivo...
+ date
Wed Sep 2 09:29:33 -04 2026
+ RM_PID=23003286
+ sleep 5
+ echo Estado actual:
Estado actual:
+ ps -fp 23003286
UID PID PPID C STIME TTY TIME CMD
+ ps -fp 23003286
UID PID PPID C STIME TTY TIME CMD
+ echo Archivos presentes (deberían aparecer .nfsXXXX):
Archivos presentes (deberían aparecer .nfsXXXX):
+ ls -la /TEST_EVS/TEST/test_nfs_issue_42401996
+ 2> /dev/null
+ echo Esperando que termine proceso que mantiene archivo abierto...
Esperando que termine proceso que mantiene archivo abierto...
+ wait 23003286
+ sleep 2
+ echo Estado final del directorio:
Estado final del directorio:
+ ls -la /TEST_EVS/TEST/test_nfs_issue_42401996
+ 2> /dev/null
+ echo Limpieza final...
Limpieza final...
+ rm -rf /TEST_EVS/TEST/test_nfs_issue_42401996
+ echo Finalizado.
Finalizado.
nim71[/TEST_EVS]

Idea priority Medium