LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-19-2009, 12:59 AM   #1
amitk_m
LQ Newbie
 
Registered: May 2009
Posts: 7

Rep: Reputation: 0
nfs


hi
i m working as a linux administrator in a software comapny. i have a task to nfs configuration. i m using slackware linux. i configruation two nfs server and using static ip. i exported a directory such as /data in one nfs server1 and another is /tmp in nfs2 server. i want to configure such that when some directory or file will create in /data directory, the files will show the other nfs server /tmp dirctory and vice versa.

the configuration of two nfs server
one nfs server ip address is 192.168.1.1
#vi /etc/exports
/data 192.168.1.2(ro,sync)
:wq
#exportfs -av
#/etc/rc.d/rc.nfsd restart

another nfs server is 192.168.1.2
#vi /etc/exports
/tmp 192.168.1.1(ro,sync)
:wq
#exportfs -av
#/etc/rc.d/rc.nfsd restart

then i have entry in first nfs server /etc/fstab file
192.168.1.2:/tmp /data nfs defaults 0 0
:wq

then i entry in 2nd nfs server /etc/fstab file
192.168.1.1:/data /tmp nfs defaults 0 0
:wq

after that i tried mount -a in 1st nfs server
it ran well. the file of 2nd nfs server show data directory.
but when i m running mount -a in 2nd nfs server, a error message is display
i.e. mount: 192.168.1.1:/data failed, reason given by server: Permission denied.


plz help me and give me any idea how to configure these two nfs server mapping each other.
 
Old 05-19-2009, 01:20 AM   #2
mwkemo
Member
 
Registered: May 2009
Location: Croatia
Distribution: Debian
Posts: 31

Rep: Reputation: 16
Hey,

please mount folders one more time on both computers, open /var/log/syslog and c/p the lines which describe your eror, on both computers.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
nfs server on ubuntu doesn't play nice with nfs client on solaris mathiraj Linux - Networking 11 09-15-2009 03:08 PM
LXer: Run your NFS server in the user address space with NFS-GANESHA LXer Syndicated Linux News 0 11-27-2008 05:40 AM
NFS error: sometimes unable to find the files at NFS-client machines samengr Linux - Server 0 09-01-2008 12:26 PM
NFS and RH Cluster Suite; Problems relating services/resources to NFS l_long_island Linux - Server 5 08-30-2008 12:20 PM
NFS client = Linux, NFS server = Mac OS X Tiger --> Hell of a problem make Linux - Networking 9 03-10-2006 06:16 AM


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration