Solved

NFS write error on host host-server: Permission Denied

Posted on 1998-04-06
2
3,144 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

Suggested Solutions

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

726 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