Pages

Monday, June 20, 2011

How do I remove .nfs files?

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

No comments:

Post a Comment