question

VirenNegi-9074 avatar image
0 Votes"
VirenNegi-9074 asked VirenNegi-9074 commented

stale NFS file handle

Our Azure file share mounted on pods using https://docs.microsoft.com/en-us/azure/storage/files/storage-how-to-use-files-linux approach.

We are a seeing stale NFS file handle on one specific file can we every time we ask our program to create and write that file we are seeing the program terminate reporting us back stale NFS file handle

But creating the file using UNIX utility `echo "hello" > the-file.txt on the mounted file share seems to work.

What is the problem here? All the other files are getting created except this one file.



azure-files
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

deherman-MSFT avatar image
0 Votes"
deherman-MSFT answered VirenNegi-9074 commented

@VirenNegi-9074
It sounds like the File Handle might not be being closed by your program. You can review the method here to list open file handles to see if this is the case.

Hope this helps! If you are still having issues or need further assistance please let us know.



Please don’t forget to "Accept the answer" and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@deherman-MSFT I tried that and I deleted the open handle using the command Close-AzStorageFileHandle although I close the open file handles. But the problem still persisted.

0 Votes 0 ·