LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

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

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


Hi,
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:
127.0.0.1 Localhost
172.19.174.11 BIGSVR004
172.19.172.66 BIGCPU015
172.19.174.68 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, 10:05 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
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, 10:37 PM   #3
meng_en
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 10:40 PM.
 
Old 09-23-2002, 11:24 PM   #4
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
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.
 
  


Reply


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 01:45 AM
NFS :: Permission denied after mounting, root works.. Devils_Guardian Linux - Networking 1 11-17-2004 10:40 AM
nfs problem server: Permission denied anamika123 Linux - Networking 5 04-30-2004 01:56 AM
NFS mounting : Permission denied Bahador Linux - Networking 3 07-18-2003 04:33 AM
permission denied when mounting nfs directory keirobyn Linux - Networking 3 01-29-2002 12:43 AM


All times are GMT -5. The time now is 03:19 AM.

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