Solved

NFS write error on host host-server: Permission Denied

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

776 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