LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 03-09-2005, 01:24 AM   #1
tulip4heaven
Member
 
Registered: Jan 2005
Posts: 55

Rep: Reputation: 15
nfs is a big problem


Dear Fellows

Hi,

I have 2 linux machines , i wanna to share my files using nfs but i m getting some problems

X1 : 192.168.7.132
x2 : 192.168.7.133

Assume i m logging on both machine as a root admin

On machine X1 my etc/exports files has the following settings

/home/bravo/testnfs 192.168.7.132(rw,no_root_squash)


bravo is my user name and testnfs is a folder in it


now my other machine X2

when i apply following mount command on my machine X2 it give me error

Reason give by server : permisson denied

mount 192.168.7.132:/home/bravo/nfstest /home/charlie/nfstest

charlie is my user on machine X2 and a folder nfstest is also exist in its home directory.

Is there any help.

waiting for your positive reply
Thanks
 
Old 03-09-2005, 02:31 AM   #2
gerardt
Member
 
Registered: Feb 2005
Location: South Africa
Distribution: SuSE
Posts: 60

Rep: Reputation: 15
x1 must allow x2's ip so your exports line should be

/home/bravo/testnfs 192.168.7.133(rw,no_root_squash)

in x1 /etc/exports
 
Old 03-09-2005, 02:47 AM   #3
tulip4heaven
Member
 
Registered: Jan 2005
Posts: 55

Original Poster
Rep: Reputation: 15
Dear Sir,

Hi,

Thanks for replying,

i changed my export file but it again showing me the same error.

any help

Thanks
 
Old 03-09-2005, 04:38 AM   #4
gerardt
Member
 
Registered: Feb 2005
Location: South Africa
Distribution: SuSE
Posts: 60

Rep: Reputation: 15
What Distro are you running? SuSE does a reverse lookup before it will allow mounting. So there must be a host or DNS entry. RH/FC does not
 
Old 03-09-2005, 07:20 AM   #5
PDock
Member
 
Registered: Aug 2004
Distribution: Slack10 & curr. tried numerous
Posts: 189

Rep: Reputation: 36
On X1 bravo has a user# uid and a group# gid which are probably different from the uid/gid s of Charlie on X2. The issue really isn't with nfs but your basic file permissions and where you are trying to mount the common directory.
 
Old 03-09-2005, 08:02 AM   #6
gerardt
Member
 
Registered: Feb 2005
Location: South Africa
Distribution: SuSE
Posts: 60

Rep: Reputation: 15
Very good, nfs works better under a nis or ldap authentication process where all users are located centrally

If you go and change UID's on your systems, don't forget that the file ownerships will change too so you will need to do a chown.
 
  


Reply

Tags
nfs, redhat, suse


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Big O, Big Omega, and Big Theta oulevon Programming 7 05-26-2010 07:18 AM
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 05:16 AM
nfs client on knoppix 3.9 - problem mounting nfs drive Rod Butcher Linux - Networking 1 09-21-2005 04:18 AM
Big, big Problem on vsftpd rhonneil Linux - Newbie 1 10-01-2003 02:18 PM
Installing RH 9 with RAID 5 --Big, big Problem!!! rhonneil Linux - Software 2 09-25-2003 08:13 PM


All times are GMT -5. The time now is 12:55 PM.

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