Solved

NFS write error on host host-server: Permission Denied

Posted on 1998-04-06
2
3,148 Views
Last Modified: 2013-12-23
Hi...
Sparc-10 client and Sparc-20 server, both running Solaris 2.4. Periodically we see the folowing errors scrolling across openWindows on the NFS client....

Apr  6 10:09:30 nfs-client unix: NFS write error on host nfs-server: Permission denied.
Apr  6 10:09:30 nfs-client unix: (file handle: 8000f2 2 a0000 314b 53788dd4 a0000 2 71ef0eed)

There is nothing unusual happening when this occurs. And nobody complains that they do not have access. The directories where files get read from and written to, have read and write acces to the world. Now to the question.....
Is there a way, using the file handle generated by the error, to work out which file is being written, and by which  user or process.
regards
0
Comment
Question by:rickyr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 1

Accepted Solution

by:
chytrace earned 100 total points
ID: 1583233
Hello,

    if you want see which file is accessed by which process or
user try to download & install `lsof' utility.
You may find it via anonymous ftp to vic.cc.purdue.edu in:

        pub/tools/unix/lsof/

The utility provides for very customizable view of open files
and is distributed with some scripts which you can find very
useful for other purposes.

Try to run the `lsof' as:

$> lsof -N

to see all open NFS files and directories

Hope this helps

                   Radovan
0
 
LVL 3

Author Comment

by:rickyr
ID: 1583234
Hi...
I haven't tried it yet, but have installed it on test bed Sparc and we are pleased with what lsof can do. Also as this is going to be so useful in other areas aswell, I'm giving you an "A"
Thanks very much
regards
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
During and after that shift to cloud, one area that still poses a struggle for many organizations is what to do with their department file shares.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

690 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question