Operating System - HP-UX
1833782 Members
2708 Online
110063 Solutions
New Discussion

Re: "permission denied" error when trying to mount an NFS filesystem

 
Michael Campbell
Trusted Contributor

"permission denied" error when trying to mount an NFS filesystem

An NFS filesystem was umounted and then expanded on the remote server. When I try to mount it again i'm getting a "permission denied" error.
Does anyone have any ideas as to why this would be? Thanks
5 REPLIES 5
Andreas Voss
Honored Contributor

Re: "permission denied" error when trying to mount an NFS filesystem

Hi,

check /etc/exports at the NFS server and run

exportfs -a

Regards
Michael Campbell
Trusted Contributor

Re: "permission denied" error when trying to mount an NFS filesystem

filesystem is in /etc/exports
ran exportfs -a
tried to mount the filesystem again. The error is now

nfs mount: mount_nfs: mount: /pmsprod: Device busy

I ran fuser -fu on the remote server for that filesystem but it doesn't show anyone using it.
Mark van Hassel
Respected Contributor

Re: "permission denied" error when trying to mount an NFS filesystem

Hi,

Try unmount /pmsprod and then mounting it again.
Also you could try fuser as follows:
fuser nfsserver:[exported filesystem]

Good Luck
The surest sign that life exists elsewhere in the universe is that none of it has tried to contact us
Santosh Nair_1
Honored Contributor

Re: "permission denied" error when trying to mount an NFS filesystem

Also, you could try running showmount -e to show all the filesystems being exported by the server and to whom. This will tell you if you have permissions to mount the filesystem from the server.

-Santosh
Life is what's happening while you're busy making other plans
Michael Campbell
Trusted Contributor

Re: "permission denied" error when trying to mount an NFS filesystem

Thanks folks, problem solved. There was actually some root processes running on the local directory where the filesystem was to be mounted.
I killed them and tried to mount it again, et voila!