What are .nfs* files?

From Brandonhutchinson.com

(Difference between revisions)
Jump to: navigation, search
Current revision (21:11, 26 March 2008) (edit) (undo)
Line 12: Line 12:
(system1) $ ''Ctrl-C''
(system1) $ ''Ctrl-C''
(system1) $ ls -a
(system1) $ '''ls -a'''
== Links ==
== Links ==

Current revision

An .nfs* file is created when an open file is removed from an NFS share. In other words, when a process has a file open on an NFS share, and the file is removed by another process, an .nfs* file is created. When the original process closes the file, the .nfs* file is removed.


(system1) $ echo testdata > /NFS_volume/shiznit
(system1) $ tail -f /NFS_volume/shiznit

(system2) $ rm /NFS_volume/shiznit
(system2) $ ls -a .nfs*
(system2) $ cat .nfs00222d9e00000001

(system1) $ Ctrl-C
(system1) $ ls -a


Personal tools