Operating System - HP-UX
1753616 Members
5834 Online
108797 Solutions
New Discussion юеВ

Re: NFS problem - file has 1 other link -- unchanged

 
SOLVED
Go to solution
V. Nyga
Honored Contributor

NFS problem - file has 1 other link -- unchanged

Hi all,

I've the problem that I can't change (zip) a file because of this message. I believe it's a stale nfs file ...
Can I find the 'other' link to this file?

Thanks
Volkmar
*** Say 'Thanks' with Kudos ***
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor
Solution

Re: NFS problem - file has 1 other link -- unchanged

Hi Vo,

I think you may need to use the -f option in gzip.

-f --force
Force compression or decompression even if the file has multiple
links or the corresponding file already exists, or if the
compressed data is read from or written to a terminal. If the
input data is not in a format recognized by gzip, and if the
option --stdout is also given, copy the input data without change
to the standard ouput: let zcat behave as cat. If -f is not
given, and when not running in the background, gzip prompts to
verify whether an existing file should be overwritten.

Best regards,
Robert-Jan
Muthukumar_5
Honored Contributor

Re: NFS problem - file has 1 other link -- unchanged

Hai,

If we export a file with link , NFS client will look the same link order.

SERVER: /exp_dir/test --> /var/tmp/test

CLIENT: /mnt_dir/test ---> It will try to access the client's /var/tmp/test file

We have to have the link files with in the exported directory

Regards,
Muthukumar
Easy to suggest when don't know about the problem!
Ashwani Kashyap
Honored Contributor

Re: NFS problem - file has 1 other link -- unchanged

the link can be found on the exported server .

either export the linked directrory as well or create the links locally .
V. Nyga
Honored Contributor

Re: NFS problem - file has 1 other link -- unchanged

Ok, thanks all -
I finally found the stale file with simple command: find / ".nfs*" :-)
(Sometimes it's good to sleep over a problem)

With fuser I found the process of this stale file and I killed it.
RJ's solution worked, but didn't show the stale file.

Muthukumar and Ashwani:
It was not a export problem, but nevertheless thanks

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