Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 09-23-2002, 10:42 PM   #1
LQ Newbie
Registered: Sep 2002
Posts: 12

Rep: Reputation: 0
NFS Problem mounting 2 systems:Permission Denied by server

I have set up a NFS on 3 Hosts and i encountered some problems.When i mount only one NFS Client Server to the NFS Server,it works!!but when i try to mount 2 NFS Client Servers to the NFS Server,i encountered Permission Denied by the Server on one of my NFS Client Servers with the other one working!These are the following steps i have done:

Solaris OS,version 8(64 bit) as my Master Host(NFS Server), HostName:BIGSVR004
Two Linux 7.3 OS as my Client Hosts(NFS Client server),
HostName:BIGCPU017 and BIGCPU015

i created a directory called /export/home/sge in all the hosts and i change the permission of this directory to 777

On my master host and Client host i edit the /etc/hosts file and add the follwin info: Localhost BIGSVR004 BIGCPU015 BIGCPU017

On my master host,i edit the /etc/dfs/dfstab file and add the followin info regardin which file i would like to share and to which host:

share -F nfs -o rw=BIGCPU017 /export/home/sge
share -F nfs -o rw=BIGCPU015 /export/home/sge

after tt i start my nfs server and nfs client server,which is successful..

After which i edit the /etc/fstab in both the NFS Client Server(LINUX OS) to mount the NFS parition tt has been shared

BIGSVR004:/export/home/sge /export/home/sge nfs rw 0 0

But when i type the command to manually mount the system:mount -t nfs -o rw BIGSVR004:/export/home/sge /export/home/sge in the command prompt in Linux but it displayed:Permission Denied by Server.

What may be the problem that disable mounting of two NFS client server to the NFS Server??Anyone can help solving my problem??

Thanks in advance
Old 09-23-2002, 11:05 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
Not sure if this will make a difference but try editing out the -o rw=hostname and see if it still gives you permission denied as if you leave that out, it gives all the hosts rw access so that option really isn't needed since your giving them rw access.

Also, do you get the same results trying to use the /etc/dfs/sharetab to share ?
Old 09-23-2002, 11:37 PM   #3
LQ Newbie
Registered: Sep 2002
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks trickykid your method works!!Editing out the -o rw=hostnames solved my problems!!Thank you so much!!

Last edited by meng_en; 09-23-2002 at 11:40 PM.
Old 09-24-2002, 12:24 AM   #4
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 261Reputation: 261Reputation: 261
Maybe that's a sign I'm ready to go take my Solaris Certs now..
Just have to come up with the money again and time after I got slapped with a unexpecting bill.

Glad that worked out for ya though.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting an nfs share - Permission Denied doctorwebbox Linux - Networking 5 05-30-2005 02:45 AM
NFS :: Permission denied after mounting, root works.. Devils_Guardian Linux - Networking 1 11-17-2004 11:40 AM
nfs problem server: Permission denied anamika123 Linux - Networking 5 04-30-2004 02:56 AM
NFS mounting : Permission denied Bahador Linux - Networking 3 07-18-2003 05:33 AM
permission denied when mounting nfs directory keirobyn Linux - Networking 3 01-29-2002 01:43 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:04 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration