Operating System - Linux
1833006 Members
3060 Online
110048 Solutions
New Discussion

Re: Permission Denied Error or Backgrounding on NFS mounts

 
Andrew Kaplan
Super Advisor

Permission Denied Error or Backgrounding on NFS mounts

Hi there --

We have a Fedora Core 2 client trying to mount several directories that are being exported from an HP-UX 11.00 server. The problem we are running into is that whenever we run the mount -a command on the client, we get either a Permission Denied message or a Backgrounding status on the NFS mounts.

Prior to this occurring, the /etc/hosts file on the server was modified to include the client hostname and ip address. The /etc/exports file was also changed to include the client in list of directories that are being exported. Finally, the exportfs -a command was run to have the changes go into effect.

What steps do we need to take to correct this situation?
A Journey In The Quest Of Knowledge
5 REPLIES 5
Ivan Ferreira
Honored Contributor

Re: Permission Denied Error or Backgrounding on NFS mounts

Ensure that the host name in the server's /etc/hosts match the hostname of the linux and the /etc/hosts file on the client.

Ensure that the host name in the client's /etc/hosts match the hostname of the server and the /etc/hosts file on the server.

Try running exportfs -au.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Andrew Kaplan
Super Advisor

Re: Permission Denied Error or Backgrounding on NFS mounts

I verified that the hosts file entry on the server as well as that on the workstation matched. I tried remounting and that did not help.
A Journey In The Quest Of Knowledge
Ivan Ferreira
Honored Contributor

Re: Permission Denied Error or Backgrounding on NFS mounts

Please post the ouput of:

On the client:

hostname
grep `hostname` /etc/hosts
grep "NFS server name" /etc/hosts

On the server

hostname
grep `hostname` /etc/hosts
grep "NFS client name" /etc/hosts
cat /etc/exports
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Andrew Kaplan
Super Advisor

Re: Permission Denied Error or Backgrounding on NFS mounts

hi there --

i ran the commands in question, and both came back with the appropriate responses on the server and the client. again i tried to run the mount -a command on the client, but without success.
A Journey In The Quest Of Knowledge
Ivan Ferreira
Honored Contributor

Re: Permission Denied Error or Backgrounding on NFS mounts

What is the output of showmount -e executed from the server itselv and from the client.

What is the entry in the fstab of the client or command you are using to mount the resource?
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?