• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 450
  • Last Modified:

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!!

0
sandeep_th
Asked:
sandeep_th
  • 2
1 Solution
 
wnrossCommented:
Is portmap started?

-Bill
0
 
sandeep_thAuthor Commented:
Yes, it is.
0
 
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now