Operating System - HP-UX
1748160 Members
3833 Online
108758 Solutions
New Discussion юеВ

Re: many .nfsXXXX files in several directories

 
SOLVED
Go to solution
Kyu-Yong Kwon
Frequent Advisor

many .nfsXXXX files in several directories

Dear All
I have a hp-ux 11.23 v2 system.
the server is just nfs filesystem server.
Now, the server has many .nfsXXXX files in serveral directories.
What is this files?
Do i need to patch the server?

Please let me know.
10 REPLIES 10
Steven E. Protter
Exalted Contributor
Solution

Re: many .nfsXXXX files in several directories

Shalom,

You can safely delete them

I would use a find +mtime

It is always good to keep your system fully patched with the latest stable NFS patches.

This may be a client issue though.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dennis Handly
Acclaimed Contributor

Re: many .nfsXXXX files in several directories

>the server has many .nfsXXXX files in several directories.

These occur when NFS files are removed and a process still has the file open.

>SEP: I would use a find +mtime

That's: find -mtime +nnn
Kyu-Yong Kwon
Frequent Advisor

Re: many .nfsXXXX files in several directories

Thank you for your reply

But, i want to kwon what is those files.
Did files made by server processor or
client?.


Dennis Handly
Acclaimed Contributor

Re: many .nfsXXXX files in several directories

>I want to know what is those files.

Files that have been removed but were busy.

>Did files made by server or client?

Most likely by the server but it could be symmetric.
Kyu-Yong Kwon
Frequent Advisor

Re: many .nfsXXXX files in several directories

Thanks a lot.

I tried about the file occured as below:
1. A file create on the nfs client.
2. open the file with vi.
3. remove the file from nfs server.
4. the file close on the nfs client.
5. i find .nfsXXXX file
but, I don't found .nfsXXX file

is there problem my test schenario?
Dennis Handly
Acclaimed Contributor

Re: many .nfsXXXX files in several directories

>2. open the file with vi.

This opens the file, reads it and then closes it.

>is there problem my test scenario?

Yes, you must leave the file open, try using "tail -f" on the file.
V. Nyga
Honored Contributor

Re: many .nfsXXXX files in several directories

Hi,

I've had such files at my filesystem several times.
They were created at the server while running an application at a client, then trying to delete a file unsed by the application.
Normally, I believe, the .nfsxxx files should be deleted when the server (or the application at the client) doesn't need the file anymore.
Maybe this occures if you use hpux applications like 'vi' (and close vi), but it doesn't happen sometimes with foreign apps.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Kyu-Yong Kwon
Frequent Advisor

Re: many .nfsXXXX files in several directories

thank you for your reply

>Yes, you must leave the file open, try using "tail -f" on the file.

i tried again it using "tail -f" on the file.
and i removed the file on the nfs server.
but, i can't found .nfsXXXX file also.

please T,.T

V. Nyga
Honored Contributor

Re: many .nfsXXXX files in several directories

Hi again,

have you tried:

1. A file create on the nfs client.
2. open the file with vi.
3. remove the file from nfs server.
4. find .nfsXXXX file
5. the file close on the nfs client.
6. still a .nfsXXXX file?

V.
*** Say 'Thanks' with Kudos ***