Operating System - HP-UX
1836369 Members
2053 Online
110100 Solutions
New Discussion

Re: NFS: Permission denied

 
SOLVED
Go to solution
Andrew Luis Arruza
Frequent Advisor

NFS: Permission denied

In attempting to mount an nfs system from one server to another I am getting "Permission denied."
I am doing this as root.
I do have this remote NFS file mounted on another server at this time.
There are no symbolic links.
Any/all help greatly appreciated and points will be assigned.
Thanks, Andy
It is, after all, a matter of survival!!
5 REPLIES 5
John Carr_2
Honored Contributor

Re: NFS: Permission denied

Hi

have you edited the /etc/export file on the server for the file system you wish to mount specifying who can mount it . then performed a exportfs -a ?

John
S.K. Chan
Honored Contributor

Re: NFS: Permission denied

Is the filesystem exported to allow access from the client that's getting the NFS permission denied error ?

On the server (where the FS physically located).. run

# exportfs

that'll show you how is the FS exported.
hpuxrox
Respected Contributor
Solution

Re: NFS: Permission denied

when setting up your /etc/exports file. You need to give access to the hosts that are allowed to mount the filesystems. ie.

/export/filesystem -access=host1,host2

man exports
Jeff Schussele
Honored Contributor

Re: NFS: Permission denied

Hi Andy,

Check the /etc/exports file on the exporting system & check if it specifically mentions ONLY the system that has it successfully mounted.
If it does you'll have to add this additional host.
If it looks like:

/export -access=host1

Change it to

/export -access=host1:host2

HTH,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Andrew Luis Arruza
Frequent Advisor

Re: NFS: Permission denied

The answer was to add the additional server to the /etc/exports file and then rerun
exportfs -a on the remote server.
Thanks, all
It is, after all, a matter of survival!!