.nfs file
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix questions > .nfs file




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    .nfs file  
Jerry


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-17-05 11:13 PM

Hi,

This morning I spotted one .nfs file (.nfs05b600005000006) on our linux
server (OS: redhat), which is 3 gb.

Is it safe to delete it? And what kind of file is it?

Could it be generated when some jobs (like gunzip) are abnormally
interrupted? (power outrage happened when we were doing gunzip last
night)

Thank you.
Jerry






[ Post a follow-up to this message ]



    Re: .nfs file  
Bill Marcum


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-17-05 11:13 PM

On 17 Nov 2005 08:38:47 -0800, Jerry
<greenmt@gmail.com> wrote:
> Hi,
>
> This morning I spotted one .nfs file (.nfs05b600005000006) on our linux
> server (OS: redhat), which is 3 gb.
>
> Is it safe to delete it? And what kind of file is it?
>
It's a temporary file created when the connection between nfs server and
client is broken.  It should go away when the connection is restored.
If not, look around and see if you are missing any 3GB files.
You can use "file" to see what kind of file it is.



--
<jgoerzen> doogie: you sound highly unstable :-)
<Knghtbrd> jgoerzen - he is.
* doogie bops Knghtbrd
<Knghtbrd> see?  Resorting to violence =D





[ Post a follow-up to this message ]



    Re: .nfs file  
Barry Margolin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-17-05 11:13 PM

In article <ek2v43-1f4.ln1@don.localnet>,
Bill Marcum <bmarcum@iglou.com> wrote:

> On 17 Nov 2005 08:38:47 -0800, Jerry
>   <greenmt@gmail.com> wrote: 
> It's a temporary file created when the connection between nfs server and
> client is broken.  It should go away when the connection is restored.
> If not, look around and see if you are missing any 3GB files.
> You can use "file" to see what kind of file it is.

No it is not.

It's created by an NFS client when a file that's still open is removed,
so that the process can continue to access the file.  It will go away
when all the processes that have the file open on that client close the
file (or exit, which will automatically close all their open files).

To demonstrate this, do the following on an NFS client (my comments are
in parentheses):

sleep 100 > temp.file &
ls -i temp.file
rm temp.file
ls -i .nfs*
(this should show a .nfs file with the same inode number that temp.file
had)
kill %1
ls -i .nfs*
(that .nfs file should be gone now)

--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 04:49 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register