Operating System - HP-UX
1833873 Members
3677 Online
110063 Solutions
New Discussion

Re: URGENT: NFS Mount Problem

 
Nicky_5
Regular Advisor

URGENT: NFS Mount Problem

Hi All,

I have an nfs server that was not touched and an nfs client. all was fine untill i rebooted the client.
After rebooting when i try to mount the servers directory on the client i get the following error

mount luna:/home/cl /tmp/mnt
mount: 1831-011 access denied for luna:/home/cl
mount: 1831-008 giving up on:
luna:/home/cl

I have confirmed that nslookup is working fine for bother server and client
Also showmount -e luna (on client) shows me the exported FS with permissions set to everyone

what am i missing here.. why is it giving me permission denied? please advice...

i tried restarting the NFS subsystem on both server and client but still no use
4 REPLIES 4
RAC_1
Honored Contributor

Re: URGENT: NFS Mount Problem

What are the perms on /tmp/mnt??
What does /etc/rmtab look like?? Does it have this entry there??

Anil
There is no substitute to HARDWORK
Nicky_5
Regular Advisor

Re: URGENT: NFS Mount Problem

hi,

/etc/rmtab of the server has a line that says
"client:/home/cl" in it. I am not sure what etc rmtab is can you tell me.
Also did u want to know the entries of /etc/rmtab of server or the client?

permissions of /tmp/mnt is 777
Sandman!
Honored Contributor

Re: URGENT: NFS Mount Problem

/etc/rmtab exists only on the server and you probably rebooted the client w/o unmounting the filesystem first. Cleanup the /etc/rmtab file on the NFS SERVER as listed below:

1. Make sure that no NFS clients are mounting
any exported filesystems
2. Kill the rpc.mountd daemon
3. Remove the /etc/rmtab file
4. Restart the rpc.mountd daemon

man rmtab

enjoy!
Nicky_5
Regular Advisor

Re: URGENT: NFS Mount Problem

Hi,
you are right, before i rebooted the machine i did not unmount the nfs mounts.
As per your reply i did the following.
On the client i ran the mount command to see all the mounts and ensured that there were not stale mounts from luna

then on the server (luna) i removed all entries of the client (i could not remove the file as there are other entries for other machine and i am not sure how it would impact those mounts)

then i stopped and restarted nfs group on server and client
then i tried the nfs mount, but i still get the same error.

The strange thing is that on the other machines that have the mounts, the existing mounts are fine, but if i try to mount any other filesystem form luna onto those machine it gives me the same permission denied error.