Remove stale nfs handle

By: | Comments: No Comments

Posted in categories: Computer Tips, Work related

Have you ever tried to delete a file and noticed that it turned into a .nfs file? This is because some process still has an open file handle on this file. The .nfs file is typically named .nfs followed by a bunch of digits eg. .nfs000000000189806400000085. To identify the actually process which has the open handle on the file, use the lsof or fuser commands.

lsof .nfs000000000189806400000085
fuser -m .nfs000000000189806400000085

Be the first to comment!

Leave a Reply