Mount problem - getfh failed

Hi
I get the following message in the logs when I try to mount a drive by nfs on another machine:

 rpc.mountd: getfh failed: Operation not permitted

The funny thing is I have other drives mounted with exactly the same configuration, and there is no problem in these other ones!!

sandeep_thAsked:
Who is Participating?
 
wnrossCommented:
Then its probably /etc/exports

I struggled with this myself for a while until I finally understood what the * really means.  Check your  wildcarding
and DNS, then stop nfs, nfslock  then start again (don't just do restarts)

We ran into problems with
/home 192.168.1.*(rw,async,insecure)
until we learned the error of our ways.

now we simply use ip networks, hosts, or full wild cards
eg:
/home *(rw,async,insecure)
/home 192.168.1.0/24(rw,async,insecure)
/home webserver1.xyzcorp.com(rw,async,insecure)

Cheers,
-Bill
0
 
wnrossCommented:
Is portmap started?

-Bill
0
 
sandeep_thAuthor Commented:
Yes, it is.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.