1847851 Members
2266 Online
104021 Solutions
New Discussion

Re: nfs error

 
SOLVED
Go to solution
Anthony khan
Frequent Advisor

nfs error

Hi,

I am trying to mount HP exported filesystem on Solaris box but I get the permission denied error.

mount -F nfs -o rw HP NFS server:/ivr_shared /usr/local/shared/ec_apps

nfs mount: HP nfs server:/ivr_shared: Permission denied

any suggestion or help would be appreciated
7 REPLIES 7
Helen French
Honored Contributor
Solution

Re: nfs error

Just a thought:

Edit /etc/rc.config.d/nfsconf file and do this change:

Change: MOUNTD_VER=2 to MOUNTD_VER=3
Life is a promise, fulfill it!
Ian Dennison_1
Honored Contributor

Re: nfs error

Checking basics,...

/etc/exports - are the entries inside this file OK?

Have you tried mounting it on the HP-UX Server via NFS to confirm the NFS functionality?

I always try 'exportfs -a -i' first, to see if my options are causing problems. Don't forget to re-submit the command later without the '-i' option to re-instate the options.

Share and Enjoy! Ian
Building a dumber user
PIYUSH D. PATEL
Honored Contributor

Re: nfs error

Hi,

Check the /etc/exports file on the exporting system & check if it specifically mentions ONLY the system that has it successfully mounted.

/ivr_shared -access=sunserver

Do an exportfs -a after changing this entry.

Piyush
MANOJ SRIVASTAVA
Honored Contributor

Re: nfs error

Hi Anthony


Also can you do a rlogin to the server , ie login w/o the Solris server asking for passwd . Just add a entry in the /.rhosts with the server name and the user ie root . Then when you do a rlogin in the sunserver you should be able to login w/o the system asking for a passwd.

Just checking.


Manoj Srivastava
Kevin Wright
Honored Contributor

Re: nfs error

NFS doesn't use .rhosts. I agree with what was stated above, that perhaps in your /etc/exports file you are only allowing certian hosts to mount the filesystem. TO be sure, open it up to all hosts, and run exportfs -a. then run showmount -e to check for all exported filesystems.
Ernesto Cappello
Trusted Contributor

Re: nfs error

Hi
If you want to mount on a SERVER#1 an area of the SERVER#2, you've to follow the followings steps:

1) ON SERVER#2 in /etc/exports you must add absolute PATH of the filestem that you want export.

2) ON SERVER#1
in /etc/fstab ou must add a line as this example

SERVER#2:/shared_data/ccm/sync/test /shared_data/ccm/sync/test nfs rw,suid,bg,retry=1000 0
0 16388

3) ON SERVER#1, for example, you must create the directory with the name of the area that you want to mount, for example,
/shared_data/ccm/sync/test.

4) ON SERVER#2 you must execute this command:
exportfs -a

5) ON SERVER #1 you execute this command:
mount -a

Regards.
Ernesto
Anthony khan
Frequent Advisor

Re: nfs error

Thanxs for every one the problem was client was not added in hosts file.