Operating System - HP-UX
1836426 Members
3392 Online
110100 Solutions
New Discussion

Re: Mounting Remote File System - Permission Denied

 
SOLVED
Go to solution
George Graham
New Member

Mounting Remote File System - Permission Denied

OK - I've tried everything I can think of.

I have server pds2 which has the following in /var adm/inetd.sec:

mountd allow xxx.xxx.xxx.xxx pds1 (where xxx is the IP address of pds1)

permissions on inetd.sec is rwxrwxrwx

In /etc/exports:

/u04 rw=pds1

The permissions on /etc/exports is rwxrwxrwx
The permissions on /u04 is rwxrwxrwx

I then submit exportfs -va and get message that directory has been exported.


On client, pds1:

I mkdir /u11 and change permissions to rwxrwxrwx.
I issue showmount -d pds2 and it shows:

export list for pds2:
/u04 rw=pds1

With all of that, when I issue the mount command:

mount pds2:/u04 /u11

I get Permission Denied error.

I have checked and the NFS daemons are running.

Every piece of documentation I have and have found says this should work. Any clues???
5 REPLIES 5
Helen French
Honored Contributor
Solution

Re: Mounting Remote File System - Permission Denied

One important thing to check is your name resolution. Can you resolve nfs server and client systems with hostnames? If not, correct that.

Also, try giving FQDN at exports file instead of short names:

/u04 -rw=pds1.mydomain.com
Life is a promise, fulfill it!
George Graham
New Member

Re: Mounting Remote File System - Permission Denied

The host names do resolve with each other and I have tried using the full domain name as well with no avail.
Helen French
Honored Contributor

Re: Mounting Remote File System - Permission Denied

1) Did you try '-rw' instead of 'rw' in exports file?

2) Try restarting nfs daemons in server and client systems.

3) Make sure all NFS patches are loaded.

4) Check the NFS version on both server and client are same.
Life is a promise, fulfill it!
Chris Watkins_1
Respected Contributor

Re: Mounting Remote File System - Permission Denied

(I know this may seem silly, but I've forgotten it myself.)
Just to be sure... on the server machine, do "exportfs -a".


Failing that oversight...
have you tried it by specifying the allowable host(s)?

/u04 -anon=65534,rw,access=host1:host2:etc...

exportfs -a after changes, of course.

Not without 2 backups and an Ignite image!
George Graham
New Member

Re: Mounting Remote File System - Permission Denied

THAT WAS IT!!!!

in /etc/exports I had:

/u04 rw=pds1

instead of

/u04 -rw=pds1


THANKS SHIJU!!!!!