LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-01-2008, 12:43 AM   #1
vhs.sumanth
LQ Newbie
 
Registered: Feb 2008
Posts: 3

Rep: Reputation: 0
NFS mounting problem


Hi friends,

Have 2 RHEL4 systems i want to share files through NFS..

have added lines in /etc/exports

/rpm 192.168.0.0/255.255.255.0(rw,no_root_squash)

And also added line in /etc/nsswitch.conf

passwd: files nis
shadow: files nis
group: files nis

And also added line in /etc/hosts.allow file

portmap: 192.168.0.0/255.255.255.0
lockd: 192.168.0.0/255.255.255.0
mountd: 192.168.0.0/255.255.255.0
statd: 192.168.0.0/255.255.255.0



i have started the nfs n portmap services..(No error)

When i tried to mount the file in other system using this command

mount -t nfs 192.168.55.60:/rpm /rpm

I am getting access denied error
mount: 192.168.55.60:/rpm failed, reason given by server: Permission denied

Both the directories having full permission...

Please help me to solve this problem

Regards
sumanth
 
Old 03-01-2008, 01:46 AM   #2
ssrameez
Member
 
Registered: Oct 2006
Location: bangalore
Distribution: Fedora, Ubuntu, Debian, Redhat
Posts: 82

Rep: Reputation: 6
Hi Sumanth,

did you do exportfs from the source. Please do it if you haven't done.

please see "man exportfs" for more options.

--rameez
 
Old 03-01-2008, 05:30 AM   #3
vhs.sumanth
LQ Newbie
 
Registered: Feb 2008
Posts: 3

Original Poster
Rep: Reputation: 0
sorry problem was .....

i have given wrong subnet mask....
i should give 255.255.0.0 this...


thanks a lot
 
Old 03-02-2008, 09:46 AM   #4
Quigi
Member
 
Registered: Mar 2003
Location: Cambridge, MA, USA
Distribution: Ubuntu (Dapper and Heron)
Posts: 377

Rep: Reputation: 31
Please only post your question in one forum!
 
  


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 client on knoppix 3.9 - problem mounting nfs drive Rod Butcher Linux - Networking 1 09-21-2005 05:18 AM
nfs mounting problem Frustin AIX 5 02-04-2005 12:29 PM
problem mounting NFS goldkanal Linux - Networking 2 01-30-2005 02:07 PM
problem mounting NFS goldkanal Linux - Networking 3 01-30-2005 01:56 PM
NFS mounting problem KePSuX Linux - Networking 16 06-26-2003 11:18 PM


All times are GMT -5. The time now is 04:43 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